java.lang.NullPointerException

Stack Overflow | Revenge | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at com.moduletry.dev4.appiumsimpletest1.ExampleUnitTest.setUp()
  2. com.moduletry.dev4
    ExampleUnitTest.setUp
    1. com.moduletry.dev4.appiumsimpletest1.ExampleUnitTest.setUp(ExampleUnitTest.java:60)
    1 frame
  3. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  4. TestNG
    RemoteTestNGStarter.main
    1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
    2. org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:510)
    3. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:211)
    4. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
    5. org.testng.TestRunner.beforeRun(TestRunner.java:647)
    6. org.testng.TestRunner.run(TestRunner.java:615)
    7. org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
    8. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
    9. org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
    10. org.testng.SuiteRunner.run(SuiteRunner.java:259)
    11. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    12. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    13. org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
    14. org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
    15. org.testng.TestNG.run(TestNG.java:1018)
    16. org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:72)
    17. org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:122)
    17 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  6. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
    1 frame