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 164593 - IDE continues running silently
Summary: IDE continues running silently
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Simonek
URL:
Keywords:
Depends on: 175143 188883 189406
Blocks:
  Show dependency tree
 
Reported: 2009-05-06 14:36 UTC by Petr Hejl
Modified: 2010-08-11 16:23 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump (16.16 KB, text/plain)
2009-05-06 14:38 UTC, Petr Hejl
Details
thread dump (22.30 KB, text/plain)
2009-05-06 15:50 UTC, Petr Hejl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Hejl 2009-05-06 14:36:35 UTC
Exiting IDE during "Tranfering central repository..." - UI disappears, but process itself is still running. Attaching
thread dump.
Comment 1 Petr Hejl 2009-05-06 14:38:28 UTC
Created attachment 81651 [details]
thread dump
Comment 2 Petr Hejl 2009-05-06 15:49:33 UTC
Not sure if following thread dump is related. In this case I opened IDE, closed all maven projects. Half an hour later
IDE is consuming one core for 100% (no progress bar in the IDE). Thread dump follows.
Comment 3 Petr Hejl 2009-05-06 15:50:01 UTC
Created attachment 81664 [details]
thread dump
Comment 4 Milos Kleint 2009-05-07 13:08:05 UTC
http://hg.netbeans.org/main/rev/c83be28e213a
hotfix for a greater problem. the new indexer library seems to process the downloaded indexes, we need to avoid using
the same IndexCreators we have for local repository (in previous versions the remote repo indexes were not processed) 
Comment 5 Quality Engineering 2009-05-09 07:01:47 UTC
Integrated into 'main-golden', will be available in build *200905090201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/c83be28e213a
User: Milos Kleint <mkleint@netbeans.org>
Log: #164593 hotfix for a greater problem. the new indexer library seems to process the downloaded indexes, we need to avoid using the same IndexCreators we have for local repository (in previous versions the remote repo indexes were not processed)
Comment 6 Milos Kleint 2009-08-20 12:28:16 UTC
another improvement is to ue just one instance of Online Embedder rather than create a new one for each item (could
produce unwanted sideeffects though)
Comment 7 David Simonek 2009-10-15 11:50:22 UTC
I tried to find a way how to stop maven index updater, but didn't find any solution :( I'd say we will have to live with
this, although downloading of indexes can really take long time.
Comment 8 David Simonek 2009-10-16 14:27:13 UTC
reopening, I managed to fix this, although in brutal way
Comment 9 David Simonek 2009-10-16 14:33:37 UTC
fixed:
3a29ea1081b3

Btw, fix is to kill the thread which runs repository transfer on system exit. I isolated repo transfer/scan to our own
RequestProcessor thread, so that we are not killing other's tasks.
Comment 10 Quality Engineering 2009-10-17 11:24:50 UTC
Integrated into 'main-golden', will be available in build *200910170201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/3a29ea1081b3
User: Dafe Simonek <dsimonek@netbeans.org>
Log: #164593: Kill active repository transfer/scan on system exit