[
https://issues.jboss.org/browse/ISPN-1850?page=com.atlassian.jira.plugin....
]
Galder Zamarreño commented on ISPN-1850:
----------------------------------------
Hmmm, I see that a null check has been added but I'm still intrigued by the reason why
the mbeanServer is null in this case. We're only unregistering the MBean if the cache
exposes JMX stats, in which case on startup it should have had the mbeanServer set to
register the mbeans.
I wonder if the webapp could be attached, alongside instructions to replicate the issue.
NPE during CacheManager stop with enabled jmx
---------------------------------------------
Key: ISPN-1850
URL:
https://issues.jboss.org/browse/ISPN-1850
Project: Infinispan
Issue Type: Bug
Components: Core API
Affects Versions: 5.1.1.FINAL
Reporter: Thomas Fromm
Assignee: Manik Surtani
Fix For: 5.1.2.CR1, 5.1.2.FINAL
Happens, when running ISPN inside webapp in Tomcat 6 during shutdown of the server.
java.lang.NullPointerException
at
org.infinispan.jmx.CacheJmxRegistration.unregisterCacheMBean(CacheJmxRegistration.java:113)
at
org.infinispan.manager.DefaultCacheManager.unregisterCacheMBean(DefaultCacheManager.java:732)
at org.infinispan.manager.DefaultCacheManager.stop(DefaultCacheManager.java:706)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira