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 74231 - NPE from SimpleProxyLookup
Summary: NPE from SimpleProxyLookup
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Lookup (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2006-03-31 09:33 UTC by Milan Kubec
Modified: 2008-12-22 20:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exc stack trace (1.09 KB, text/plain)
2006-03-31 09:34 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2006-03-31 09:33:47 UTC
NetBeans IDE Dev (Build 200603211900)
1.6.0-beta2; Java HotSpot(TM) Client VM 1.6.0-beta2-b74
Windows XP version 5.1 running on x86
en_US (nb); Cp1252

I've setup freeform project and after doing clean build of it I was waiting to
get all java nodes badged under expanded package node and I was randomly
clicking some of them because badging took lot of time during this activity I
got NullPointerException.

java.lang.NullPointerException
	at org.openide.util.lookup.SimpleProxyLookup.checkLookup(SimpleProxyLookup.java:69)
	at org.openide.util.lookup.SimpleProxyLookup.lookup(SimpleProxyLookup.java:120)
	at
org.netbeans.modules.navigator.NavigatorController.updateContext(NavigatorController.java:214)
	at
org.netbeans.modules.navigator.NavigatorController.access$600(NavigatorController.java:56)

Probably not reproducible.
Comment 1 Milan Kubec 2006-03-31 09:34:27 UTC
Created attachment 29524 [details]
exc stack trace
Comment 2 Milan Kubec 2006-03-31 14:24:18 UTC
Got this exception again, this time during debugging.
Comment 3 Jaroslav Tulach 2006-03-31 17:17:47 UTC
#74231: Checking for null, even I do not know how the null could appear here

/cvs/openide/util/src/org/openide/util/lookup/SimpleProxyLookup.java,v  <--  
SimpleProxyLookup.java
new revision: 1.6; previous revision: 1.5