java.lang.NullPointerException

jsystemtest | aroch | 6 years ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 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 jsystem.extensions.report.html.HtmlWriter.getCurrentMainFrameFileName()
  2. jsystem.extensions.report
    LevelHtmlTestReporter.startLevel
    1. jsystem.extensions.report.html.HtmlWriter.getCurrentMainFrameFileName(HtmlWriter.java:440)
    2. jsystem.extensions.report.html.LevelHtmlTestReporter.startLevel(LevelHtmlTestReporter.java:135)
    2 frames
  3. jsystem.framework.report
    DefaultReporterImpl.startLevel
    1. jsystem.framework.report.RunnerListenersManager.startLevel(RunnerListenersManager.java:1227)
    2. jsystem.framework.report.DefaultReporterImpl.startLevel(DefaultReporterImpl.java:224)
    2 frames
  4. com.cisco.asr1k
    SomeTest.somthing
    1. com.cisco.asr1k.tutorial.SomeTest.somthing(SomeTest.java:15)
    1 frame
  5. 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
  6. JUnit
    JUnit4TestAdapterForJSystem.run
    1. org.junit.internal.runners.TestMethod.invoke(TestMethod.java:66)
    2. org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:105)
    3. org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:86)
    4. org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:94)
    5. org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:84)
    6. org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:49)
    7. org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:98)
    8. org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:61)
    9. org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:54)
    10. org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:34)
    11. org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:44)
    12. org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:52)
    13. junit.framework.JSystemJUnit4ClassRunner.run(JSystemJUnit4ClassRunner.java:216)
    14. junit.framework.JUnit4TestAdapterForJSystem.run(JUnit4TestAdapterForJSystem.java:68)
    14 frames
  7. com.aqua.anttask
    JSystemTask.execute
    1. com.aqua.anttask.jsystem.JUnitTestRunner.run(JUnitTestRunner.java:456)
    2. com.aqua.anttask.jsystem.JSystemTask.executeInVM(JSystemTask.java:1388)
    3. com.aqua.anttask.jsystem.JSystemTask.execute(JSystemTask.java:957)
    4. com.aqua.anttask.jsystem.JSystemTask.executeOrQueue(JSystemTask.java:1806)
    5. com.aqua.anttask.jsystem.JSystemTask.execute(JSystemTask.java:897)
    5 frames
  8. Ant
    UnknownElement.execute
    1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    1 frame
  9. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:597)
    3 frames
  10. Ant
    Ant.execute
    1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    2. org.apache.tools.ant.Task.perform(Task.java:348)
    3. org.apache.tools.ant.Target.execute(Target.java:357)
    4. org.apache.tools.ant.Target.performTasks(Target.java:385)
    5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    6. org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    7. org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    8. org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
    8 frames
  11. Ant-Contrib Tasks
    AntCallBack.execute
    1. net.sf.antcontrib.logic.AntCallBack.execute(AntCallBack.java:54)
    1 frame
  12. Ant
    UnknownElement.execute
    1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    1 frame
  13. 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
  14. Ant
    Main.startAnt
    1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    2. org.apache.tools.ant.Task.perform(Task.java:348)
    3. org.apache.tools.ant.Target.execute(Target.java:357)
    4. org.apache.tools.ant.Target.performTasks(Target.java:385)
    5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    6. org.apache.tools.ant.Project.executeTarget(Project.java:1298)
    7. org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    8. org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    9. org.apache.tools.ant.Main.runBuild(Main.java:698)
    10. org.apache.tools.ant.Main.startAnt(Main.java:199)
    10 frames
  15. Apache Ant Launcher
    Launcher.main
    1. org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    2. org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    2 frames