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 189806 - IllegalStateException: Cannot call start twice on a handle
Summary: IllegalStateException: Cannot call start twice on a handle
Status: VERIFIED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.0
Hardware: All All
: P1 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
: 189813 189978 (view as bug list)
Depends on:
Blocks: 189433
  Show dependency tree
 
Reported: 2010-08-24 11:41 UTC by Antonin Nebuzelsky
Modified: 2010-09-17 20:45 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 172119


Attachments
stacktrace (7.10 KB, text/plain)
2010-08-24 11:42 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-24 11:41:43 UTC
Build: NetBeans IDE Dev (Build maven-dev-213-on-100823)
VM: Java HotSpot(TM) Client VM, 17.0-b16, Java(TM) SE Runtime Environment, 1.6.0_21-b06
OS: Linux

User Comments:
anebuzelsky: Invoked View Artifact Details on junit-3.8.1.jar test dependency of a project. The exception was raised after the details info window was displayed.




Stacktrace: 
java.lang.IllegalStateException: Cannot call start twice on a handle
   at org.netbeans.modules.progress.spi.InternalHandle.start(InternalHandle.java:209)
   at org.netbeans.api.progress.ProgressHandle.start(ProgressHandle.java:97)
   at org.netbeans.api.progress.ProgressHandle.start(ProgressHandle.java:85)
   at org.netbeans.modules.maven.indexer.RemoteIndexTransferListener.transferStarted(RemoteIndexTransferListener.java:99)
   at org.apache.maven.wagon.events.TransferEventSupport.fireTransferStarted(TransferEventSupport.java:106)
   at org.apache.maven.wagon.AbstractWagon.fireGetStarted(AbstractWagon.java:533)
Comment 1 Antonin Nebuzelsky 2010-08-24 11:42:01 UTC
Created attachment 101628 [details]
stacktrace
Comment 2 Antonin Nebuzelsky 2010-08-24 11:52:12 UTC
Raising priority. This issue blocks remote repository indexes from downloading.
Comment 3 Antonin Nebuzelsky 2010-08-24 11:56:18 UTC
I don't see the problem with my up-to-date local build of core-main, only with the latest maven-dev build downloaded from deadlock (maven-dev-213-on-100823).

Can be easily reproduced, e.g. by invoking the action Update Indexes in Maven Repository Browser window.
Comment 4 Jesse Glick 2010-08-24 13:21:49 UTC
Actually due to changes in trunk, but perhaps the old Nexus Indexer behaves slightly differently. This exception seems to result when a repository contains only a *.zip index, whereas a *.gz index now seems to be preferred.

core-main #e640708e4ecb (in branch)
Comment 5 Jesse Glick 2010-08-24 17:05:28 UTC
*** Bug 189813 has been marked as a duplicate of this bug. ***
Comment 6 Quality Engineering 2010-08-25 03:19:58 UTC
Integrated into 'main-golden', will be available in build *201008250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e640708e4ecb
User: Jesse Glick <jglick@netbeans.org>
Log: #189806: cannot restart a single ProgressHandle.
Comment 7 Antonin Nebuzelsky 2010-08-25 09:25:11 UTC
Marking as verified in trunk.
Comment 8 Jesse Glick 2010-08-25 11:13:32 UTC
Note that duplicate issue indicates that this was a problem in trunk, not specifically branch, to begin with.
Comment 9 Jesse Glick 2010-09-17 20:45:48 UTC
*** Bug 189978 has been marked as a duplicate of this bug. ***