[jboss-jira] [JBoss JIRA] Created: (JBCACHE-790) NPE on getNotifier after cache instantiation

Ben Wang (JIRA) jira-events at jboss.com
Thu Sep 28 20:38:43 EDT 2006


NPE on getNotifier after cache instantiation
--------------------------------------------

                 Key: JBCACHE-790
                 URL: http://jira.jboss.com/jira/browse/JBCACHE-790
             Project: JBoss Cache
          Issue Type: Bug
      Security Level: Public (Everyone can see)
            Reporter: Ben Wang
         Assigned To: Manik Surtani
             Fix For: 2.0.0


Consider the following scenario:

cache = DefaultCacheFactory.createInstance(config, false); // not to start cache lifecycle
cache.getNotifier(); // return null becuase it is created in create() method call.

I think we need to move the notifier creation to the constructor.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list