-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins 2.121.2 LTS
statistics-gatherer-plugin: 2.0.3
I experience the following exceptions with the statistics-gatherer-plugin: when the failure-cause plugin is installed, but does not identify a failure cause:
org.json.JSONException: JSONObject["actions"] not found. at org.json.JSONObject.get(JSONObject.java:473) at org.json.JSONObject.getJSONArray(JSONObject.java:555) at org.jenkins.plugins.statistics.gatherer.listeners.RunStatsListener.addBuildFailureCauses(RunStatsListener.java:247) at org.jenkins.plugins.statistics.gatherer.listeners.RunStatsListener.onFinalized(RunStatsListener.java:228) at hudson.model.listeners.RunListener.fireFinalized(RunListener.java:257) at hudson.model.Run.onEndBuilding(Run.java:1986) at org.jenkinsci.plugins.workflow.job.WorkflowRun.finish(WorkflowRun.java:827) at org.jenkinsci.plugins.workflow.job.WorkflowRun.access$1100(WorkflowRun.java:144) at org.jenkinsci.plugins.workflow.job.WorkflowRun$GraphL.onNewHead(WorkflowRun.java:1206) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.notifyListeners(CpsFlowExecution.java:1438) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$3.run(CpsThreadGroup.java:417) at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1.run(CpsVmExecutorService.java:35) at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:131) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
org.json.JSONException: JSONObject["foundFailureCauses"] not found. at org.json.JSONObject.get(JSONObject.java:473) at org.json.JSONObject.getJSONArray(JSONObject.java:555) at org.jenkins.plugins.statistics.gatherer.listeners.RunStatsListener.addBuildFailureCauses(RunStatsListener.java:253) at org.jenkins.plugins.statistics.gatherer.listeners.RunStatsListener.onFinalized(RunStatsListener.java:228) at hudson.model.listeners.RunListener.fireFinalized(RunListener.java:257) at hudson.model.Run.onEndBuilding(Run.java:1986) at hudson.model.Run.execute(Run.java:1867) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429)
- links to