[
https://issues.jboss.org/browse/ISPN-5211?page=com.atlassian.jira.plugin....
]
Vladimir Dzhuvinov edited comment on ISPN-5211 at 2/10/16 5:20 AM:
-------------------------------------------------------------------
I just noticed we got the same or similar NPE in our logs today with 7.2.5:\
{{
Feb 10, 2016 12:01:49 PM org.infinispan.remoting.transport.jgroups.JGroupsTransport stop
INFO: ISPN000080: Disconnecting JGroups channel ISPN
Feb 10, 2016 12:01:49 PM org.infinispan.remoting.transport.jgroups.JGroupsTransport stop
INFO: ISPN000082: Stopping the RpcDispatcher for channel ISPN
Exception in thread "pool-4-thread-1" org.infinispan.commons.CacheException:
Unable to invoke method public void
org.infinispan.container.versioning.NumericVersionGenerator.start() on object of type
NumericVersionGenerator
at
org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:171)
at
org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:869)
at
org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:638)
at
org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:627)
at
org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:530)
at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:218)
at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:853)
at
org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:599)
at
org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:554)
at
org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:424)
at
org.infinispan.manager.DefaultCacheManager.startCache(DefaultCacheManager.java:822)
at
com.nimbusds.openid.connect.provider.InfinispanConfigTest$1.run(InfinispanConfigTest.java:108)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at
org.infinispan.container.versioning.NumericVersionGenerator.start(NumericVersionGenerator.java:61)
at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168)
... 14 more
}}
was (Author: vdzhuvinov):
I just noticed we got the same or similar NPE in our logs today with 7.2.5:
{{
Feb 10, 2016 12:01:49 PM org.infinispan.remoting.transport.jgroups.JGroupsTransport stop
INFO: ISPN000080: Disconnecting JGroups channel ISPN
Feb 10, 2016 12:01:49 PM org.infinispan.remoting.transport.jgroups.JGroupsTransport stop
INFO: ISPN000082: Stopping the RpcDispatcher for channel ISPN
Exception in thread "pool-4-thread-1" org.infinispan.commons.CacheException:
Unable to invoke method public void
org.infinispan.container.versioning.NumericVersionGenerator.start() on object of type
NumericVersionGenerator
at
org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:171)
at
org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:869)
at
org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:638)
at
org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:627)
at
org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:530)
at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:218)
at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:853)
at
org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:599)
at
org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:554)
at
org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:424)
at
org.infinispan.manager.DefaultCacheManager.startCache(DefaultCacheManager.java:822)
at
com.nimbusds.openid.connect.provider.InfinispanConfigTest$1.run(InfinispanConfigTest.java:108)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at
org.infinispan.container.versioning.NumericVersionGenerator.start(NumericVersionGenerator.java:61)
at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168)
... 14 more}}
NPE on NumericVersionGenerator.start() when JGroups configuration
resource not found
------------------------------------------------------------------------------------
Key: ISPN-5211
URL:
https://issues.jboss.org/browse/ISPN-5211
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 7.1.0.Final
Reporter: Sanne Grinovero
Fix For: 8.2.0.Beta2
This is easy to reproduce: start a {{CacheManager}} which has a {{Transport}} configured
with a non-existent resource name for the JGroups configuration.
Would be great to have a better error message.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)