Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Eclipse Bugzilla by sabine.heider, 1 year ago
via Stack Overflow by mjaggard
, 2 years ago
via Eclipse Bugzilla by sabine.heider, 1 year ago
java.lang.NullPointerException: 	at org.eclipse.persistence.internal.jpa.EntityManagerImpl.getActivePersistenceContext(EntityManagerImpl.java:1548)	at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImpl.begin(EntityTransactionImpl.java:49)	at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.beginTransaction(JUnitTestCase.java:284)	at org.eclipse.persistence.testing.tests.jpa.advanced.CacheImplJUnitTest.testEvictClass_MappedSuperclass_RemovesAssignableSubclasses(CacheImplJUnitTest.java:325)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at junit.framework.TestCase.runTest(TestCase.java:168)	at junit.framework.TestCase.runBare(TestCase.java:134)	at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:457)	at junit.framework.TestResult$1.protect(TestResult.java:111)	at junit.framework.TestResult.runProtected(TestResult.java:128)	at junit.framework.TestResult.run(TestResult.java:113)	at junit.framework.TestCase.run(TestCase.java:125)	at org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:248)	at org.eclipse.persistence.testing.framework.TestExecutor.runTest(TestExecutor.java:671)	at org.eclipse.persistence.testing.framework.ui.SynchronizedTestExecutor.run(SynchronizedTestExecutor.java:61)