[jboss-jira] [JBoss JIRA] Resolved: (JBMAN-52) NPE in Utility.getInstanceClassFactory

Scott M Stark (JIRA) jira-events at lists.jboss.org
Mon Feb 16 15:28:44 EST 2009


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

Scott M Stark resolved JBMAN-52.
--------------------------------

    Resolution: Done


> NPE in Utility.getInstanceClassFactory
> --------------------------------------
>
>                 Key: JBMAN-52
>                 URL: https://jira.jboss.org/jira/browse/JBMAN-52
>             Project: JBoss Managed
>          Issue Type: Bug
>    Affects Versions: JBossMan.2.0.0.GA, JBossMan.2.0.1.CR1
>            Reporter: Scott M Stark
>            Assignee: Scott M Stark
>             Fix For:  JBossMan.2.1.0.CR2
>
>
> The org.jboss.managed.plugins.factory.Utility.getInstanceClassFactory fails with an NPE like:
> java.lang.NullPointerException
> 	at org.jboss.managed.plugins.factory.Utility.getInstanceClassFactory(Utility.java:84)
> 	at org.jboss.managed.plugins.factory.Utility.getInstanceClassFactory(Utility.java:51)
> 	at org.jboss.managed.plugins.factory.AbstractManagedObjectFactory.getInstanceClassFactory(AbstractManagedObjectFactory.java:911)
> if the clazz argument is an interface. The code needs to deal with a null value returned from Class.getSuperclass().

-- 
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-jira mailing list