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 236010

Summary: NullPointerException at org.openide.util.lookup.ArrayStorage.cleanUpResult
Product: platform Reporter: Jiri Skrivanek <jskrivanek>
Component: LookupAssignee: Jaroslav Tulach <jtulach>
Status: VERIFIED FIXED    
Severity: normal CC: anebuzelsky, mmirilovic
Priority: P1 Keywords: TEST
Version: 7.4   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Stack trace.

Description Jiri Skrivanek 2013-09-16 08:40:39 UTC
Created attachment 140113 [details]
Stack trace.

Please, evaluate whether this exception needs to be fixed in 7.4. Maybe besides preventing this NPE it should be done in assert section. It happens in automated tests.

java.lang.NullPointerException
	at org.openide.util.lookup.ArrayStorage.cleanUpResult(ArrayStorage.java:305)



Product Version         = NetBeans IDE 7.4 RC1 (Build 201309112301) (#0d090ec95a9b)
  Operating System        = Linux version 3.2.0-34-generic running on amd64
  Java; VM; Vendor        = 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b55; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.7.0_40-b40
  Java Home               = /space/hudson/jdks/jdk7/jre

http://hudson4qe.cz.oracle.com/view/Trunk-QE/job/CV-multi-UI-7.4/9/jdk=JDK%207,label=ubuntu/testReport/org.netbeans.test.ide/IDECommitValidationTest/testNewProject/?
Comment 1 Marian Mirilovic 2013-09-18 06:36:10 UTC
Jarda, 
this is Commit Validation test suite, please evaluate ASAP. Thanks in advance.
Comment 2 Jaroslav Tulach 2013-09-23 15:58:51 UTC
NullPointerException on a final field which cannot be null may be a sign the test does not reflect real world situations. I've added null check: ergonomics#5c6fe8c4fed2
Comment 3 Marian Mirilovic 2013-09-24 16:46:10 UTC
Ok, we decided to not put this into 7.4 .... removing HR FIX keyword
Comment 4 Jaroslav Tulach 2013-09-24 17:46:08 UTC
Good. My releases Hg repository is broken and the connectivity here is not perfect for doing yet another clone.