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 - Problems scanning classpath
Summary: Problems scanning classpath
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All Linux
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-17 16:48 UTC by nmatthews
Modified: 2008-02-25 16:11 UTC (History)
1 user (show)

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 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.