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 240944 - Deadlock after applying my hint
Summary: Deadlock after applying my hint
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 8.0
Hardware: PC Linux
: P1 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
: 241254 241255 241394 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-01-25 03:37 UTC by Jaroslav Tulach
Modified: 2014-02-05 09:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Full thread dump (30.57 KB, text/plain)
2014-01-25 03:37 UTC, Jaroslav Tulach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2014-01-25 03:37:09 UTC
Created attachment 144358 [details]
Full thread dump

[exec] Java stack information for the threads listed above:
     [exec] ===================================================
     [exec] "org.netbeans.modules.editor.hints.HintsUI":
     [exec]     at org.netbeans.lib.lexer.TokenHierarchyOperation.tokenSequence(TokenHierarchyOperation.java:434)
     [exec]     - waiting to lock <0x81fb7048> (a org.netbeans.lib.lexer.inc.IncTokenList)
     [exec]     at org.netbeans.lib.lexer.TokenHierarchyOperation.tokenSequence(TokenHierarchyOperation.java:427)
     [exec]     at org.netbeans.api.lexer.TokenHierarchy.tokenSequence(TokenHierarchy.java:186)
     [exec]     at org.netbeans.modules.javadoc.highlighting.Highlighting$HSImpl.moveNext(Highlighting.java:210)
     [exec]     - locked <0x82541620> (a org.netbeans.modules.javadoc.highlighting.Highlighting)
     [exec]     at org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:443)
     [exec]     at org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.<init>(DirectMergeContainer.java:408)
     [exec]     at org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.<init>(DirectMergeContainer.java:198)
     [exec]     at org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer.getHighlights(DirectMergeContainer.java:104)
     [exec]     at org.netbeans.modules.editor.hints.HintsUI$4$1.run(HintsUI.java:1024)
     [exec]     at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1391)
     [exec]     at org.netbeans.modules.editor.hints.HintsUI$4.run(HintsUI.java:1022)
     [exec]     at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
     [exec]     at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
     [exec] "Editor Parsing Loop (20140123-43f00d564256)":
     [exec]     at org.netbeans.modules.javadoc.highlighting.Highlighting.tokenHierarchyChanged(Highlighting.java:139)
     [exec]     - waiting to lock <0x82541620> (a org.netbeans.modules.javadoc.highlighting.Highlighting)
     [exec]     at sun.reflect.GeneratedMethodAccessor128.invoke(Unknown Source)
     [exec]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [exec]     at java.lang.reflect.Method.invoke(Method.java:606)
     [exec]     at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:461)
     [exec]     at com.sun.proxy.$Proxy37.tokenHierarchyChanged(Unknown Source)
     [exec]     at org.netbeans.lib.lexer.TokenHierarchyOperation.fireTokenHierarchyChanged(TokenHierarchyOperation.java:575)
     [exec]     at org.netbeans.lib.lexer.EmbeddingOperation.createEmbedding(EmbeddingOperation.java:387)
     [exec]     at org.netbeans.api.lexer.TokenSequence.createEmbedding(TokenSequence.java:447)
     [exec]     - locked <0x81fb7048> (a org.netbeans.lib.lexer.inc.IncTokenList)
     [exec]     at org.netbeans.modules.project.jsjava.JSEmbeddingProvider.run(JSEmbeddingProvider.java:134)
     [exec]     at org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:568)
     [exec]     at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:744)
     [exec]     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
     [exec]     at java.util.concurrent.FutureTask.run(FutureTask.java:262)
     [exec]     at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
     [exec]     at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
     [exec] 
     [exec] Found 1 deadlock.
Comment 1 Jaroslav Tulach 2014-01-25 03:38:35 UTC
I have post 8.0-beta build.
Comment 2 Miloslav Metelka 2014-01-29 12:21:14 UTC
Fixed in jet-main.
changeset:   270818:ca82477d2339
Comment 3 Quality Engineering 2014-01-31 02:40:38 UTC
Integrated into 'main-silver', will be available in build *201401310001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ca82477d2339
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #240944 - Deadlock after applying my hint.
Comment 4 Miloslav Metelka 2014-02-05 08:55:36 UTC
*** Bug 241255 has been marked as a duplicate of this bug. ***
Comment 5 Miloslav Metelka 2014-02-05 09:52:36 UTC
*** Bug 241394 has been marked as a duplicate of this bug. ***
Comment 6 Miloslav Metelka 2014-02-05 09:56:56 UTC
*** Bug 241254 has been marked as a duplicate of this bug. ***