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 35505 - "Automatic" cvs edit sometimes crashes when saving the file later
Summary: "Automatic" cvs edit sometimes crashes when saving the file later
Status: VERIFIED DUPLICATE of bug 38677
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: rmatous
URL:
Keywords:
: 35017 35801 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-08-20 02:56 UTC by itamar
Modified: 2008-12-22 19:38 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot with the error (24.46 KB, image/png)
2003-08-20 02:57 UTC, itamar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description itamar 2003-08-20 02:56:37 UTC
When I open a read-only file from a CVS filesystem
and try to edit it, NetBeans offer to "run the
Edit command to make the file writable", what's Ok.

But in some cases, when I try to save this file
later, it crashes with a lock issue and can't save
the file (my workaround is to select all, copy,
close with dismiss, reopen, select all, paste and
save -- it works now).

If I run the Edit before opening a file, it never
crashes.
Comment 1 itamar 2003-08-20 02:57:44 UTC
Created attachment 11372 [details]
Screenshot with the error
Comment 2 Martin Entlicher 2003-08-21 12:35:52 UTC
Well, I don't thing this is a fault of VCS modules. There is probably
kept an invalid lock in the editor support (?)
Moving to openide/text for analysis.
Comment 3 David Konecny 2003-08-21 13:41:41 UTC
This is known issue which we would like to fix.

itamar, how often that happens? Could we sent you binary patch which
you would install and try to reproduce the problem? We would add some
logging into the patch without which we are not able to resolve this
problem.

Unfortunately, Radek and me we are both out of office next week so we
will get back to you on September.
Comment 4 itamar 2003-08-21 23:44:36 UTC
The frequency is really variable, some days it happens only one or two
times, others, all the time.  I can't see a pattern in this bug's
"behavior".  Today I saw that message for 5 or 6 times until now.

I'm ready to install any patch you send me, there is no problem.

I don't know if it's related, but the filesystem where are the files
is mounted by NFS.  But I have no other problems with my NFS, it's
pretty stable.
Comment 5 rmatous 2003-08-22 15:40:34 UTC
*** Issue 35017 has been marked as a duplicate of this issue. ***
Comment 6 rmatous 2003-09-01 09:30:36 UTC
*** Issue 35801 has been marked as a duplicate of this issue. ***
Comment 7 David Konecny 2003-09-01 12:58:17 UTC
Great. Radek will prepare binary patch.
Comment 8 rmatous 2003-09-02 16:53:11 UTC
OK. I'm ready to create binary patch, but then I need to know, which
release do you use or build number for dev build.
Comment 9 itamar 2003-09-02 20:13:18 UTC
From "about": I use product version 3.5 (Build 200306022350), IDE
Versioning IDE/1 spec=3.42.1 impl=200306022350.

My JVM is 1.4.2 on Debian Linux (sid).

(offtopic: why I'm "None" and you have a name? In "Edit Profile" I
can't find where to put my name...)
Comment 10 rmatous 2004-01-27 09:52:33 UTC

*** This issue has been marked as a duplicate of 38677 ***
Comment 11 Marian Mirilovic 2004-03-19 13:17:16 UTC
verified duplicate