[jbosscache-issues] [JBoss JIRA] (JBCACHE-1627) NullPointerException in MVCCLockManager.getNumberOfLocksHeld

Dennis Reed (JIRA) jira-events at lists.jboss.org
Tue Nov 6 16:15:19 EST 2012


Dennis Reed created JBCACHE-1627:
------------------------------------

             Summary: NullPointerException in MVCCLockManager.getNumberOfLocksHeld
                 Key: JBCACHE-1627
                 URL: https://issues.jboss.org/browse/JBCACHE-1627
             Project: JBoss Cache
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: JMX
    Affects Versions: 3.2.9.GA
            Reporter: Dennis Reed
            Assignee: Manik Surtani


WARN  [org.jboss.cache.jmx.ResourceDMBean] (RMI TCP Connection(2793)-10.13.174.63) Exception while reading value of attribute locks held
java.lang.reflect.InvocationTargetException
...
Caused by: java.lang.NullPointerException
    at org.jboss.cache.lock.MVCCLockManager.getNumberOfLocksHeld(MVCCLockManager.java:335)
    ... 49 more

MVCCLockManager.getNumberOfLocksHeld uses lockContainer without checking if it's null (which it is if startLockManager has not been called yet).


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosscache-issues mailing list