[ http://issues.apache.org/jira/browse/XBEAN-39?page=all ]
Stefan Kleineikenscheidt updated XBEAN-39:
------------------------------------------
Attachment: XBEAN-39.patch
Patch attached.
Solution: After everyting else has failed, XBean tries to look up a system
property 'xbean.dir'. The system property points to a directory, where XBean
can load the property files for the custome mapping files and a additional
xbean.properties file, which contains a property 'spring.version'.
> NPE in XBeanHelper.createBeanDefinitionReader with some Classloaders
> --------------------------------------------------------------------
>
> Key: XBEAN-39
> URL: http://issues.apache.org/jira/browse/XBEAN-39
> Project: XBean
> Issue Type: Bug
> Affects Versions: 2.0, 2.1, 2.2, 2.3, 2.4, 2.5
> Reporter: Stefan Kleineikenscheidt
> Attachments: XBEAN-39.patch
>
>
> XBean fails on systems with some classloaders, which do not return sensible
> values from the following methods
> pkg.getImplementationVersion(); or
> cl.getResourceAsStream(name);
> This leads to
> a) a NPE thrown by SpringVersion.getVersion,
> b) the property files with custom mappings are not found.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira