History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2027
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: AlSt
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

NullPointerException in GridImpl.execute()

Created: 17/Apr/14 07:28 AM   Updated: 19/Apr/14 03:03 AM
Component/s: None
Affects Version/s: 5.1.21
Fix Version/s: 5.1.22

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
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.

 All   Comments   Work Log   Change History      Sort Order:
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.