java.lang.NullPointerException

Stack Overflow | Sergio | 8 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 org.openqa.selenium.support.ui.Select.<init>()
  2. selenium-support
    Select.<init>
    1. org.openqa.selenium.support.ui.Select.<init>(Select.java:44)
    1 frame
  3. PageFactory
    Registration_Page_POF.<init>
    1. PageFactory.Registration_Page_POF.<init>(Registration_Page_POF.java:17)
    1 frame
  4. Tests
    Test_POF.Test0001
    1. Tests.Test_POF.Test0001(Test_POF.java:56)
    1 frame
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  6. TestNG
    RemoteTestNGStarter.main
    1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
    2. org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
    3. org.testng.internal.Invoker.invokeTestMethod(Invoker.java:816)
    4. org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1124)
    5. org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
    6. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
    7. org.testng.TestRunner.privateRun(TestRunner.java:774)
    8. org.testng.TestRunner.run(TestRunner.java:624)
    9. org.testng.SuiteRunner.runTest(SuiteRunner.java:359)
    10. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:354)
    11. org.testng.SuiteRunner.privateRun(SuiteRunner.java:312)
    12. org.testng.SuiteRunner.run(SuiteRunner.java:261)
    13. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    14. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    15. org.testng.TestNG.runSuitesSequentially(TestNG.java:1215)
    16. org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
    17. org.testng.TestNG.run(TestNG.java:1048)
    18. org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:74)
    19. org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:121)
    19 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  8. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
    1 frame