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 246856 - Deadlock after changing jdk
Summary: Deadlock after changing jdk
Status: NEW
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.0.1
Hardware: PC Other
: P3 normal (vote)
Assignee: tandree
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-03 15:47 UTC by bolsover
Modified: 2014-09-04 07:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Threaddump (31.89 KB, text/plain)
2014-09-03 15:47 UTC, bolsover
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bolsover 2014-09-03 15:47:13 UTC
Created attachment 149026 [details]
Threaddump

Product Version: NetBeans IDE 8.0.1 (Build 201408142300)
Java: 1.8.0_11; Java HotSpot(TM) 64-Bit Server VM 25.11-b03
Runtime: Java(TM) SE Runtime Environment 1.8.0_11-b12
System: Windows 8 version 6.2 running on amd64; Cp1252; en_GB (nb)

Deadlock occurred shortly after switching project JDK from 7 -> 8

Threaddump attched.
Comment 1 bolsover 2014-09-03 15:57:19 UTC
I retraced my steps on this and realized that the problem was associated with following an editor hint to add an "@param parent tag" to the JDialog form open in the editor.

Looking at the threaddump, it looks like jIndent is the culprit here - so I disabled the plugin and repeated the steps causing the deadlock.  The the  jIndent plugin disabled, the add @param parent tag hint completed without error.

I'll report the error to the jIndent team.

David
Comment 2 Ondrej Vrabec 2014-09-04 07:55:01 UTC
jindent.plugin.output.dialog.ThreadOutputDialog should not access AWT components outside of EDT