<< Back to previous view

[QB-2027] NullPointerException in GridImpl.execute()
Created: 17/Apr/14  Updated: 19/Apr/14

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: 5.1.21
Fix Version/s: 5.1.22

Type: Bug Priority: Major
Reporter: AlSt Assigned To: Unassigned
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
The following output in build log:

09:07:01,865 [master@lnz-ta-ub12-qb01:8811] INFO - Executing post-execute action...
09:07:02,038 [@EMEA-LNZ-BS001:8810] ERROR - Build is failed.
    java.lang.RuntimeException: Error executing checkout build finish job.
        at com.pmease.quickbuild.repositorysupport.CheckoutBuildFinishTask.reduce(CheckoutBuildFinishTask.java:35)
        at com.pmease.quickbuild.repositorysupport.CheckoutBuildFinishTask.reduce(CheckoutBuildFinishTask.java:24)
        at com.pmease.quickbuild.grid.GridTaskFuture.get(GridTaskFuture.java:95)
        at com.pmease.quickbuild.grid.GridTaskFuture.get(GridTaskFuture.java:100)
        at com.pmease.quickbuild.DefaultBuildEngine.run(DefaultBuildEngine.java:528)
        at com.pmease.quickbuild.DefaultBuildEngine.process(DefaultBuildEngine.java:379)
        at com.pmease.quickbuild.DefaultBuildEngine.access$000(DefaultBuildEngine.java:130)
        at com.pmease.quickbuild.DefaultBuildEngine$2.run(DefaultBuildEngine.java:1058)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:744)
    Caused by: java.lang.NullPointerException
        at com.pmease.quickbuild.grid.GridImpl.execute(GridImpl.java:86)
        ... 9 more

Seems to be pretty weird.

 Comments   
Comment by Robin Shen [ 17/Apr/14 08:40 AM ]
For some reason, the node performing checkout step goes offline after build finishes, and this causes NPE as QB wants to do some cleanup work on that node before finishing a build. The NPE is confusing and we will improve the error message to make it clear.
Generated at Thu Oct 31 23:28:15 UTC 2024 using JIRA 189.