]
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: