wttech/bobcat

IllegalStateException: A scoping block is already in progress

open4c opened this issue · 2 comments

Environment

Bobcat version:1.4

Bobcat modules used:

  • bb-aem-classic
  • bb-aem-common
  • bb-aem-touch-ui
  • bb-annotations
  • bb-core
  • bb-cumber
  • bb-email
  • bb-junit
  • bb-reports
  • bb-traffic

Browser + version: N/A

Expected Behavior

We are using cucumber-jvm-parallel-plugin for parallel execution support. When running tests in parallel all test should work fine.

Actual Behavior

When we are running test in parallel either feature or scenario we are randomly getting

java.lang.IllegalStateException: A scoping block is already in progress

Once test failed with this exception, all remaining test start failing with the same error.

Steps to reproduce

We didn't seen any specific pattern for this issue. It happens when running in parallel on random basis.

Hi,
Versions 1.x of Bobcat are no longer supported (and they contain old versions of Cucumber with many issues resolved in newest releases) and we recommend to switch to the newest 2.1.0 version.
This version also changed our approach to Cucumber which is described here:
https://cognifide.github.io/bobcat/docs/cucumber/

This is an issue related to Cucumber: cucumber/cucumber-jvm#1485
We are removing bb-cumber module from future versions, to enable smoother integration with Cucumber. For more info, please check: https://cognifide.github.io/bobcat/docs/cucumber/