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

Dennis Reed (JIRA) jira-events at lists.jboss.org
Tue Jun 2 15:38:07 EDT 2009


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

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

    Workaround Description:   (was: Call getMarshaller, registerClassLoader, or unregisterClassLoader before calling inactivateRegion.)
               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.
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.
marshaller_ is only set if registerClassLoader() or unregisterClassLoader() is called on the cache before inactivateRegion is.

                Workaround:   (was: [Workaround Exists])


> 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.
> 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