ARA Jenkins action package can not get the build number

Document ID : KB000110902
Last Modified Date : 13/08/2018
Show Technical Document Details
Issue:
Our customer use Jenkins for build application package such as .jar file or .exe file and .dll file. I found java.lang.NullPointerException error on Report when I execute build workflow. 
 
Program 'UC4 Job Messenger' version '12.1.2+build.1027' terminated normally 
jenkins-tool: jenkins-tool 
jenkins-tool: (c) Automic Software GmbH 
jenkins-tool: Version: 1.1.5 
jenkins-tool: Date: 2018-04-06 10:14 

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 
SLF4J: Defaulting to no-operation (NOP) logger implementation 
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 
Executing TriggerBuild started 
Started at 2018-08-02 09:17:58 
================================================= 


jenkins-tool: PARAM: token = 
jenkins-tool: PARAM: proxyHost = 
jenkins-tool: PARAM: param = TAG_NO=7.8.0.2 
jenkins-tool: PARAM: pass = --10565F3115C957F0FB7077A744ACADD463 
jenkins-tool: PARAM: proxyUser = 
jenkins-tool: PARAM: proxyPass = --10 
jenkins-tool: PARAM: proxyPort = 
jenkins-tool: PARAM: loglevel = 
jenkins-tool: PARAM: user = ARAJKSVC 
jenkins-tool: PARAM: wait = true 
jenkins-tool: PARAM: delay = 0 
jenkins-tool: PARAM: url = http://hoarabuid01.tisconetdev.com:8080/job/SIT-F09 
Build Number: 20 


================================================= 
Exception NullPointerException occured 
Message: null 
Detailed Information: 

jenkins-tool: ERROR: null 
java.lang.NullPointerException 
at org.codehaus.jackson.map.deser.impl.BeanPropertyMap.find(BeanPropertyMap.java:80) 
at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:694) 
at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580) 
at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2732) 
at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1863) 
at com.automic.actions.feature.jenkins.TriggerBuild.logOutputWhenWait(TriggerBuild.java:440) 
at com.automic.actions.feature.jenkins.TriggerBuild.executeBuild(TriggerBuild.java:229) 
at com.automic.actions.feature.jenkins.TriggerBuild.run(TriggerBuild.java:159) 
at com.automic.actions.feature.JenkinsToolCmd.main(JenkinsToolCmd.java:116) 


================================================= 
Executing jenkins TriggerBuild finished 
Ended at 2018-08-02 09:18:51 
Elapsed Time: 0 min, 52 sec 
Return code: 999 
Environment:
Jenkins version: 2.107.3 
Automic version: 12.1.2 
Jenkin package 1.1.5
 
Cause:
Action Package Jenkin 1.1.5 was used the incorrect logging library 
Resolution:
the issue was found and fix in Action Jenkin Package 1.1.6, the Action can be found and download from

https://marketplace.automic.com/details/jenkins-action-pack