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 32833 - deadlock when executing xtests using ide executor
Summary: deadlock when executing xtests using ide executor
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P1 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-11 16:36 UTC by Chris Webster
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
VM stacktrace (29.81 KB, text/plain)
2003-04-11 16:37 UTC, Chris Webster
Details
Patch for module part (7.91 KB, application/octet-stream)
2003-04-14 13:12 UTC, Martin Roskanin
Details
Patch for libsrc part (41.09 KB, application/octet-stream)
2003-04-14 13:13 UTC, Martin Roskanin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Webster 2003-04-11 16:36:25 UTC
See attached stacktrace.
Comment 1 Chris Webster 2003-04-11 16:37:09 UTC
Created attachment 9888 [details]
VM stacktrace
Comment 2 Martin Roskanin 2003-04-14 10:18:11 UTC
fixed in [maintrunk]

DIFF:
http://editor.netbeans.org/source/browse/editor/libsrc/org/netbeans/editor/BaseKit.java.diff?r1=1.86&r2=1.87
The bug could happen in release35 branch also, that's why I am
changing the version. I propose to fix this in release35 also.

Mila, could you please review the diff of the fix? Thanks.
Comment 3 Martin Roskanin 2003-04-14 12:51:05 UTC
Removing not neccessary lock on BaseKit.class
DIFF:
http://editor.netbeans.org/source/browse/editor/src/org/netbeans/modules/editor/options/AllOptionsFolder.java.diff?r1=1.27&r2=1.28
Comment 4 Miloslav Metelka 2003-04-14 13:02:18 UTC
I approve the fix.
Comment 5 Martin Roskanin 2003-04-14 13:12:57 UTC
Created attachment 9906 [details]
Patch for module part
Comment 6 Martin Roskanin 2003-04-14 13:13:45 UTC
Created attachment 9907 [details]
Patch for libsrc part
Comment 7 Martin Roskanin 2003-04-14 13:17:16 UTC
Eman, could you please test and verify the attached patches?
The patch for module part - options.jar can be placed to
modules/patches/org-netbeans-modules-editor/ folder
The second patch is for standalone part of editor. The zipped classes
should replace the classes in the
modules/ext/nb-editor.jar/org/netbeans/editor/BaseKit*.class
Thanks.
Comment 8 ehucka 2003-04-14 18:27:27 UTC
I don't see any problem with this patch. But I havn't reproduced this
issue before the patch. I verify the patch in main trunk build
200304140100 on Linux.
Comment 9 _ ttran 2003-04-15 10:58:10 UTC
approved for 3.5
Comment 10 Martin Roskanin 2003-04-16 13:23:01 UTC
fixed in [release35]

/cvs/editor/libsrc/org/netbeans/editor/BaseKit.java,v  <--  BaseKit.java
new revision: 1.86.2.1; previous revision: 1.86

/cvs/editor/src/org/netbeans/modules/editor/options/AllOptionsFolder.java,v
 <--  AllOptionsFolder.java
new revision: 1.27.2.1; previous revision: 1.27
Comment 11 Martin Roskanin 2003-05-28 16:24:32 UTC
fixed in [prj40_prototype] also

/cvs/editor/libsrc/org/netbeans/editor/BaseKit.java,v  <--  BaseKit.java
new revision: 1.82.30.3; previous revision: 1.82.30.2

/cvs/editor/src/org/netbeans/modules/editor/options/AllOptionsFolder.java,v
 <--  AllOptionsFolder.java
new revision: 1.21.30.4; previous revision: 1.21.30.3