java.lang.NullPointerException: null

GitHub | igor-rubis | 7 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

    null

    at org.jbehave.core.io.CodeLocations.getPathFromURL()
  2. JBehave Core
    CodeLocations.codeLocationFromClass
    1. org.jbehave.core.io.CodeLocations.getPathFromURL(CodeLocations.java:86)
    2. org.jbehave.core.io.CodeLocations.codeLocationFromClass(CodeLocations.java:26)
    2 frames
  3. net.serenitybdd.jbehave
    SerenityStories.configuration
    1. net.serenitybdd.jbehave.SerenityJBehave.defaultConfiguration(SerenityJBehave.java:59)
    2. net.serenitybdd.jbehave.SerenityStories.configuration(SerenityStories.java:77)
    2 frames
  4. JBehave Core
    ConfigurableEmbedder.configuredEmbedder
    1. org.jbehave.core.ConfigurableEmbedder.configuredEmbedder(ConfigurableEmbedder.java:118)
    1 frame
  5. net.serenitybdd.jbehave
    SerenityReportingRunner.<init>
    1. net.serenitybdd.jbehave.runners.SerenityReportingRunner.<init>(SerenityReportingRunner.java:79)
    2. net.serenitybdd.jbehave.runners.SerenityReportingRunner.<init>(SerenityReportingRunner.java:73)
    2 frames
  6. Java RT
    Constructor.newInstance
    1. sun.reflect.GeneratedConstructorAccessor29.newInstance(Unknown Source)
    2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    3. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    3 frames
  7. JUnit
    ClassRequest.getRunner
    1. org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
    2. org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
    3. org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
    4. org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
    5. org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
    6. org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
    6 frames
  8. JUnit4 Provider
    JUnit4Provider.invoke
    1. org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:262)
    2. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
    3. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
    3 frames
  9. SureFire
    ForkedBooter.main
    1. org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
    2. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
    3. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
    3 frames