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 46067

Summary: AssertionError: /.. from MasterFileObject.getFileObject when trying to open a project
Product: platform Reporter: Jesse Glick <jglick>
Component: FilesystemsAssignee: rmatous <rmatous>
Status: RESOLVED FIXED    
Severity: blocker Keywords: REGRESSION
Priority: P1    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Stack trace

Description Jesse Glick 2004-07-13 03:33:49 UTC
040712, JDK 1.5.0 b57, GTK. I had the Open Project
dialog open and selected "/" from the pulldown
list of parent directories. I got an assertion
error, and it kept on being thrown every time I
closed the error dialog; had to hold down the
Escape key to get the Open Project dialog to
close. Seems to be reproducible.
Comment 1 Jesse Glick 2004-07-13 03:34:18 UTC
Created attachment 16212 [details]
Stack trace
Comment 2 Jesse Glick 2004-07-13 03:34:46 UTC
I believe this is a regression; I am sure I have selected "/" from the
chooser pull-down before in earlier builds.
Comment 3 Jesse Glick 2004-07-13 03:36:57 UTC
Not always possible to close the Open Project dialog under this
circumstance -> need to kill NB process.

Seems to happen also if I select ".." from the chooser all the way up
to the root.
Comment 4 _ ttran 2004-07-13 10:45:33 UTC
Radek is on vacation till the end of this week.  Should I find someone
to do a hot fix asap?
Comment 5 Lukas Hasik 2004-07-13 12:44:10 UTC
it's probably duplicate of issue 45485 that was partially fixed by Radek.
Comment 6 rmatous 2004-07-19 18:04:33 UTC
There is even more obvious that there are many exceptions related to
this assert (platform specific and conditional) - so deleted.

/cvs/openide/masterfs/src/org/netbeans/modules/masterfs/MasterFileObject.java,v
 <--  MasterFileObject.java
new revision: 1.28; previous revision: 1.27