[ 
http://jira.codehaus.org/browse/JBEHAVE-520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=268584#action_268584
 ] 

Maciej Madej commented on JBEHAVE-520:
--------------------------------------

Yes, works for one thread, thx for fast reply :)

> NPE in StoryRunner:76 
> [currentStrategy.get().handleFailure(storyFailure.get());] - causing 
> org.jbehave.core.embedder.Embedder$RunningStoriesFailed: Failures in running 
> before or after stories steps
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBEHAVE-520
>                 URL: http://jira.codehaus.org/browse/JBEHAVE-520
>             Project: JBehave
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.4
>         Environment: Windowx XP, mvn 3.0.3 and 2.2.1, jbehave 3.4
>            Reporter: Maciej Madej
>            Priority: Critical
>             Fix For: 3.4
>
>         Attachments: jbehave-after-before-bug.zip
>
>
> I got following exception when building attached project (mvn clean install):
> -------------------------------------------------------------------------------
> Test set: pl.mmadej.jbehave.JBehaveStoriesTest
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.562 sec <<< 
> FAILURE!
> [run_with_no_replacement.story](pl.mmadej.jbehave.JBehaveStoriesTest)  Time 
> elapsed: 0.343 sec  <<< ERROR!
> org.jbehave.core.embedder.Embedder$RunningStoriesFailed: Failures in running 
> before or after stories steps
>       at 
> org.jbehave.core.embedder.Embedder.runStoriesAsPaths(Embedder.java:210)
>       at pl.mmadej.jbehave.JBehaveStoriesTest.run(JBehaveStoriesTest.java:99)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> Please investigate. This error happens with jbehave 3.4. When I'm using 3.3.2 
> everything looks ok. 
> Internally there is NPE in StoryRunner:76 --  
> currentStrategy.get().handleFailure(storyFailure.get());
> currentStrategy.get() returns null.
> Please investigate.
> Thanks in advance for your help

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

    http://xircles.codehaus.org/manage_email


Reply via email to