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.
This bug was originally marked as duplicate of bug 197132, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.1 RC2 (Build 201111302200) VM: Java HotSpot(TM) 64-Bit Server VM, 22.0-b10, Java(TM) SE Runtime Environment, 1.7.0_02-b13 OS: Windows 7 User Comments: GUEST: removing a folder recursively from git index git rm -r --cache foldername/ merxbj: I did a simple line changes into a single java source file. Then I tried to revert it back, but this exception occured. Please see steps to recreate for more detail: 1) Open a class library java project 2) Open and edit a source file under one level package structure (package/SourceFile.java) 3) Right click on the edited project file 4) Left click on the Revert Modification 5) No changes on the pop-up window and confirm jglick: Clicked on gutter next to "$Id: ....$" in Maven 3 sources which was incorrectly marked as a modification (separately reported), and clicked the revert button. File now displayed as unmodified, but this exception thrown. GUEST: attempting to use git plugin to revert changes to a file. the revert appears to have worked, but this exception was thrown Stacktrace: java.lang.IllegalStateException: Unknown status: [REMOVED_HEAD_INDEX] at org.netbeans.modules.git.Annotator.annotateFileIcon(Annotator.java:346) at org.netbeans.modules.git.Annotator.annotateIcon(Annotator.java:259) at org.netbeans.modules.versioning.VersioningAnnotationProvider$Cache.annotate(VersioningAnnotationProvider.java:649) at org.netbeans.modules.versioning.VersioningAnnotationProvider$Cache.annotate(VersioningAnnotationProvider.java:680) at org.netbeans.modules.versioning.VersioningAnnotationProvider$Cache.access$1700(VersioningAnnotationProvider.java:502) at org.netbeans.modules.versioning.VersioningAnnotationProvider$Cache$AnnotationRefreshTask.run(VersioningAnnotationProvider.java:771)
Created attachment 114595 [details] stacktrace
fix: http://hg.netbeans.org/core-main/rev/abe727ec00cb
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/abe727ec00cb User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #206883 - IllegalStateException: Unknown status: [REMOVED_HEAD_INDEX]
verified in trunk
http://hg.netbeans.org/releases/rev/59235e6e2f96
Integrated into 'releases', will be available in build *201202102200* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/59235e6e2f96 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #206883 - IllegalStateException: Unknown status: [REMOVED_HEAD_INDEX] (transplanted from abe727ec00cb5285f87df76dc71acc604e6543e7)
verified in 7.1.1
*** Bug 209012 has been marked as a duplicate of this bug. ***