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 132359 - NullPointerException while scanning
Summary: NullPointerException while scanning
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: Other Windows XP
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-08 19:28 UTC by satishbhonagiri
Modified: 2008-04-08 20:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Issue While scanning files in a project (48.15 KB, text/plain)
2008-04-08 19:33 UTC, satishbhonagiri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description satishbhonagiri 2008-04-08 19:28:30 UTC
I am getting following problem while scanning files(.java files) in the project.

java.lang.NullPointerException
	at org.netbeans.modules.javacore.JMManager.scanFiles(JMManager.java:1168)
	at org.netbeans.modules.javacore.JMManager.resolveCPRoot(JMManager.java:1097)
	at org.netbeans.modules.javacore.JMManager.resolveCodebases(JMManager.java:871)
	at org.netbeans.modules.javacore.JMManager$2.run(JMManager.java:821)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)

I have re-installed netbeans ,eventhough I am facing the same problem.
How to resolve this issue.?
Comment 1 satishbhonagiri 2008-04-08 19:33:39 UTC
Created attachment 59857 [details]
Issue While scanning files in a project
Comment 2 _ tball 2008-04-08 19:48:19 UTC
As the stack trace shows, the issue is with org.netbeans.modules.javacore.JMManager, not the classfile reading library.
Comment 3 Jiri Prox 2008-04-08 20:49:23 UTC
This exception is probably caused by the broken metadata repository. Delete ${userdir}\var\cache\mdrstorage directory (
your userdir is located according to the log in C:\Documents and Settings\SatishB\.netbeans\5.5). The repository will be
regenerated on next IDE startup. 

Unfortunately we cannot do anything about this issue since the java infrastructure was completely replace by the new
model in version 6.0.