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 107027 - Deadlock in editor setting while running core test with CND cluster
Summary: Deadlock in editor setting while running core test with CND cluster
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: _ gordonp
URL:
Keywords: THREAD
Depends on:
Blocks:
 
Reported: 2007-06-18 15:29 UTC by Jiri Skrivanek
Modified: 2007-06-21 07:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump. (28.87 KB, text/plain)
2007-06-18 15:30 UTC, Jiri Skrivanek
Details
CNFE stack trace. (20.57 KB, text/plain)
2007-06-18 15:31 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2007-06-18 15:29:58 UTC
There is a deadlock when you run core commit validation test. To reproduce:

- install IDE with CND cluster
cd core/test
ant -Dxtest.attribs=commit -Dnetbeans.dest.dir=<full_ide_installation>

There is also a CNFE but I don't know if it is related:
java.lang.ClassNotFoundException: org.netbeans.modules.cnd.makeproject.ui.FoldersListSettings
Comment 1 Jiri Skrivanek 2007-06-18 15:30:32 UTC
Created attachment 43891 [details]
Thread dump.
Comment 2 Jiri Skrivanek 2007-06-18 15:31:13 UTC
Created attachment 43892 [details]
CNFE stack trace.
Comment 3 Vitezslav Stejskal 2007-06-19 09:04:06 UTC
This needs to be fixed in org.netbeans.modules.cnd.editor.fortran.FOptions. Please do not touch o.n.editor.Settings from
constructors of your BaseOption or BaseKit implementations. The right way of providing default values for editor
settings (those that are not XMLized yet) is to register an implementation of Settings.Initializer. The initializer will
be called by the infrastructure when it's safe.
Comment 4 _ gordonp 2007-06-19 15:02:23 UTC
The offending line of code was added in 2001, so I guess this is a case of an incompatible
netbeans change between 2001 and now:-)  Anyway, I'll remove it.
Comment 5 _ gordonp 2007-06-19 16:26:29 UTC
Fixed in grgich_hills branch. I'll merge the change into the trunk this afternoon.
Comment 6 _ gordonp 2007-06-20 22:50:19 UTC
Fixed
Comment 7 Jiri Skrivanek 2007-06-21 07:37:44 UTC
Verified.