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.
Hi, I'm having problems using NetBeans and an external CVS program. If I change source files using Netbeans and commit these changes using WinCVS, Netbeans crashes very often if these files are still opened in the source editor. This crash only occurs if I commit files beginning with this header: /* * $Header$ * $Revision$ * $Date$ */ No exception is thrown, the only thing that happens is that the source editor becomes blank and Netbeans hangs (I have to stop Netbeans using the task manager). I'm using: Netbeans 3.5, JDK 1.4.2_01 and Windows XP regards, Maarten Coene
Please could you provide thread dump. On windows press Ctrl+Break in console where IDE was launched (use runide.exe laucher). Thanks.
Created attachment 12355 [details] thread dump
This is caused by counter-locking on two objects: CloneableEditorSupport.getLock() and Line.Set.lines. This problem still exists in the trunk it was not fixed by the complex patch done on Sep-30 and later fixes. Personally I would like to eliminate locking on Line.Set.lines but it occurs in some form at least in three classes: Line, DocumentLine, CloneableEditorSupport so we need to be careful.
Reassigning to openide/editor.
Different way to get to the same problem. How often does it happen using your workstyle? (every other commit or the likes?) *** This issue has been marked as a duplicate of 33062 ***
If I committed, I had 50% chance that this error occured. This made my NetBeans very much unusable (I had to restart it every 5 a 10 minutes, so I switched to the latest quality build today, and now this problem doesn't seem to occur anymore :-)
verified duplicate