SerenityReportingRunner.run() has thrown an Embedder$RunningStoriesFailed

org.jbehave.core.embedder.Embedder$RunningStoriesFailed
at org.jbehave.core.embedder.Embedder$ThrowingRunningStoriesFailed.handleFailures
at org.jbehave.core.embedder.Embedder.handleFailures
at org.jbehave.core.embedder.Embedder.runStoriesAsPaths
at net.serenitybdd.jbehave.embedders.ExtendedEmbedder.runStoriesAsPaths
at net.serenitybdd.jbehave.runners.SerenityReportingRunner.run
4 frames hidden

Typical Exception Messages

  1. Failures in running stories: jbehave/stories/raildocsapi/ApiSample.feature: org.jbehave.core.embedder.StoryManager$StoryExecutionFailed: jbehave/stories/raildocsapi/ApiSample.feature
  2. Failures in running stories: stories/search/searchregr_skuspresent.story: java.util.concurrent.CancellationException
  3. Failures in running stories: org.jbehave.core.embedder.PerformableTree$SomethingHappened@6742a0d4: java.lang.ArrayIndexOutOfBoundsException: 0
  4. Failures in running stories: org.jbehave.core.embedder.PerformableTree$SomethingHappened@6742a0d4: java.lang.ArrayIndexOutOfBoundsException: 0
  5. Failures in running stories: org.jbehave.core.embedder.PerformableTree$SomethingHappened@448807db: java.lang.AssertionError: Response status expected:<500> but was:<200>
  6. Failures in running stories: sample/test.story: org.jbehave.core.embedder.StoryManager$StoryExecutionFailed: sample/test.story
  7. Failures in running stories: ry: org.jbehave.core.embedder.StoryManager$StoryExecutionFailed:

Origin

Embedder.runStoriesAsPaths() has thrown an Embedder$RunningStoriesFailed

org.jbehave.core.embedder.Embedder$RunningStoriesFailed
2 frames hidden
org.jbehave.core.embedder.Embedder.runStoriesAsPaths
8Web pages

Similar

Specific cases

Solution

rafael, 1 year ago

Your run might me taking more time than the timeout. Try setting timeout for a bigger value by putting "story.timeout.in.secs=desiredValue" in serenity.properties file or try using less steps in your story.

External results for this pattern (5)

  1. prathimakvia GitHub4 months ago
    Failures in running stories: ry: org.jbehave.core.embedder.StoryManager$StoryExecutionFailed:
    Show stack trace
  2. Failures in running stories: sample/test.story: org.jbehave.core.embedder.StoryManager$StoryExecutionFailed: sample/test.story
    Show stack trace
  3. swathi chowdaryvia Google Groups1 year ago
    Failures in running stories: org.jbehave.core.embedder.PerformableTree$SomethingHappened@6742a0d4: java.lang.ArrayIndexOutOfBoundsException: 0
    Show stack trace
  4. Sivavia Google Groups1 year ago
    Failures in running stories: org.jbehave.core.embedder.PerformableTree$SomethingHappened@6742a0d4: java.lang.ArrayIndexOutOfBoundsException: 0
    Show stack trace
  5. ak120684via GitHub1 year ago
    Failures in running stories: stories/search/searchregr_skuspresent.story: java.util.concurrent.CancellationException
    Show stack trace