[JIRA] (JENKINS-48299) Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.

7 views
Skip to first unread message

daniel.gront@hpe.com (JIRA)

unread,
Jun 26, 2018, 1:50:03 AM6/26/18
to jenkinsc...@googlegroups.com
Daniel Gront assigned an issue to Andrei Martinesc
 
Jenkins / Bug JENKINS-48299
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
Change By: Daniel Gront
Assignee: Evan Chen Andrei Martinesc
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

daniel.gront@hpe.com (JIRA)

unread,
Jul 10, 2018, 4:48:05 AM7/10/18
to jenkinsc...@googlegroups.com

daniel.gront@hpe.com (JIRA)

unread,
Aug 24, 2018, 2:52:02 PM8/24/18
to jenkinsc...@googlegroups.com
Daniel Gront closed an issue as Incomplete
 

Upgrade to the latest version of the plugin, if the issue still occurs, please reopen the issue.

Change By: Daniel Gront
Status: Open Closed
Resolution: Incomplete

dominic.luminello@gsa.gov (JIRA)

unread,
Aug 29, 2018, 9:20:02 AM8/29/18
to jenkinsc...@googlegroups.com
Dominic Luminello reopened an issue
 

Still the exact same issue.

I have upgraded UFT to 14.03 patch 1 and I have also updated to the latest version of the plugin.

See below from Jenkins job console log:

 

Link: tds://TSD_BI.MAIN.hpalm.gsa.gov:8443/qcbin/TestLabModule-000000003649890581?EntityType=IRun&EntityID=17278
29/08/2018 07:01:31 Test complete: [2]Driver, Run ID: 17278
-------------------------------------------------------------------------------------------------------
29/08/2018 07:01:31 Running: [3]Driver
29/08/2018 07:01:31 Running test: [3]Driver, Test id: 1495, Test instance id: 3015
Test: [3]Driver, Id: 3015, Execution status: Running

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.

at HpToolsLauncher.AlmTestSetsRunner.UpdateTestStatus(TestSuiteRunResults runResults, ITestSet targetTestSet, TestExecStatus testExecStatusObj, Boolean onlyUpdateState)
at HpToolsLauncher.AlmTestSetsRunner.RunTestSet(String tsFolderName, String tsName, Double timeout, QcRunMode runMode, String runHost)
at HpToolsLauncher.AlmTestSetsRunner.Run()
at HpToolsLauncher.Launcher.RunTests(IAssetRunner runner, String resultsFile)
at HpToolsLauncher.Launcher.Run()
at HpToolsLauncher.Program.Main(String[] args)

Change By: Dominic Luminello
Resolution: Incomplete
Status: Closed Reopened
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

dominic.luminello@gsa.gov (JIRA)

unread,
Aug 29, 2018, 9:26:05 AM8/29/18
to jenkinsc...@googlegroups.com
Dominic Luminello updated an issue
Change By: Dominic Luminello
Environment: Jenkins 2. 6 138
HPE Application Automation Tools 5.
2 4
Jenkins Slave (Windows server 2012 R2, HP ALM 12.53 Patch 2, HP UFT
12 14 . 54 03 Patch 4 1 , Java 1.8. 0_152 0_181 )

dominic.luminello@gsa.gov (JIRA)

unread,
Aug 29, 2018, 9:32:02 AM8/29/18
to jenkinsc...@googlegroups.com

daniel.gront@hpe.com (JIRA)

unread,
Aug 29, 2018, 12:39:01 PM8/29/18
to jenkinsc...@googlegroups.com

daniel.gront@hpe.com (JIRA)

unread,
Sep 3, 2018, 2:00:03 AM9/3/18
to jenkinsc...@googlegroups.com

dominic.luminello@gsa.gov (JIRA)

unread,
Sep 10, 2018, 9:31:04 AM9/10/18
to jenkinsc...@googlegroups.com
Dominic Luminello updated an issue
Change By: Dominic Luminello
Below is a snippet from the console log of the job:

 

29/11/2017 12:42:05 Running: [3]Driver
29/11/2017 12:42:05 Running test: [3]Driver, Test id: 1495, Test instance id: 2779
Test: [3]Driver, Id: 2779, Execution status: Running

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at HpToolsLauncher.AlmTestSetsRunner.UpdateTestStatus(TestSuiteRunResults runResults, ITestSet targetTestSet, TestExecStatus testExecStatusObj, Boolean onlyUpdateState)
at HpToolsLauncher.AlmTestSetsRunner.RunTestSet(String tsFolderName, String tsName, Double timeout, QcRunMode runMode, String runHost)
at HpToolsLauncher.AlmTestSetsRunner.Run()
at HpToolsLauncher.Launcher.RunTests(IAssetRunner runner, String resultsFile)
at HpToolsLauncher.Launcher.Run()
at HpToolsLauncher.Program.Main(String[] args)
 

This happens when executing a Test Set of automated Test Scripts (using UFT on Jenkins Slave).  It runs through the first two test cases perfectly fine but always fails at the same spot at the beginning of Test Case 3 ([3] Driver).    ***Update - It does not always happen at the same spot/place but it does happen in close proximity***.

Note:  The automation will continue to run on the Jenkins Slave machine and it will update the results back to ALM, however, the Jenkins job/build itself becomes stuck and it never finishes until I manually abort it even though the Test Cases have long been finished.

Screenshots of the Windows Event log Errors are attached 

Also see the attached Crash details/log

 

Similar to bug: JENKINS-30328

anda-sorina.laakso@microfocus.com (JIRA)

unread,
Oct 7, 2019, 6:03:02 AM10/7/19
to jenkinsc...@googlegroups.com
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages