java.lang.NullPointerException: package name is null

GitHub | kristinaste | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 750#232390335

    GitHub | 7 months ago | kristinaste
    java.lang.NullPointerException: package name is null

    Root Cause Analysis

    1. java.lang.NullPointerException

      package name is null

      at android.content.ComponentName.<init>()
    2. Android Platform
      Intent.setClassName
      1. android.content.ComponentName.<init>(ComponentName.java:99)
      2. android.content.Intent.setClassName(Intent.java:7093)
      2 frames
    3. sh.calaba.instrumentationbackend
      InstrumentationBackend.setUp
      1. sh.calaba.instrumentationbackend.InstrumentationBackend.setUp(InstrumentationBackend.java:70)
      1 frame
    4. JUnit
      TestCase.run
      1. junit.framework.TestCase.runBare(TestCase.java:132)
      2. junit.framework.TestResult$1.protect(TestResult.java:115)
      3. junit.framework.TestResult.runProtected(TestResult.java:133)
      4. junit.framework.TestResult.run(TestResult.java:118)
      5. junit.framework.TestCase.run(TestCase.java:124)
      5 frames
    5. Android Platform
      Instrumentation$InstrumentationThread.run
      1. android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
      2. android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
      3. android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:555)
      4. android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1879)
      4 frames