java.lang.NullPointerException

Stack Overflow | Uziii | 6 months ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Cannot instantiate class packageName.pageName

    Stack Overflow | 4 months ago | Arvind
    java.lang.NullPointerException
  3. 0

    [Cucumber] [Selenium-Java] : Error : cucumber.runtime.CucumberException: Failed to instantiate class

    Google Groups | 4 months ago | nagarjuna y
    cucumber.runtime.CucumberException: Failed to instantiate class com.pack1.StepDefinitionXMLValidations

  1. batwalrus76 3 times, last 1 week ago
  2. musketyr 2 times, last 3 months ago
  3. Nikolay Rybak 6 times, last 3 months ago
  4. Stefan Braune 1 times, last 5 months ago
  5. adawolfs 39 times, last 4 months ago
10 more registered users
46 unregistered visitors
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 com.google.common.base.Preconditions.checkNotNull()
  2. Guava
    Preconditions.checkNotNull
    1. com.google.common.base.Preconditions.checkNotNull(Preconditions.java:212)
    1 frame
  3. selenium-support
    WebDriverWait.<init>
    1. org.openqa.selenium.support.ui.FluentWait.<init>(FluentWait.java:102)
    2. org.openqa.selenium.support.ui.WebDriverWait.<init>(WebDriverWait.java:71)
    3. org.openqa.selenium.support.ui.WebDriverWait.<init>(WebDriverWait.java:45)
    3 frames
  4. BrowserConfig
    crossBrowserConfiguration.<init>
    1. BrowserConfig.crossBrowserConfiguration.<init>(crossBrowserConfiguration.java:15)
    1 frame
  5. TestCases
    initiateBrows.<init>
    1. TestCases.initiateBrows.<init>(initiateBrows.java:8)
    1 frame
  6. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    4 frames
  7. JUnit
    ParentRunner.run
    1. org.junit.runners.BlockJUnit4ClassRunner.createTest(BlockJUnit4ClassRunner.java:217)
    2. org.junit.runners.BlockJUnit4ClassRunner$1.runReflectiveCall(BlockJUnit4ClassRunner.java:266)
    3. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    4. org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:263)
    5. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    7. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    8. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    9. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    10. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    11. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    12. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    12 frames
  8. JUnit4 Runner
    JUnit4TestReference.run
    1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
    1 frame
  9. JUnit3 Runner
    RemoteTestRunner.main
    1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
    3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
    4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
    5 frames
  10. BrowserConfig
    crossBrowserConfiguration.<init>
    1. BrowserConfig.crossBrowserConfiguration.<init>(crossBrowserConfiguration.java:15)
    1 frame