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 136214 - NullPointerException at org.netbeans.modules.java.project.BrokenReferencesModel.getReferences
Summary: NullPointerException at org.netbeans.modules.java.project.BrokenReferencesMod...
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Zezula
URL: http://statistics.netbeans.org/except...
Keywords:
: 137409 197841 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-05-31 10:15 UTC by soluble
Modified: 2011-05-09 22:56 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 60529


Attachments
stacktrace (1.55 KB, text/plain)
2008-05-31 10:15 UTC, soluble
Details
stacktrace (1.49 KB, text/plain)
2008-06-17 09:25 UTC, yeradis
Details
stacktrace (1.49 KB, text/plain)
2008-06-17 09:41 UTC, yeradis
Details
stacktrace (1.55 KB, text/plain)
2008-06-20 21:30 UTC, giorgio42
Details
stacktrace (1.49 KB, text/plain)
2008-06-23 19:28 UTC, oj
Details
stacktrace (1.49 KB, text/plain)
2008-06-23 22:49 UTC, ulfzibis
Details
stacktrace (1.49 KB, text/plain)
2008-06-25 20:56 UTC, giorgio42
Details
stacktrace (1.49 KB, text/plain)
2008-06-27 12:47 UTC, ulfzibis
Details
stacktrace (1.55 KB, text/plain)
2008-07-02 07:23 UTC, oj
Details
stacktrace (1.55 KB, text/plain)
2008-07-10 14:01 UTC, harmanpa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description soluble 2008-05-31 10:15:36 UTC
Build: NetBeans IDE 6.1 (Build 200804211638)
VM: OpenJDK Client VM, 1.6.0-b09, OpenJDK Runtime Environment, 1.6.0-b09
OS: Linux, 2.6.24-17-generic, i386

User Comments: 
Created a new Desktop Application but it will not open in the editor.
Comment 1 soluble 2008-05-31 10:15:43 UTC
Created attachment 62205 [details]
stacktrace
Comment 2 soluble 2008-05-31 14:49:01 UTC
After this error, I could not open or create any new projects. I decided to reinstall NetBeans and wipe the .netbeans
user directory. It now works fine.
Comment 3 Jiri Prox 2008-06-02 09:12:08 UTC
Seems to be serious, if project cannot be created -> P2

Comment 4 Tomas Zezula 2008-06-02 10:30:44 UTC
Seems that passed evaluator is null, or the evaluator.getProperties() returned null - this may happen if the mapping could not be computed (e.g. due to a 
circular definition).
Comment 5 yeradis 2008-06-17 09:25:40 UTC
Created attachment 62911 [details]
stacktrace
Comment 6 yeradis 2008-06-17 09:41:34 UTC
Created attachment 62912 [details]
stacktrace
Comment 7 Tomas Zezula 2008-06-17 11:44:23 UTC
*** Issue 137409 has been marked as a duplicate of this issue. ***
Comment 8 Tomas Zezula 2008-06-17 12:46:19 UTC
Changed to better exception. 7da8fc525909
I've did evaluation and found that the evaluator cannot be null, so the evaluator.getProperties() returned null. This can happen when the project is so broken 
that the properties cannot be determined.
If you have such a broken project, please attach the ${nbuserdir}/build.properties file.
Thanks
Comment 9 giorgio42 2008-06-20 21:30:16 UTC
Created attachment 63186 [details]
stacktrace
Comment 10 oj 2008-06-23 19:28:59 UTC
Created attachment 63287 [details]
stacktrace
Comment 11 ulfzibis 2008-06-23 22:49:22 UTC
Created attachment 63302 [details]
stacktrace
Comment 12 Tomas Zezula 2008-06-24 07:53:07 UTC
Please, can someone attach the project causing the NPE?

Comment 13 giorgio42 2008-06-25 20:56:57 UTC
Created attachment 63458 [details]
stacktrace
Comment 14 ulfzibis 2008-06-27 12:47:24 UTC
Created attachment 63596 [details]
stacktrace
Comment 15 oj 2008-07-02 07:23:51 UTC
Created attachment 63795 [details]
stacktrace
Comment 16 harmanpa 2008-07-10 14:01:42 UTC
Build: NetBeans IDE Dev (Build 200806240008)
VM: Java HotSpot(TM) Client VM, 1.5.0_15-b04, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_15-b04
OS: Windows XP, 5.1, x86

User Comments: 
Trying to open a Java Class Library project which I had renamed using the "rename" menu item on the project node.
Comment 17 harmanpa 2008-07-10 14:01:57 UTC
Created attachment 64248 [details]
stacktrace
Comment 18 David Konecny 2011-05-09 22:55:26 UTC
*** Bug 197841 has been marked as a duplicate of this bug. ***