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 - NullPointerException at org.openide.util.lookup.ArrayStorage.cleanUpResult
Summary: NullPointerException at org.openide.util.lookup.ArrayStorage.cleanUpResult
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Lookup (show other bugs)
Version: 7.4
Hardware: PC Linux
: P1 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2013-09-16 08:40 UTC by Jiri Skrivanek
Modified: 2013-09-27 06:11 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace. (4.08 KB, text/plain)
2013-09-16 08:40 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
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.