[jboss-remoting-issues] [JBoss JIRA] Created: (JBREM-1184) Fix NPE in ClassByteClassLoader.addClass()

Ron Sigal (JIRA) jira-events at lists.jboss.org
Mon Feb 8 18:50:19 EST 2010


Fix NPE in ClassByteClassLoader.addClass()
------------------------------------------

                 Key: JBREM-1184
                 URL: https://jira.jboss.org/jira/browse/JBREM-1184
             Project: JBoss Remoting
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 2.5.2.SP2 (Flounder), 2.2.3.SP1
            Reporter: Ron Sigal
            Assignee: Ron Sigal
             Fix For: 2.2.3.SP2, 2.5.2.SP3 (Flounder)


When org.jboss.remoting.marshal.MarshallerLoaderHandler gets a request for a class, it returns an instance of org.jboss.remoting.loading.ClassBytes.  If MarshallerLoaderHandler isn't able to find the desired class, then the returned ClassBytes object has null value for the class byte array.  However, org.jboss.remoting.loading.ClassByteClassLoader doesn't check for the possibility of a null byte array.

-- 
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 jboss-remoting-issues mailing list