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 61822 - IDE hangs on restart when using CVS based project
Summary: IDE hangs on restart when using CVS based project
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker with 1 vote (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-05 07:22 UTC by tkellerer
Modified: 2005-09-05 15:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file with exceptions showing problem (71.21 KB, text/plain)
2005-08-05 07:22 UTC, tkellerer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tkellerer 2005-08-05 07:22:11 UTC
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
Comment 1 tkellerer 2005-08-05 07:22:54 UTC
Created attachment 23508 [details]
Log file with exceptions showing problem
Comment 2 Peter Pis 2005-08-05 08:39:41 UTC
I can't reproduce this issue. Btw, have you installed new CVS-light before
restarting IDE? Thanks.
Comment 3 tkellerer 2005-08-05 09:35:25 UTC
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.
Comment 4 Martin Entlicher 2005-08-05 10:06:33 UTC
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?
Comment 5 tkellerer 2005-08-05 10:31:48 UTC
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. 
Comment 6 Martin Entlicher 2005-09-05 15:50:35 UTC
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