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 189433 - Repository index transfer job's progress sometimes not visible
Summary: Repository index transfer job's progress sometimes not visible
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords: RANDOM, USABILITY
Depends on: 189806
Blocks: 189312
  Show dependency tree
 
Reported: 2010-08-12 10:55 UTC by Antonin Nebuzelsky
Modified: 2010-08-24 13:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Maven Repo Index Transfer/Scan thread (2.24 KB, text/plain)
2010-08-12 10:56 UTC, Antonin Nebuzelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonin Nebuzelsky 2010-08-12 10:55:49 UTC
Randomly I encounter situation when Maven repository index download or processing of the downloaded file is running at the background (and may be also blocking some user's action in the UI) but the jobs progress indication is missing in the Status bar.

Attaching a stacktrace of the process running. At that moment, there was no progress indication in status bar at all. Not sure if the stacktrace will be of any use, but the progress indication code of this job needs to be inspected and fixed.
Comment 1 Antonin Nebuzelsky 2010-08-12 10:56:45 UTC
Created attachment 101333 [details]
Maven Repo Index Transfer/Scan thread
Comment 2 Jesse Glick 2010-08-16 15:00:39 UTC
I don't think I've seen this. Does it continue to happen in dev builds? Is there some way to reproduce? The stack trace looks normal and corresponds to a code path that does show a progress handle.
Comment 3 Jesse Glick 2010-08-16 22:05:29 UTC
Occurred after expanding "Archetypes from Local Repository" in New Project wizard.
Comment 4 Jesse Glick 2010-08-16 22:07:55 UTC
...but not reproducibly.
Comment 5 Jesse Glick 2010-08-18 19:59:35 UTC
Observed when trying to get code completion on a version of junit. First a handle for transferring the Central index appeared. That closed, and there was just heavy CPU activity. A thread dump showed NexusRepositoryIndexerImpl.indexLoadedRepo (the remote branch). Perhaps RemoteIndexTransferListener.transferStarted is not getting called reliably?
Comment 6 Jesse Glick 2010-08-18 21:41:43 UTC
...or transferCompleted is called when the download is done but the index has not yet been unpacked.
Comment 7 Jesse Glick 2010-08-18 22:19:25 UTC
core-main #8d9e6384f2c5
Comment 8 Quality Engineering 2010-08-20 03:12:42 UTC
Integrated into 'main-golden', will be available in build *201008200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/8d9e6384f2c5
User: Jesse Glick <jglick@netbeans.org>
Log: #189433: Repository index transfer job's progress sometimes not visible