geronimo-xbean-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <j...@apache.org>
Subject [jira] Closed: (XBEAN-153) NPE in BundleAssignableClassFinder.isSuperClassAssignable()
Date Wed, 04 Aug 2010 21:02:17 GMT

     [ https://issues.apache.org/jira/browse/XBEAN-153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jarek Gawor closed XBEAN-153.
-----------------------------

    Resolution: Fixed

Committed a fix for the NPE in revision 982402. classReader.getSuperClass() can return null
if class is java.lang.Object. 


> NPE in BundleAssignableClassFinder.isSuperClassAssignable()
> -----------------------------------------------------------
>
>                 Key: XBEAN-153
>                 URL: https://issues.apache.org/jira/browse/XBEAN-153
>             Project: XBean
>          Issue Type: Bug
>          Components: finder
>    Affects Versions: 3.7
>            Reporter: Jarek Gawor
>            Assignee: Jarek Gawor
>             Fix For: 3.8
>
>
> I just ran into the following exception:
> {code}
> Caused by: java.lang.NullPointerException
> 	at org.apache.xbean.finder.BundleAssignableClassFinder.isSuperClassAssignable(BundleAssignableClassFinder.java:227)
> 	at org.apache.xbean.finder.BundleAssignableClassFinder.isClassAcceptable(BundleAssignableClassFinder.java:114)
> 	at org.apache.xbean.osgi.bundle.util.BundleClassFinder.scanZip(BundleClassFinder.java:280)
> 	at org.apache.xbean.osgi.bundle.util.BundleClassFinder.scanBundleClassPath(BundleClassFinder.java:237)
> 	at org.apache.xbean.osgi.bundle.util.BundleClassFinder.find(BundleClassFinder.java:112)
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message