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 66929 - NPE from NbPlatform.isDefault
Summary: NPE from NbPlatform.isDefault
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: SIMPLEFIX
: 67375 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-17 09:03 UTC by Jiri Skrivanek
Modified: 2005-10-24 09:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace (1.84 KB, text/plain)
2005-10-17 09:04 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2005-10-17 09:03:25 UTC
Code completion of NetBeans projects is unusable because anytime
NullPointerException is thrown. To reproduce:

- open a NetBeans project
- open a java file from the project
- call code completion on any statement and exception is thrown.

Build 20051016-2108, JDK1.5.0_05, WindowsXP.
Comment 1 Jiri Skrivanek 2005-10-17 09:04:34 UTC
Created attachment 26017 [details]
Stack trace
Comment 2 Jesse Glick 2005-10-17 23:16:53 UTC
I cannot reproduce in this manner, but I did have it happen to me in a different
context (unreproducibly). Anyway, there is a trivial fix.
Comment 3 Jesse Glick 2005-10-17 23:17:15 UTC
More useful summary.
Comment 4 Jesse Glick 2005-10-18 19:10:10 UTC
committed   * Up-To-Date  1.21       
apisupport/project/src/org/netbeans/modules/apisupport/project/universe/NbPlatform.java
committed   * Up-To-Date  1.11       
apisupport/project/test/unit/src/org/netbeans/modules/apisupport/project/universe/NbPlatformTest.java
Comment 5 Jiri Skrivanek 2005-10-19 08:19:58 UTC
Verified in build 20051019-0306.
Comment 6 pzajac 2005-10-24 07:24:00 UTC
*** Issue 67373 has been marked as a duplicate of this issue. ***
Comment 7 pzajac 2005-10-24 09:32:13 UTC
*** Issue 67375 has been marked as a duplicate of this issue. ***