[infinispan-issues] [JBoss JIRA] Resolved: (ISPN-644) Stopping a CacheManager started with isStarted=false throws NullPointerException
Galder Zamarreño (JIRA)
jira-events at lists.jboss.org
Tue Sep 14 04:19:12 EDT 2010
[ https://jira.jboss.org/browse/ISPN-644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Galder Zamarreño resolved ISPN-644.
-----------------------------------
Resolution: Done
> Stopping a CacheManager started with isStarted=false throws NullPointerException
> --------------------------------------------------------------------------------
>
> Key: ISPN-644
> URL: https://jira.jboss.org/browse/ISPN-644
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 4.0.0.Final, 4.1.0.Final, 4.2.0.ALPHA1
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Fix For: 4.2.0.BETA1, 4.2.0.Final
>
>
> From forum:
> "It is easy to reproduce. Just call CacheManager.stop().
>
> import org.infinispan.manager.CacheManager;
> import org.infinispan.manager.DefaultCacheManager;
>
> public class TestCase {
>
> public static void main(String[] args) throws Exception {
>
> CacheManager cacheManager = new DefaultCacheManager(TestCase.class.getClassLoader()
> .getResourceAsStream("config-samples/all.xml"), false);
> cacheManager.stop();
> }
> }
>
> Also, the NPE is not there when
>
> <globalJmxStatistics enabled="false" />
>
> or if I am calling DefaultCacheManager's constructor with second argument as true.
>
> new DefaultCacheManager("path to conf file", true);
>
> Hope this helps."
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list