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

Summary: NoClassDefFoundError: Could not initialize class org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem
Product: platform Reporter: chanaka
Component: Module SystemAssignee: Jesse Glick <jglick>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 163276
Attachments: stacktrace

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