[jbosscache-issues] [JBoss JIRA] Updated: (JBCACHE-1511) NullPointerException in invalidateRegion

Dennis Reed (JIRA) jira-events at lists.jboss.org
Wed Jun 3 12:20:57 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBCACHE-1511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Reed updated JBCACHE-1511:
---------------------------------

    Description: 
(1.4.1.SP9 stack trace)
Caused by: java.lang.NullPointerException
           at org.jboss.cache.TreeCache.inactivateRegion(TreeCache.java:2363)

inactivateRegion uses marshaller_ without checking to see whether it is null.

marshaller_ is set as a side effect during initialization, but not if the cache is in LOCAL mode.
The other places it's used (registerClassLoader, unregisterClassLoader), it is initialized first if needed.


  was:
(1.4.1.SP9 stack trace)
Caused by: java.lang.NullPointerException
           at org.jboss.cache.TreeCache.inactivateRegion(TreeCache.java:2363)

inactivateRegion uses marshaller_ without checking to see whether it is null.
The other places it's used (registerClassLoader, unregisterClassLoader), it is initialized first if needed.




> NullPointerException in invalidateRegion
> ----------------------------------------
>
>                 Key: JBCACHE-1511
>                 URL: https://jira.jboss.org/jira/browse/JBCACHE-1511
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 1.4.1.SP9
>            Reporter: Dennis Reed
>            Assignee: Dennis Reed
>
> (1.4.1.SP9 stack trace)
> Caused by: java.lang.NullPointerException
>            at org.jboss.cache.TreeCache.inactivateRegion(TreeCache.java:2363)
> inactivateRegion uses marshaller_ without checking to see whether it is null.
> marshaller_ is set as a side effect during initialization, but not if the cache is in LOCAL mode.
> The other places it's used (registerClassLoader, unregisterClassLoader), it is initialized first if needed.

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

        



More information about the jbosscache-issues mailing list