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 74055 - Netbeans is exception thrashing
Summary: Netbeans is exception thrashing
Status: RESOLVED DUPLICATE of bug 72987
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-27 21:51 UTC by anotherray
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 anotherray 2006-03-27 21:51:53 UTC
When I run Netbeans, after it starts up it throws exception after exception. The
java process will expand to over 128 megs and then the PC will just slow down
and I have to kill Netbeans using the windows manager.

Everytime I try to see the error the exception window is refreshing so fast I
can't see the individual excpetion. After taking a screen shot I got the following 

"A java.lang.NullPointer Exception has occurred - report this issue to....[this
URL]...including a copy of your messages.log file as an attachment, the messages
log file is located in your [.....] directory. 

There is no messages.log file in the indicated directory, so I cannot include
the log file - sorry.

This happens over and over again basically I cannot run Netbeans anymore and
expect to have to reinstall it. From memory it was fine until the ui tried to do
a method lookup when I hesitiated on an access operator - something like "String
name = student." (student being an object). And now it just throws excpetions
nonstop even after restart. I tried deleting the 'nbproject' directory and
recreating the project (it is a j2ee ant scripted project), but it still just
throws errors.

Just testing it again and got a copy of the exception:

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)


hope this helps, will try reinstalling Netbeans tomorrow and see what happens...

cheers
Ray
Comment 1 ehucka 2006-04-03 14:50:46 UTC
Strange. Did you try to delete your userdir (mostly in %USER_HOME%\.netbeans)?
Or I've seen something similar with cyclic inheritance like:

public class A extends A {
Comment 2 Jiri Prox 2006-04-03 15:49:25 UTC
It's known problem. Thanks for your report anyway.
Try deleting %userdir%/var/cache, it should do.



*** This issue has been marked as a duplicate of 72987 ***