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 92954 - Receiving Null pointer exception on IDE
Summary: Receiving Null pointer exception on IDE
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-22 13:44 UTC by gerryriley
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file from Netbeans 5.5 after it throws NPE (65.50 KB, text/plain)
2007-02-03 22:14 UTC, claubach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gerryriley 2007-01-22 13:45:14 UTC
Cannot expand source files in the IDE source explorer says scanning. Get 
multiple null pointer exceptions during this time
Comment 1 claubach 2007-02-03 22:13:05 UTC
I am experiencing similar behavior in Netbeans 5.5. This also seems to break the
Navigator pane and pretty much all forms of auto-completion. Attempts to JavaDoc
the project also throw a null pointer exception.
Comment 2 claubach 2007-02-03 22:14:52 UTC
Created attachment 38002 [details]
Log file from Netbeans 5.5 after it throws NPE
Comment 3 claubach 2007-02-08 07:13:19 UTC
In my case, the problem could be resolved by uninstalling Netbeans, deleting the
.netbeans folder, and then reinstalling. Deleting the .netbeans folder appears
to be important, as simply reinstalling Netbeans will not fix the problem. Upon
request, I can upload any files from my old .netbeans folder. I do not want to
upload the entire folder to the public because I have not taken the time nor
confidence to go through it and remove any private information (my impression is
that Subversion server addresses are stored in here, possibly as well as
usernames and passwords for those servers).
Comment 4 novakm 2007-07-25 15:32:47 UTC
Reassigning to java - javacore for evaluation
Comment 5 Jiri Prox 2007-07-26 09:00:20 UTC
This exceptions are caused by broken metadata. To solve it you should delete ${userdir}/var/cache/mdrstorage folder, it
will be regenerated on next ide startup. There no need to delete whole NB installation or whole userdir (you will not
lose you settings). 
Unfortunately we cannot do much about it since the whole infrastructure using metadata was completely rewritten in
upcoming version 6.0
Comment 6 Quality Engineering 2007-09-20 09:45:10 UTC
Reorganization of java component