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 48277 - [40cat] Starting IDE exception ResourceClassImpl.resolveResource
Summary: [40cat] Starting IDE exception ResourceClassImpl.resolveResource
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Pavel Flaska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-01 07:04 UTC by meliandra
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 meliandra 2004-09-01 07:04:12 UTC
[ BUILD # : 200408191357 ]
[ JDK VERSION : J2SE 1.5.0 ]

After starting the ide I get the following error message

java.lang.NullPointerException
	at org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceClassImpl.resolveResource(ResourceClassImpl.java:127)
	at org.netbeans.modules.javacore.scanning.ClassUpdater.getSuperCodes(ClassUpdater.java:168)
	at org.netbeans.modules.javacore.scanning.ClassUpdater.updateResources(ClassUpdater.java:108)
	at org.netbeans.modules.javacore.scanning.FileScanner.scanPackage(FileScanner.java:187)
	at org.netbeans.modules.javacore.scanning.FileScanner.scanPackage(FileScanner.java:172)
	at org.netbeans.modules.javacore.scanning.FileScanner.scanPackage(FileScanner.java:172)
	at org.netbeans.modules.javacore.scanning.FileScanner.scanPackage(FileScanner.java:172)
	at org.netbeans.modules.javacore.scanning.FileScanner.scanPackage(FileScanner.java:172)
	at org.netbeans.modules.javacore.scanning.FileScanner.scanPackage(FileScanner.java:172)
	at org.netbeans.modules.javacore.scanning.FileScanner.scanPackage(FileScanner.java:172)
	at org.netbeans.modules.javacore.scanning.FileScanner.scan(FileScanner.java:117)
	at org.netbeans.modules.javacore.JMManager.scanFiles(JMManager.java:909)
	at org.netbeans.modules.javacore.JMManager.resolveCPRoot(JMManager.java:820)
	at org.netbeans.modules.javacore.JMManager.resolveCodebases(JMManager.java:732)
	at org.netbeans.modules.javacore.JMManager$2.run(JMManager.java:706)
	at org.openide.util.Task.run(Task.java:136)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:686)
Comment 1 Milos Kleint 2004-09-01 07:15:19 UTC
reassigining to java module
Comment 2 Pavel Flaska 2004-10-14 14:48:53 UTC
I cannot reproduce this bug. Can you provide more information how it
can be reproduced? Thanks.
Comment 3 Pavel Flaska 2004-10-28 15:58:56 UTC
As nobody other was reported this problem and you didn't provide any
hint or additional info what you have been doing before, closing as
WORKSFORME. There were done several fixes which could fix also this
issue. If you see it again, please reopen and try to provide more
information.
Comment 4 Martin Matula 2004-10-28 16:08:41 UTC
I've added a simple check that makes sure this does not happen again.

Checking in
src/org/netbeans/modules/javacore/jmiimpl/javamodel/ResourceClassImpl.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/ResourceClassImpl.java,v
 <--  ResourceClassImpl.java
new revision: 1.7; previous revision: 1.6
done