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.
4.2 Dev Build: 200508041800 Windows XP, JDK 1.5 Start NB42 with an empty userdir Mount a CVS directory using the Versioning Manager Create a new project using files from the CVS directory Close the IDE When restarting the IDE an java.lang.ArrayIndexOutOfBoundsException is thrown and the IDE only display a "gray" window. You can however close the IDE. Happened to me with all dev builds since the new CVS system was introduced
Created attachment 23508 [details] Log file with exceptions showing problem
I can't reproduce this issue. Btw, have you installed new CVS-light before restarting IDE? Thanks.
I used a fresh installation of the dev build with no additional modules. I had this issues with all dev builds since about two weeks.
Hmm, someone (web module) wants me (VCS) to annotate a file, that does not have corresponding java.io.File. This is quite strange state... are there some more specific steps to reproduce?
The only thing I need to do, is to add a CVS directory in the Versioning Manager. If there is already a project using that directory, I get the exceptions immediately. If I first add the CVS directory, then add a project. I'll get the exceptions upon restarting. The exception is always the java.lang.IllegalArgumentException that can be seen in the log file. In any case I used a complete fresh install. I tried it with JDK 1.5 and JDK 1.4 Interesting enough, on my other PC where I use a local CVS repository (different Project), the current DEV builds work fine.
Fixed in trunk. Added check for FileObjects, that do not have a corresponding java.io.File: /cvs/vcscore/src/org/netbeans/modules/vcscore/VcsFileSystem.java,v <-- VcsFileSystem.java new revision: 1.330; previous revision: 1.329