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 37594 - Netbeans crashes when committing changed files to CVS
Summary: Netbeans crashes when committing changed files to CVS
Status: VERIFIED DUPLICATE of bug 33062
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords: THREAD
Depends on:
Blocks:
 
Reported: 2003-11-28 10:29 UTC by maartenc
Modified: 2008-12-23 00:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump (10.71 KB, text/plain)
2003-11-28 15:52 UTC, maartenc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description maartenc 2003-11-28 10:29:24 UTC
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
Comment 1 Milan Kubec 2003-11-28 15:17:03 UTC
Please could you provide thread dump. On windows press Ctrl+Break in
console where IDE was launched (use runide.exe laucher). Thanks.
Comment 2 maartenc 2003-11-28 15:52:40 UTC
Created attachment 12355 [details]
thread dump
Comment 3 Miloslav Metelka 2003-12-01 12:11:47 UTC
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.
Comment 4 Miloslav Metelka 2003-12-01 12:13:21 UTC
Reassigning to openide/editor.
Comment 5 Petr Nejedly 2003-12-01 14:35:38 UTC
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 ***
Comment 6 maartenc 2003-12-01 17:37:11 UTC
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 :-)
Comment 7 Marian Mirilovic 2004-03-16 09:38:59 UTC
verified duplicate