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 92722

Summary: Problems scanning classpath
Product: java Reporter: nmatthews <nmatthews>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED WONTFIX    
Severity: blocker CC: mmirilovic
Priority: P2    
Version: 5.x   
Hardware: All   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description nmatthews 2007-01-17 16:48:32 UTC
I believe that this is likely the cause of my installation of netbeans freezing
recently while scanning the classpath. That is to say, the scanning of my
classpath never completes. It remains halted at around 33%


java.lang.NullPointerException
        at org.openide.filesystems.FileUtil.toFile(FileUtil.java:381)
        at org.netbeans.modules.javacore.parser.ECRequestDescImpl.getFileName(EC
RequestDescImpl.java:168)
        at org.netbeans.modules.javacore.parser.ECRequestDescImpl.getCompileAndS
ourcePath(ECRequestDescImpl.java:135)
        at org.netbeans.modules.javacore.parser.ECRequestDescImpl.<init>(ECReque
stDescImpl.java:68)
        at org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl$ErrorLis
t.initCheck(ResourceImpl.java:1466)
        at org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl$ErrorLis
t.size(ResourceImpl.java:1479)
        at org.netbeans.modules.java.JavaEditor.refreshAnnotations(JavaEditor.ja
va:429)
        at org.netbeans.modules.java.JavaEditor.access$500(JavaEditor.java:95)
        at org.netbeans.modules.java.JavaEditor$2.run(JavaEditor.java:275)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java
:932)
Comment 1 Quality Engineering 2007-09-20 12:35:08 UTC
Reorganization of java component
Comment 2 Jan Becicka 2008-02-25 16:11:26 UTC
This issue is not valid in current builds any more. Java support was completely
redesigned in 6.0 time frame. Please use NetBeans 6.0 and later.