Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] Fix for 227630: JPA: JBoss 4.2 throws NPE on SPI temp classLoader UCL3.loadClass() during EAR predeploy()

Hi,
 	The proposed fix for bug 227630 is available for review.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=227630

 Description:

	JBoss 4.2 is throwing a NPE on loadClass using the temp classLoader UCL3 on EAR predeploy.
	This SPI implementation for persistenceUnitInfo.getNewTempClassLoader() is causing a NPE problem when using the JBoss4 UniversalClassLoader3.  EclipseLink causes its own secondary NPE when trying to use this [null] missing entity class.
	The workaround is for EclipseLink to handle the Jboss NPE, disable weaving and warn the user that static weaving is available until there is a fix for JBoss JIRA EJBTHREE-572

 Code Reviewed by:
	Tom Ware
	Gordon Yorke


 thank you
 /michael


Back to the top