Hi, There is a fix for the secondary NPE in this bug within EclipseLink M7 
under bug#227630

This is a fix for the NPE when doing a universalClassLoader3.loadClass() - the 
call to aPersistenceUnitInfo.getNewTempClassLoader() returns a [UCL3] not 
[null] in this case.

The JBoss SPI implementation for persistenceUnitInfo.getNewTempClassLoader() is 
causing a NPE problem when using the JBoss4 UniversalClassLoader3 - returning 
[null] for UCL3.loadClass(entity).
A secondary NPE occurs in EclipseLink when trying to use this [null] missing 
entity class.  The workaround is to handle the original NPE and disable weaving 
for the session.

See
https://bugs.eclipse.org/227630
https://bugs.eclipse.org/bugs/attachment.cgi?id=96619&action=diff

Thank you for raising this issue.
/michael


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145259#4145259

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145259
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to