Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: checkmarx-plugin
-
Labels:None
-
Environment:checkmarx-plugin 8.1.0-1
jenkins 2.8
-
Similar Issues:
Description
Appears when listing the build history and trying to create the trend graph.
I consistently get NPEs in the logs from the CxScanResult.java class, whenever the "owner" variable is referenced. Please ensure the owner object is NOT null in the code:
public final AbstractBuild<?, ?> owner;
Example:
Caused by: java.lang.NullPointerException
at com.checkmarx.jenkins.CxScanResult.getPreviousResult(CxScanResult.java:225)
at com.checkmarx.jenkins.CxProjectResult.buildDataSet(CxProjectResult.java:176)
at com.checkmarx.jenkins.CxProjectResult.doGraph(CxProjectResult.java:131)
Another side affect is all of the buids are listed as failed with timestamp Dec 31, 1969, even though the scan was successful in the console log.