The error does not seem related to meta filters. But you'll need to provide a way for us to reproduce the issue because it's not possible to help you otherwise.

Can you share your Maven project reproducing the behaviour?

On 13/08/2014 01:56, ??? ???? wrote:


Hi I have three scenario and i would like to run scenarios in different env based on the tags.

I have tagged my 3 scenario as

@env SIT [to run in SIT]          //.....scenario1
@env QA [to run in QA]          //.....scenario2
@env SITQA [to run in both]    //.....scenario3

and in my meta filter i use
<metaFilters> <metaFilter>*-env QA*</metaFilter>      </metaFilters>

With these i get following exceptions [logs attached]
/(BeforeStories)/
/
/
/[INFO] Running story org/test/sample/stories/my.story/
/
/
/(org/test/sample/stories/my.story)/
/Scenario: this scenario should run in SIT/
/Given I am a SIT step/
/
/
/Scenario: this scenario should run in QA/
/[WARNING] Failed to run story org/test/sample/stories/my.story/
/org.jbehave.core.failures.UUIDExceptionWrapper: java.lang.NullPointerException/ /at org.jbehave.core.embedder.PerformableTree.perform(PerformableTree.java:366)/ /at org.jbehave.core.embedder.StoryManager$EnqueuedStory.call(StoryManager.java:238)/ /at org.jbehave.core.embedder.StoryManager$EnqueuedStory.call(StoryManager.java:217)/
/at java.util.concurrent.FutureTask.run(FutureTask.java:262)/
/at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)/ /at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)/
/at java.lang.Thread.run(Thread.java:745)/



Can anyone explain me whats wrong or how can i achieve this including excluding scenario based on tags ?

Thanks
Ajay



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

     http://xircles.codehaus.org/manage_email

Reply via email to