[JIRA] [cucumber-perf] (JENKINS-19888) NPE when running plugin

2014-04-24 Thread jegallag...@gmail.com (JIRA)














































Jim Gallagher
 commented on  JENKINS-19888


NPE when running plugin















Hi Adam

When I get a chance I'll run your cucumber.json through a test system, but one thing puzzles me: there's no reference to my plugin in that stacktrace. Looking at it, the error occurs in org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResultArchiver

What leads you to believe that the Cucumber performance plugin is responsible?

Regards

Jim



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cucumber-perf] (JENKINS-19888) NPE when running plugin

2014-04-23 Thread maosm...@gmail.com (JIRA)














































Adam Zielinski
 updated  JENKINS-19888


NPE when running plugin
















Change By:


Adam Zielinski
(23/Apr/14 5:27 PM)




Attachment:


cucumber.json



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cucumber-perf] (JENKINS-19888) NPE when running plugin

2014-04-23 Thread maosm...@gmail.com (JIRA)














































Adam Zielinski
 commented on  JENKINS-19888


NPE when running plugin















Hi!

Same Problem here.
Log says


[Cucumber Tests] Parsing results.
[Cucumber Tests] parsing cucumber.json
ERROR: Publisher org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResultArchiver aborted due to exception
java.lang.NullPointerException
	at org.jenkinsci.plugins.cucumber.jsontestsupport.GherkinCallback.before(GherkinCallback.java:220)
	at gherkin.JSONParser.before(JSONParser.java:82)
	at gherkin.JSONParser.parse(JSONParser.java:48)
	at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberJSONParser.parse(CucumberJSONParser.java:94)
	at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberJSONParser.parse(CucumberJSONParser.java:44)
	at org.jenkinsci.plugins.cucumber.jsontestsupport.DefaultTestResultParserImpl$ParseResultCallable.invoke(DefaultTestResultParserImpl.java:161)
	at org.jenkinsci.plugins.cucumber.jsontestsupport.DefaultTestResultParserImpl$ParseResultCallable.invoke(DefaultTestResultParserImpl.java:107)
	at hudson.FilePath.act(FilePath.java:920)
	at hudson.FilePath.act(FilePath.java:893)
	at org.jenkinsci.plugins.cucumber.jsontestsupport.DefaultTestResultParserImpl.parse(DefaultTestResultParserImpl.java:101)
	at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberJSONParser.parse(CucumberJSONParser.java:116)
	at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResultArchiver.perform(CucumberTestResultArchiver.java:93)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:740)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:710)
	at hudson.model.Build$BuildExecution.post2(Build.java:182)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:659)
	at hudson.model.Run.execute(Run.java:1728)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:231)



My cucumber.json attached above.
All features do have an ID though.

Does it matter, that this now failing job has been run before, without the plugin?



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cucumber-perf] (JENKINS-19888) NPE when running plugin

2013-12-24 Thread jegallag...@gmail.com (JIRA)














































Jim Gallagher
 commented on  JENKINS-19888


NPE when running plugin















Hi Teilo

I don't know your JSON file, as you never supplied it. The one from Mathias did seem to contain malformed objects.

If you'd care to supply the JSON output file and your input feature file, I'll re-open the issue and re-examine it. I did ask you to do this back in October.

Jim



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [cucumber-perf] (JENKINS-19888) NPE when running plugin

2013-12-20 Thread te...@java.net (JIRA)














































teilo
 commented on  JENKINS-19888


NPE when running plugin















What is broken in the json?

We where seeing this on our tests yet neither the cucumber test result plugin (and the cucumber plugin) had any issues parsing the json files.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [cucumber-perf] (JENKINS-19888) NPE when running plugin

2013-12-11 Thread jegallag...@gmail.com (JIRA)














































Jim Gallagher
 commented on  JENKINS-19888


NPE when running plugin















Matthias, could you supply me the feature file you used for this test? I need to relate the json output back to the feature file to see what's missing and how I can code around it.

Thanks



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [cucumber-perf] (JENKINS-19888) NPE when running plugin

2013-11-22 Thread jegallag...@gmail.com (JIRA)














































Jim Gallagher
 commented on  JENKINS-19888


NPE when running plugin















I've analysed the file you've attached - many thanks for that. 

The error is caused by step definitions in the json output that do not contain an id element, causing a null-pointer exception when trying to generate the step reports for each scenario.

That's the cause - the solution is more tricky. I need to investigate the structure of the json output and determine if an id element is mandatory - you'd think it is, but your file indicates otherwise.

This is still under investigation.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [cucumber-perf] (JENKINS-19888) NPE when running plugin

2013-11-22 Thread jegallag...@gmail.com (JIRA)














































Jim Gallagher
 started work on  JENKINS-19888


NPE when running plugin
















Change By:


Jim Gallagher
(22/Nov/13 4:49 PM)




Status:


Open
InProgress



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [cucumber-perf] (JENKINS-19888) NPE when running plugin

2013-11-15 Thread matthias.na...@gmx.net (JIRA)














































Matthias Naber
 updated  JENKINS-19888


NPE when running plugin
















I stumbled upon the same issue. See the attached cucumber.json file. HTH





Change By:


Matthias Naber
(11/Nov/13 9:50 AM)




Attachment:


cucumber.json



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.