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 182793

Summary: AssertionError: getParent should not return null for /
Product: platform Reporter: Antonin Nebuzelsky <anebuzelsky>
Component: FilesystemsAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED FIXED    
Severity: normal CC: hmichel, jglick
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 167031
Bug Depends on:    
Bug Blocks: 182801    
Attachments: stacktrace
stacktrace
stacktrace

Description Antonin Nebuzelsky 2010-03-25 15:06:51 UTC
Build: NetBeans IDE Dev (Build 100325-7d00e5b6e641)
VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07
OS: Linux

User Comments:
anebuzelsky: Did nothing special.




Stacktrace: 
java.lang.AssertionError: getParent should not return null for /
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.getParent(BaseFileObj.java:459)
   at org.netbeans.core.ui.warmup.MenuWarmUpTask$NbWindowsAdapter$1.setSource(MenuWarmUpTask.java:201)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.RefreshSlow.progress(RefreshSlow.java:61)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory.refresh(FileObjectFactory.java:496)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory.refreshAll(FileObjectFactory.java:427)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory$1.run(FileObjectFactory.java:668)
Comment 1 Antonin Nebuzelsky 2010-03-25 15:06:56 UTC
Created attachment 95823 [details]
stacktrace
Comment 2 Antonin Nebuzelsky 2010-03-25 15:12:17 UTC
I get this consistently, even after starting with an empty userdir. Always when I give focus back to NetBeans and check for external changes gets started.

-> P1

(my local core-main build with just updated sources (Build 100325-7d00e5b6e641))
Comment 3 Jesse Glick 2010-03-25 15:58:52 UTC
*** Bug 182800 has been marked as a duplicate of this bug. ***
Comment 4 Jesse Glick 2010-03-25 16:37:56 UTC
Hotfix, please review: core-main #cccfbd7191ea
Comment 5 Michel Graciano 2010-03-26 02:30:13 UTC
Created attachment 95869 [details]
stacktrace
Comment 6 Michel Graciano 2010-03-26 02:31:11 UTC
Created attachment 95870 [details]
stacktrace
Comment 7 Quality Engineering 2010-03-26 05:35:39 UTC
Integrated into 'main-golden', will be available in build *201003260201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/cccfbd7191ea
User: Jesse Glick <jglick@netbeans.org>
Log: #182793: do not attempt to refresh / as it is not supposed to be exposed (only wrapped in a RootObj).