Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] PersistenceException problem

While performing a query, I'm getting the following exception:

===============================
	Specifics: javax.persistence.PersistenceException:
java.lang.NullPointerException
	Stack trace: javax.persistence.PersistenceException:
java.lang.NullPointerException
	at
org.eclipse.persistence.internal.jpa.EntityManagerImpl.flush(EntityManagerImpl.java:382)
	at
org.eclipse.persistence.internal.jpa.EJBQueryImpl.performPreQueryFlush(EJBQueryImpl.java:936)
	at
org.eclipse.persistence.internal.jpa.EJBQueryImpl.executeReadQuery(EJBQueryImpl.java:378)
	at
org.eclipse.persistence.internal.jpa.EJBQueryImpl.getResultList(EJBQueryImpl.java:517)
	at
iccs.services.system_manager.server.ProcessDataModel.getProgramByService(ProcessDataModel.java:299)
	at
iccs.services.system_manager.server.SysMgrCentralImpl.get_Managed_Service_Ref(SysMgrCentralImpl.java:439)
	at iccs.idl.Idl_Sys_Mgr.CentralPOA._invoke(CentralPOA.java:241)
	at
org.jacorb.poa.RequestProcessor.invokeOperation(RequestProcessor.java:297)
	at org.jacorb.poa.RequestProcessor.process(RequestProcessor.java:591)
	at org.jacorb.poa.RequestProcessor.run(RequestProcessor.java:734)
Caused by: java.lang.NullPointerException
	at
org.eclipse.persistence.internal.jpa.RepeatableWriteUnitOfWork.writeChanges(RepeatableWriteUnitOfWork.java:300)
	at
org.eclipse.persistence.internal.jpa.EntityManagerImpl.flush(EntityManagerImpl.java:380)
	... 9 more
===============================

I should add that this query runs successfully quite a few times, before
throwing this exception. Any ideas on what might be causing it?

Thanks,
John


-- 
View this message in context: http://www.nabble.com/PersistenceException-problem-tp19557889p19557889.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top