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: | ThreadDeath from Installer.close | ||
---|---|---|---|
Product: | projects | Reporter: | Jesse Glick <jglick> |
Component: | Maven | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anebuzelsky |
Priority: | P3 | ||
Version: | 7.0 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 164593 |
Description
Jesse Glick
2010-07-22 20:28:45 UTC
Handled more gracefully...how? Look at the comments in the source, I wasn't happy to wrote such code, but didn't find any better way... At least the stack trace might be suppressable. But surely the Maven indexer should offer some way of canceling long-running tasks. If there is not such a capability now, we need an upstream patch. Trying harder to kill things, using the fix of #189316 as well as other tricks, though java.net.HTTPURLConnection cannot in general be killed except by Thread.stop (Thread.interrupt does not seem to work). Problems sometimes reproducible by shutting off the network connection in the middle of a download. There was also a hang sometimes *after* killing the indexing threads, trying to get a lock in shutdownAll. core-main #0e5eb36a57a9 Integrated into 'main-golden', will be available in build *201008170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/0e5eb36a57a9 User: Jesse Glick <jglick@netbeans.org> Log: #188883: ThreadDeath from Installer.close *** Bug 189406 has been marked as a duplicate of this bug. *** |