Hi Ajay

Thanks for the project. I was able to reproduce the problem which is in effect 
present when using filters with the 4.0 code base.

Need to look into it to find the root cause.   

In the meantime you can use latest 3.9.x release.

Cheers, M

> On 14 Aug 2014, at 02:00, अजय सिंह <sir...@gmail.com> wrote:
> 
> 
> Hi Mauro,
> Thanks for your reply
> Please find the project attached
> 
> Thanks
> Ajay
> 
> 
>> On Wed, Aug 13, 2014 at 5:01 PM, Mauro Talevi <mauro.tal...@aquilonia.org> 
>> wrote:
>> 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
> 
> <metatags.zip>
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>    http://xircles.codehaus.org/manage_email

Reply via email to