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 83097 - IDE NullPointerException
Summary: IDE NullPointerException
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-21 15:29 UTC by ejava
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ejava 2006-08-21 15:29:59 UTC
I recently can't run programs in netbeans 5. An messages appears "Main class 
cannot be found". 

An red circular icon on bottom right hand corner of the IDE flashes. It's an 
unexpected exception, java.lang.nullPointerExecption. 

java.lang.NullPointerException
	at org.netbeans.modules.javacore.JMManager.scanFiles
(JMManager.java:1077)
	at org.netbeans.modules.javacore.JMManager.resolveCPRoot
(JMManager.java:1006)
	at org.netbeans.modules.javacore.JMManager.resolveCodebases
(JMManager.java:815)
	at org.netbeans.modules.javacore.JMManager$2.run(JMManager.java:769)
	at org.openide.util.RequestProcessor$Task.run
(RequestProcessor.java:493)
[catch] at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:926)


I unistalled netbeans5 and re-installed. Same error exists

Any ideas on how to resolve?

Many Thanks
Comment 1 Jiri Kovalsky 2006-08-31 11:29:28 UTC
Can you Java guys please help this man ? It seems to be a problem in javacore.
Also probably attaching your <nb_userdir>/var/log/messages.log to this bug would
help. Thanks for your report.
Comment 2 Jan Becicka 2006-09-11 16:04:08 UTC
Try to shut down the ide, delete <nb_userdir>/var/cache/mdrstorage and restart
the IDE.
Comment 3 Daniel Prusa 2006-09-20 16:28:50 UTC
We need more info on this issue, at least messages.log file. The exception
itself is not helpfull, it should be accompanied by other exceptions. It has
been already reported in issue 84669, where messages.log has been provided.

However, I belive the problem can be eliminated by deleting
<nb_userdir>/var/cache/mdrstorage and restarting the IDE (as it was already
suggested above). Is this issue still reproducible after performing this?
Comment 4 Petr Hrebejk 2006-11-20 16:46:28 UTC
Moving to javacore. (No longer used) should not appear to 6.0.
Comment 5 Max Sauer 2007-08-20 09:32:29 UTC
No more info from reporter + this has been replaced for 6.0 = WONTFIX. Thanks for your report anyway.
---
Product Version: NetBeans IDE Dev (Build 070820) 
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 
System: Linux version 2.6.12-1.1390_FC4smp running on i386; 
UTF-8; en_US (nb) Userdir: /home/ms159439/.netbeans/dev
Comment 6 Quality Engineering 2007-09-20 09:48:50 UTC
Reorganization of java component