[infinispan-issues] [JBoss JIRA] Commented: (ISPN-1056) Cache.stop() method raise a exception on application termination
paolo di tommaso (JIRA)
jira-events at lists.jboss.org
Tue May 3 11:50:18 EDT 2011
[ https://issues.jboss.org/browse/ISPN-1056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12599679#comment-12599679 ]
paolo di tommaso commented on ISPN-1056:
----------------------------------------
OK, finally I got the issue stack trace on application stop.
[Thread-5] TRACE org.infinispan.marshall.jboss.ConstantObjectTable - Externalizer reader and writer maps have been cleared and constant object table was stopped
32455 [Thread-5] DEBUG org.infinispan.lifecycle.ComponentStatus - Ignoring call to stop() as current state is STOPPING
32455 [Thread-5] TRACE org.infinispan.factories.GlobalComponentRegistry - Reset volatile components. Registry now contains [org.infinispan.config.GlobalConfiguration, org.infinispan.jmx.CacheManagerJmxRegistration, java.lang.ClassLoader, org.infinispan.manager.EmbeddedCacheManager, org.infinispan.factories.GlobalComponentRegistry]
32456 [Thread-3] TRACE org.infinispan.marshall.jboss.ConstantObjectTable - Externalizer reader and writer maps have been cleared and constant object table was stopped
32456 [Thread-3] DEBUG org.infinispan.lifecycle.ComponentStatus - Ignoring call to stop() as current state is STOPPING
32457 [Thread-3] TRACE org.infinispan.factories.GlobalComponentRegistry - Reset volatile components. Registry now contains [org.infinispan.config.GlobalConfiguration, org.infinispan.jmx.CacheManagerJmxRegistration, java.lang.ClassLoader, org.infinispan.manager.EmbeddedCacheManager, org.infinispan.factories.GlobalComponentRegistry]
32456 [Thread-4] INFO play - >>> Stopping server
Exception in thread "Thread-4" org.infinispan.CacheException: Unable to invoke method private void org.infinispan.transaction.xa.TransactionTable.stop() on object
at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:174)
at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:889)
at org.infinispan.factories.AbstractComponentRegistry.internalStop(AbstractComponentRegistry.java:716)
at org.infinispan.factories.AbstractComponentRegistry.stop(AbstractComponentRegistry.java:610)
at org.infinispan.factories.ComponentRegistry.stop(ComponentRegistry.java:172)
at org.infinispan.CacheDelegate.stop(CacheDelegate.java:331)
at cache.InfinispanCacheImpl.stop(InfinispanCacheImpl.java:172)
at play.cache.Cache.stop(Cache.java:247)
at play.Play.stop(Play.java:503)
at play.Play$1.run(Play.java:410)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:171)
... 9 more
Caused by: java.lang.NullPointerException
at org.infinispan.manager.DefaultCacheManager.removeListener(DefaultCacheManager.java:567)
at org.infinispan.transaction.xa.TransactionTable.stop(TransactionTable.java:110)
... 14 more
> Cache.stop() method raise a exception on application termination
> ----------------------------------------------------------------
>
> Key: ISPN-1056
> URL: https://issues.jboss.org/browse/ISPN-1056
> Project: Infinispan
> Issue Type: Bug
> Components: Distributed Cache
> Affects Versions: 4.2.1.FINAL
> Environment: MacOSX + JDK (build 1.6.0_24-b07-334-10M3326) + PlayFramework 1.1
> Reporter: paolo di tommaso
> Assignee: Galder ZamarreƱo
> Priority: Minor
> Fix For: 4.2.2.FINAL, 5.0.0.FINAL
>
>
> Killing the server the following exception is raised:
> Exception in thread "Thread-4" org.infinispan.CacheException: Unable to invoke method private void org.infinispan.transaction.xa.TransactionTable.stop() on object
> at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:174)
> at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:889)
> at org.infinispan.factories.AbstractComponentRegistry.internalStop(AbstractComponentRegistry.java:716)
> at org.infinispan.factories.AbstractComponentRegistry.stop(AbstractComponentRegistry.java:610)
> at org.infinispan.factories.ComponentRegistry.stop(ComponentRegistry.java:172)
> at org.infinispan.CacheDelegate.stop(CacheDelegate.java:331)
> at org.infinispan.manager.DefaultCacheManager.stop(DefaultCacheManager.java:544)
> at cache.InfinispanCacheImpl.stop(InfinispanCacheImpl.java:171)
> at play.cache.Cache.stop(Cache.java:247)
> at play.Play.stop(Play.java:499)
> at play.Play$1.run(Play.java:406)
> Caused by: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:171)
> ... 10 more
> Caused by: java.lang.NullPointerException
> at org.infinispan.manager.DefaultCacheManager.removeListener(DefaultCacheManager.java:567)
> at org.infinispan.transaction.xa.TransactionTable.stop(TransactionTable.java:110)
> ... 15 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list