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 220782 - Module shutdown causing IDE hang
Summary: Module shutdown causing IDE hang
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-24 16:27 UTC by Egor Ushakov
Modified: 2012-10-26 01:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack (4.76 KB, text/plain)
2012-10-25 09:47 UTC, Egor Ushakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Ushakov 2012-10-24 16:27:29 UTC
Installer.close is called from EDT with fs access sometimes slows down IDE shutdown. It is better to use OnStop which is performed off the EDT.
Comment 1 Egor Ushakov 2012-10-25 09:47:25 UTC
Created attachment 126534 [details]
stack
Comment 2 Egor Ushakov 2012-10-25 09:48:37 UTC
recent stacktrace shows that the IDE hangs on close
Comment 3 Vladimir Voskresensky 2012-10-25 11:19:45 UTC
thanks. Will fix it
Comment 4 Vladimir Voskresensky 2012-10-25 13:46:11 UTC
use onStop + use introduced non-blocking lookup of opened editors by DataObject
http://hg.netbeans.org/cnd-main/rev/41801a2458d1
http://hg.netbeans.org/cnd-main/rev/baf13ac6b361
http://hg.netbeans.org/cnd-main/rev/7210d706edd2
Comment 5 Quality Engineering 2012-10-26 01:29:07 UTC
Integrated into 'main-golden', will be available in build *201210260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/41801a2458d1
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #220782 - Module shutdown causing IDE hang
- use @OnStop which is run out of EDT