java.lang.NullPointerException: No BaseStepListener has been registered

GitHub | himukin | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 500#251871287

    GitHub | 7 months ago | tunovic
    java.lang.NullPointerException: No BaseStepListener has been registered
  2. 0

    'No BaseStepListener has been registered' while using Serenity-rest-assured

    GitHub | 9 months ago | himukin
    java.lang.NullPointerException: No BaseStepListener has been registered ```
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 13#158505522

    GitHub | 1 year ago | rameshsaketi
    java.lang.RuntimeException: java.lang.NullPointerException: No BaseStepListener has been registered
  5. 0

    No BaseStepListener has been registered when error happens in Before/AfterStories

    GitHub | 2 years ago | mathieudruart
    java.lang.RuntimeException: java.lang.NullPointerException: No BaseStepListener has been registered

  1. Indri Yunita 3 times, last 1 week ago
  2. jstrayer 1 times, last 1 week ago
  3. Andreas Häber 1 times, last 3 weeks ago
  4. xiaokangwang 1 times, last 2 months ago
  5. stigkj 2 times, last 3 months ago
16 more registered users
48 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 BaseStepListener has been registered

    at com.google.common.base.Preconditions.checkNotNull()
  2. Guava
    Preconditions.checkNotNull
    1. com.google.common.base.Preconditions.checkNotNull(Preconditions.java:226)
    1 frame
  3. thucydides-core
    StepEventBus.getBaseStepListener
    1. net.thucydides.core.steps.StepEventBus.getBaseStepListener(StepEventBus.java:96)
    1 frame
  4. net.serenitybdd.rest
    RequestSpecificationDecorated.post
    1. net.serenitybdd.rest.utils.RestReportingHelper.registerCall(RestReportingHelper.java:77)
    2. net.serenitybdd.rest.decorators.request.RequestSpecificationDecorated.execute(RequestSpecificationDecorated.java:257)
    3. net.serenitybdd.rest.decorators.request.RequestSpecificationDecorated.post(RequestSpecificationDecorated.java:72)
    4. net.serenitybdd.rest.decorators.request.RequestSpecificationDecorated.post(RequestSpecificationDecorated.java:62)
    5. net.serenitybdd.rest.decorators.request.RequestSpecificationDecorated.post(RequestSpecificationDecorated.java:25)
    5 frames