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 59904

Summary: multiple exceptions while scanning project classpath
Product: java Reporter: Max Sauer <msauer>
Component: UnsupportedAssignee: Pavel Flaska <pflaska>
Status: VERIFIED FIXED    
Severity: blocker CC: sourcerror
Priority: P2    
Version: 5.x   
Hardware: Sun   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 60313    
Bug Blocks: 59972    
Attachments: messages.log file
screenshot
test project

Description Max Sauer 2005-06-13 15:16:24 UTC
While opening a project and scannning it's classpath, multiple exceptions
pop-up. The classpath scannning ends in a never ending loop and the IDE becomes
unusable due to constant loosing of focus coused by the pop-up exception alerts.
I already reproduced this multiple times on different projects, using fresh
userdirs.

I'll one of the projects, in case it has smtg to do with this issue (altough I
don't think so), and a screen shot for better description of how it looks like.

Steps to reproduce: 
--------------------
1)Run the IDE with fresh userdir
2)Try to open a project

System Specs:
--------------
Solaris 10 on Sparc, JDS3 desktop
JDK 1.5.0_03
NB 4.2dev 200506121800
Comment 1 Max Sauer 2005-06-13 15:24:52 UTC
Created attachment 22640 [details]
messages.log file
Comment 2 Max Sauer 2005-06-13 15:26:01 UTC
Created attachment 22641 [details]
screenshot
Comment 3 Max Sauer 2005-06-13 15:27:43 UTC
Created attachment 22642 [details]
test project
Comment 4 Max Sauer 2005-06-13 15:39:54 UTC
I've reproduced it for a few other times, this is the exception which is shown
in the pop-up window:

java.lang.NullPointerException
	at org.netbeans.modules.javacore.JMManager.scanFiles(JMManager.java:1049)
	at org.netbeans.modules.javacore.JMManager.resolveCPRoot(JMManager.java:978)
	at org.netbeans.modules.javacore.JMManager.resolveCodebases(JMManager.java:792)
	at org.netbeans.modules.javacore.JMManager$2.run(JMManager.java:746)
	at org.openide.util.Task.run(Task.java:207)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:435)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:836)
Comment 5 sourcerror 2005-06-13 22:52:16 UTC
By the way, I saw the same issue on Windows with JDK 1.5.0_03.  I uninstalled 
NB 4.1, installed, JDK 1.5.0_02, and reinstalled NB 4.1.  Problem is not there.

(I'm new at this bugzilla is there a way to link this bug to 4.1 ?)
Comment 6 Max Sauer 2005-06-15 08:49:54 UTC
It happens since build 200506121800, previous builds (200506091800 and older)
were ok. It can't be reproduced on JDK 1.4, only on JDK 1.5.0_01 - 04. We are
able to reproduce it only on Soraris systems.
Comment 7 Jan Becicka 2005-06-17 07:31:07 UTC
I cannot reproduce it on Windows XP machine.
Flaskine, can you reproduce it on your Solaris with JDK 1.5? Thanks
Comment 8 Lukas Hasik 2005-06-17 09:33:38 UTC
Guys, please note that this issue is q-build stopper
http://qa.netbeans.org/q-builds/Q-build-report-200506142000.html Please fix ASAP
and commit also to QBE200506142000 branch, don't forget that it's your
responsibility to check if the fix is good enought and safe. 
Comment 9 Max Sauer 2005-06-20 14:22:23 UTC
also reproducible with JDK 1.4, as you've seen.
Comment 10 Pavel Flaska 2005-06-21 08:09:12 UTC
It is reproducible only on one machine right now. We do not have idea where the
problem is, doesn't seem to us that problem is in mdr.
Comment 11 Pavel Flaska 2005-06-21 14:25:44 UTC
Issue 60313 was fixed and this issue is no longer relevant.
Comment 12 Max Sauer 2005-06-22 09:17:26 UTC
Issue seems to be fixed well. Thanks.
Comment 13 Jaroslav Tulach 2005-09-10 07:41:12 UTC
*** Issue 60308 has been marked as a duplicate of this issue. ***
Comment 14 Quality Engineering 2007-09-20 12:50:56 UTC
Reorganization of java component