[jboss-jira] [JBoss JIRA] (WFLY-7062) Infinispan query NPE on caches created by EmbeddedCacheManager

Pavol Loffay (JIRA) issues at jboss.org
Tue Sep 6 10:11:00 EDT 2016


Pavol Loffay created WFLY-7062:
----------------------------------

             Summary: Infinispan query NPE on caches created by EmbeddedCacheManager
                 Key: WFLY-7062
                 URL: https://issues.jboss.org/browse/WFLY-7062
             Project: WildFly
          Issue Type: Bug
    Affects Versions: 10.1.0.Final
         Environment: Fedora 24
openjdk version "1.8.0_102"
OpenJDK Runtime Environment (build 1.8.0_102-b14)
OpenJDK 64-Bit Server VM (build 25.102-b14, mixed mode)
            Reporter: Pavol Loffay
            Assignee: Jason Greene
            Priority: Blocker


Null pointer exception in DelegatingQuery.java:42 when using infinispan-query in cache managed by EmbeddedCacheManager injected from Wildfly 10.1.0.Final.

Query executed on cache created from DefaultCacheManager defaultCacheManager = new DefaultCacheManager(); works fine.
https://github.com/pavolloffay/infinispan-wildfly10/blob/master/src/main/java/sk/loffay/cache/StringCacheDefault.java
When cache is created from EmbeddedCacheManager injected from Wildfly 10.1.0.Final it throws following exception:
https://github.com/pavolloffay/infinispan-wildfly10/blob/master/src/main/java/sk/loffay/cache/StringCacheContainer.java
Note that similar NPE exception is thrown for Wildfly 10.0.0.Final (infinispan 8.2.0.Final).
Application source code: https://github.com/pavolloffay/infinispan-wildfly10
Error for infinispan 8.2.0.Final in Wildfly 10.0.0.Final:





--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list