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 41688

Summary: Assertion error when clicking .. in filechooser to search for projects
Product: projects Reporter: _ tboudreau <tboudreau>
Component: Generic InfrastructureAssignee: Petr Hrebejk <phrebejk>
Status: CLOSED WORKSFORME    
Severity: blocker CC: dkonecny
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41535    
Attachments: stack trace

Description _ tboudreau 2004-04-04 15:16:21 UTC
Using my newly installed JDS system, GTK file
chooser UI (in case it's relevant, don't think it
is).  Build from last Sunday (branch ui_cleanup2,
also not relevant - but maybe you've already fixed
this).  Choose Open Project from the main menu. 
The file chooser opens on your home directory. 
Click .. in the file tree.

The attached exception comes up.
Comment 1 _ tboudreau 2004-04-04 15:16:48 UTC
Created attachment 14274 [details]
stack trace
Comment 2 David Konecny 2004-04-05 13:45:13 UTC
Petr, you need to normalize all java.io.File instances returned from
JFileChooser, that is calling FileUtil.normalizeFile() on them.
Comment 3 Petr Hrebejk 2004-06-16 14:51:15 UTC
*** Issue 44965 has been marked as a duplicate of this issue. ***
Comment 4 Petr Hrebejk 2004-06-16 14:51:26 UTC
*** Issue 44965 has been marked as a duplicate of this issue. ***
Comment 5 Petr Hrebejk 2004-07-27 15:46:32 UTC
Just tried it on the b59 and it works pretty well so either someone
fix that in our code or JDK team did. Cool :-)
Comment 6 Jesse Glick 2004-07-27 16:06:54 UTC
You tried it in GTK?
Comment 7 Petr Hrebejk 2004-07-27 16:33:38 UTC
Yes.
Comment 8 _ tboudreau 2004-07-27 17:43:28 UTC
Yes, I was looking over his shoulder.
Comment 9 Marian Mirilovic 2004-07-29 14:40:24 UTC
verified