This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 244360 - Random NPE in tests
Summary: Random NPE in tests
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: execution (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-07 19:03 UTC by Vladimir Kvashin
Modified: 2014-06-04 15:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2014-05-07 19:03:01 UTC
From time to time remote tests fail with NPE in log:
java.lang.NullPointerException
	at org.netbeans.modules.nativeexecution.api.execution.NativeExecutionService$PreExecution.run(NativeExecutionService.java:454)
	at org.netbeans.api.extexecution.ExecutionService$3.call(ExecutionService.java:251)
	at org.netbeans.api.extexecution.ExecutionService$3.call(ExecutionService.java:234)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Comment 1 Vladimir Kvashin 2014-05-07 19:03:45 UTC
I guess the reason is that NativeExecutionDescriptor is error prone
Comment 2 Vladimir Kvashin 2014-05-08 09:33:03 UTC
fixed in 
http://hg.netbeans.org/cnd-main/rev/bf202ba4ef15
Comment 3 Quality Engineering 2014-05-09 02:07:39 UTC
Integrated into 'main-silver', will be available in build *201405090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/bf202ba4ef15
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #244360 - Random NPE in tests
Comment 4 Quality Engineering 2014-06-04 15:25:09 UTC
Integrated into 'releases/release80', will be available in build *201406041415* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/21568ccc80df
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #244360 - Random NPE in tests
(transplanted from bf202ba4ef15e8a8d47d90d437cf37d50867f268)