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 178042 - NoClassDefFoundError: Could not initialize class org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem
Summary: NoClassDefFoundError: Could not initialize class org.netbeans.modules.masterf...
Status: RESOLVED DUPLICATE of bug 166236
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-02 21:08 UTC by chanaka
Modified: 2009-12-03 06:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 163276


Attachments
stacktrace (3.70 KB, text/plain)
2009-12-02 21:08 UTC, chanaka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description chanaka 2009-12-02 21:08:48 UTC
This bug was originally marked as duplicate of bug 166236, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 6.7.1 (Build 200907230233)
VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12
OS: Windows XP, 5.1, x86

User Comments:
GUEST: Updated IDE, then errors occured

chanaka: Shut down the application when ide updates were happening



Stacktrace: 
java.lang.NoClassDefFoundError: Could not initialize class org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem
        at org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.getFileObjects(FileBasedURLMapper.java:128)
        at org.netbeans.modules.masterfs.MasterURLMapper.getFileObjects(MasterURLMapper.java:62)
        at org.openide.filesystems.URLMapper.findFileObject(URLMapper.java:213)
        at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:887)
        at org.netbeans.modules.project.ui.ProjectChooserAccessory.convertToValidDir(ProjectChooserAccessory.java:394)
        at org.netbeans.modules.project.ui.ProjectChooserAccessory.isProjectDir(ProjectChooserAccessory.java:365)
Comment 1 chanaka 2009-12-02 21:08:52 UTC
Created attachment 92020 [details]
stacktrace
Comment 2 Jesse Glick 2009-12-03 06:03:48 UTC
The original exception is:

java.lang.NullPointerException: The image parameter cannot be null
	at org.openide.util.Parameters.notNull(Parameters.java:86)
	at org.openide.util.ImageUtilities.assignToolTipToImage(ImageUtilities.java:230)
	at org.netbeans.modules.java.source.tasklist.ErrorAnnotator.<clinit>(ErrorAnnotator.java:93)

*** This bug has been marked as a duplicate of bug 166236 ***