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 244012 - Deadlock in IDE after adding method
Summary: Deadlock in IDE after adding method
Status: RESOLVED DUPLICATE of bug 237828
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-22 20:59 UTC by scanti
Modified: 2015-03-12 08:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
the threaddump (34.12 KB, application/octet-stream)
2014-04-22 20:59 UTC, scanti
Details
IDE log with exception inside (128.76 KB, application/octet-stream)
2014-04-22 21:09 UTC, scanti
Details
Another IDE log (406.28 KB, application/octet-stream)
2014-04-22 21:10 UTC, scanti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description scanti 2014-04-22 20:59:49 UTC
Created attachment 146897 [details]
the threaddump

I was coding a Java file when I called a non existent method on a object like

myObject.getSomething() and I waited for the hint that would had asked me to create the method, but the ide became irresponsible and the the window became black and I had to kill it forcefully. 

I was usuing jdk 8.0

I am attaching the thread dump
Comment 1 scanti 2014-04-22 21:09:17 UTC
Created attachment 146898 [details]
IDE log with exception inside
Comment 2 scanti 2014-04-22 21:10:13 UTC
It happened again with jdk 1.8.05, I am attaching the log for both times
Comment 3 scanti 2014-04-22 21:10:52 UTC
Created attachment 146899 [details]
Another IDE log
Comment 4 scanti 2014-04-22 21:24:02 UTC
It happened three times in a row, and this time when saving, it is becoming very annoying!
Comment 5 Miloslav Metelka 2014-05-14 15:14:08 UTC
There's an assertion error thrown from javac parser which (according to jlahoda) could cause the symptoms of this issue so reassigning to java/hints for further evaluation.
Comment 6 Svata Dedic 2014-05-16 08:45:16 UTC
Dusane, there's an assertion coming from javac, which may slow down / break the on-save task. On the threaddump, the save task is still runnable, but possibly blocks EDT for an extended period of time.

Reporter: if annoying, please disable the Tools - Editor -> On save, Remove Unused imports and Organize imports.
Comment 7 Dusan Balek 2015-03-12 08:38:30 UTC
AssertionError already fixed.

*** This bug has been marked as a duplicate of bug 237828 ***