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.
There is an illegal argument exception when trying to open a project. The exception occurs before opening the filechooser window. So, it is not possible to open existing projects. New projects can be created and worked on. They may even be closed and reopened as from the "Last Used Projects" as long as they appeear here.
Created attachment 16030 [details] messages log
Looks like some Windows-specific masterfs problem but I don't recognize it.
I wasn't able to reproduce. Tested on the same build, used the project path /D:/HL-O2E/JavaProjects/O2E7-Front/build/classes/o2e7front But tested on 1.5.0-beta3. I did a little commit to get information what URI has an authority component. See /cvs/openide/masterfs/src/org/netbeans/modules/masterfs/MasterURLMapper.java new revision: 1.5; previous revision: 1.4 Authority component means actually that there is host part of URI which isn't acceptable. Please use with this patch (e.g. wait for next daily build) and provide as much info as you can - describe what you were doing (all details). Is it reproducible ? Does it depend on path name (unsusual characters), or is it RANDOM ? Did you build it from command line or from IDE ?
The problem still exists in build 200406291800. Java 1.5.0 beta3 cannot be downloaded yet. I doubt it has something to do with the project path as it happens (systematically) before you can select some path / project. I attach a message log created from new .netbeans/dev2 path (first start of new NB installation).
Created attachment 16071 [details] Message log trying to open project after clean install
Primarily caused by JDK bug with Bug Id: 5049016 reported by Jan Chalupa (1.5 REGRESSION). /cvs/openide/masterfs/src/org/netbeans/modules/masterfs/MasterURLMapper.java new revision: 1.6; previous revision: 1.5 Thanks for evaluation. Now should be OK.
Problem still seems to be present with slightly different behaviour. The Open Project window opens, but there is an infinite number of illegal argument exceptions. Netbeans may only be killed. Attached messages.log from first start after install.
Created attachment 16107 [details] zipped messages.log
I mentioned in my previous comment that this issue is caused by JDK bug. AFAIK there is no final official release of 1.5 so please test on JDK 1.4 or wait for production build of JDK 1.5.
Sorry for the inconvenience. My understanding was that it has been bypassed by revision 1.6 of MasterURLMapper.java. I'll wait and retry with newer Java versions when available.
There was reported duplicate issue #46630. So, I added additional message into revision 1.104 of /cvs/openide/src/org/openide/filesystems/FileUtil.java. Please test with current 1.5 JDK and use this revision of FileUtil and then attach log file. Thanks. *** This issue has been marked as a duplicate of 46630 ***
Created attachment 16535 [details] Message log when trying to open project
Hi, I do not know if the requested version of FileUtil.java is used in Build 200407281800 used for the attachement 2004-07-28 23:27 PDT. But another information that might be helpful: I have two installations (same Windows, same Java, same Netbeans). One is on a "standalone" PC, the other one on my business PC, integrated into a Windows domain. It happens only on my business PC.
closed