java.lang.NullPointerException

Eclipse Bugzilla | michael.f.obrien | 7 years ago
  1. 0

    NullPointerException with JPA, Eclipselink and Guice

    Stack Overflow | 3 years ago | mjaggard
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    NullPointerException when starting an EntityTransaction from a closed EntityManager

    Eclipse Bugzilla | 7 years ago | sabine.heider
    java.lang.NullPointerException
  4. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.eclipse.persistence.internal.jpa.EntityManagerImpl.getActivePersistenceContext()
    2. EclipseLink (non-OSGi)
      EntityTransactionImpl.begin
      1. org.eclipse.persistence.internal.jpa.EntityManagerImpl.getActivePersistenceContext(EntityManagerImpl.java:1548)
      2. org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImpl.begin(EntityTransactionImpl.java:49)
      2 frames
    3. org.eclipse.persistence
      CacheImplJUnitTest.testEvictClass_MappedSuperclass_RemovesAssignableSubclasses
      1. org.eclipse.persistence.testing.framework.junit.JUnitTestCase.beginTransaction(JUnitTestCase.java:284)
      2. org.eclipse.persistence.testing.tests.jpa.advanced.CacheImplJUnitTest.testEvictClass_MappedSuperclass_RemovesAssignableSubclasses(CacheImplJUnitTest.java:325)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. JUnit
      TestCase.runBare
      1. junit.framework.TestCase.runTest(TestCase.java:168)
      2. junit.framework.TestCase.runBare(TestCase.java:134)
      2 frames
    6. org.eclipse.persistence
      JUnitTestCase.runBare
      1. org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:457)
      1 frame
    7. JUnit
      TestCase.run
      1. junit.framework.TestResult$1.protect(TestResult.java:111)
      2. junit.framework.TestResult.runProtected(TestResult.java:128)
      3. junit.framework.TestResult.run(TestResult.java:113)
      4. junit.framework.TestCase.run(TestCase.java:125)
      4 frames
    8. org.eclipse.persistence
      SynchronizedTestExecutor.run
      1. org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:248)
      2. org.eclipse.persistence.testing.framework.TestExecutor.runTest(TestExecutor.java:671)
      3. org.eclipse.persistence.testing.framework.ui.SynchronizedTestExecutor.run(SynchronizedTestExecutor.java:61)
      3 frames