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

Summary: Repository index transfer job's progress sometimes not visible
Product: projects Reporter: Antonin Nebuzelsky <anebuzelsky>
Component: MavenAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: normal Keywords: RANDOM, USABILITY
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 189806    
Bug Blocks: 189312    
Attachments: Maven Repo Index Transfer/Scan thread

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