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.
|Summary:||AssertionError when opening a project|
|Product:||projects||Reporter:||Milan Kubec <mkubec>|
|Component:||Ant||Assignee:||Jesse Glick <jglick>|
|Issue Type:||DEFECT||Exception Reporter:|
|Bug Depends on:|
|Attachments:||exc stack trace|
Description Milan Kubec 2004-08-17 16:00:18 UTC
[beta 1 candidate 200408170540, JDK 1.5.0 b63] I opened the project attached to issue #46992 and got AssertionError.
Comment 2 Jesse Glick 2004-08-17 17:27:31 UTC
Looks like the D: drive did not exist on your machine at all? Can handle that. Windows-specific.
Comment 3 Milan Kubec 2004-08-18 08:29:36 UTC
D: drive exists and it's CDROM drive.
Comment 4 Jesse Glick 2004-08-18 22:26:39 UTC
Well that was just a guess. Radek: I have some file like D:\whatever\something\else and I repeatedly try to get a FileObject from it (FileUtil.toFileObject) until I get one, each time setting file = file.getParentFile(). In this case it never gets a file object; just continues up until parentFile == null, after D:\ I presume. Any idea why this would happen if the D: drive does exist? Anyway I will just skip over such files; hopefully it is harmless.
Comment 5 Jesse Glick 2004-08-18 22:50:58 UTC
committed Up-To-Date 1.2 ant/project/src/org/netbeans/modules/project/ant/FileChangeSupport.java
Comment 6 Milan Kubec 2004-08-26 14:43:11 UTC
Verified in custom 20040826.