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.
Summary: | IDE freezes when set source level and encoding | ||
---|---|---|---|
Product: | editor | Reporter: | Michal Mocnak <mmocnak> |
Component: | Settings | Assignee: | Vitezslav Stejskal <vstejskal> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | dtrebbien, jpospisil, mkleint, mmirilovic |
Priority: | P2 | Keywords: | THREAD |
Version: | 6.x | ||
Hardware: | Macintosh | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
screenshot
thread dump Thread dump from build 20101108 |
Description
Michal Mocnak
2009-09-30 10:14:38 UTC
Created attachment 88578 [details]
screenshot
Created attachment 88579 [details]
thread dump
I cannot reproduce, marking as random, I doubt it's a blocker. reassigning to editor for evaluation, probably something with org.netbeans.modules.editor.NbEditorDocument threading.. I suppose the opened pom.xml is crucial precondition to reproduce the issue.. Unmarking RANDOM,since it's 100% reproducible,if pom.xml was opened before editing project properties. project.mutex vs document read{write}Lock http://hg.netbeans.org/jet-main/rev/5d45954e870d I wasn't able to test this in trunk due to a problem with the maven project wizard, but it was 100% reproducible in release68_beta. jet-main#5d45954e870d fixes the problem. If this issue is considered a show stopper for 6.8beta, please let me know and I will transplant the fix. Aha, I can see this issue among the stoppers listed at http://wiki.netbeans.org/NB68BetaGoNoGo and so I'm going to transplant. Transplanted to release68_beta as http://hg.netbeans.org/release68_beta/rev/76b92853a923 Integrated into 'main-golden', will be available in build *200910010513* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/5d45954e870d User: Vita Stejskal <vstejskal@netbeans.org> Log: #173364: accessing project data only from PojectManager.mutex().postReadRequest() Verified I am reopening this ticket because Netbeans 6.9.1 also has this bug. The steps to reproduce are the same (open `pom.xml` for editing and while it is open, set the source level and project encoding in the project properties dialog). Netbeans 6.9.1 will hang, utilizing 0% CPU. It is 100% reproducible. Created attachment 102841 [details]
Thread dump from build 20101108
Similar steps as in comment #11: 1. Open pom.xml 2. Edit it (don't save) 3. Try to set options from the project options dialog 4. Question about saving is shown 5. Freeze I have passed to Maven as my thread dump indicates there is something wrong with locking of the pom.xml XML document. Please evaluate - if there is something wrong in the editor please pass back to me. The new thread dump looks unrelated; probably bug #187615, a well-known freeze in 6.9 which is waiting for a patch release. Please do not reopen bugs unless you are sure they are the same; generally better to file a fresh bug, and include a hint that it *might* be related to an earlier one. |