[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-572) PersistenceUnitInfo.getNewTempClassLoader()
Michael O'Brien (JIRA)
jira-events at lists.jboss.org
Fri Apr 18 15:44:51 EDT 2008
[ http://jira.jboss.com/jira/browse/EJBTHREE-572?page=comments#action_12409658 ]
Michael O'Brien commented on EJBTHREE-572:
------------------------------------------
Hi, There is a fix for the secondary NPE in this bug within EclipseLink M7 under bug#227630
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
> PersistenceUnitInfo.getNewTempClassLoader()
> -------------------------------------------
>
> Key: EJBTHREE-572
> URL: http://jira.jboss.com/jira/browse/EJBTHREE-572
> Project: EJB 3.0
> Issue Type: Bug
> Reporter: Emmanuel Bernard
> Assigned To: Ales Justin
>
> The sooner the better.
> Hibernate can't enhance the classes to make property (not association) lazy loading.
> Toplink just can't start.
> http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939615#3939615
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list