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 217593 - IllegalStateException: Annotation not added: org-netbeans-modules-editor-annotations-implementsGo to parent POM declaration
Summary: IllegalStateException: Annotation not added: org-netbeans-modules-editor-anno...
Status: RESOLVED DUPLICATE of bug 207563
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-29 19:11 UTC by Jesse Glick
Modified: 2012-10-26 12:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 191404


Attachments
stacktrace (5.03 KB, text/plain)
2012-08-29 19:11 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2012-08-29 19:11:32 UTC
Build: NetBeans IDE Dev (Build 20120815-47bac66aa192)
VM: Java HotSpot(TM) Client VM, 23.2-b09, Java(TM) SE Runtime Environment, 1.7.0_06-b24
OS: Linux

User Comments:
GUEST: When editing any Maven pom.xml.

As soon as I type ! to comment out a tag I get this error consistently and it doesn't go-away 
unless and until I kill the netbeans process.

for example to change <parent> to <!--parent>  as soon as I type ! this error happens.

GUEST: Under Win7, switched to another user and then log-back.




Stacktrace: 
java.lang.IllegalStateException: Annotation not added: org-netbeans-modules-editor-annotations-implementsGo to parent POM declaration
   at org.netbeans.modules.editor.NbEditorDocument.removeAnnotation(NbEditorDocument.java:256)
   at org.openide.text.NbDocument.removeAnnotation(NbDocument.java:533)
   at org.netbeans.modules.maven.hints.pom.StatusProvider$StatusProviderImpl.refreshLinkAnnotations(StatusProvider.java:305)
   at org.netbeans.modules.maven.hints.pom.StatusProvider$StatusProviderImpl.getUpToDate(StatusProvider.java:267)
   at org.netbeans.modules.editor.errorstripe.AnnotationViewDataImpl.computeTotalStatusType(AnnotationViewDataImpl.java:466)
   at org.netbeans.modules.editor.errorstripe.AnnotationView.drawGlobalStatus(AnnotationView.java:265)
Comment 1 Jesse Glick 2012-08-29 19:11:36 UTC
Created attachment 123714 [details]
stacktrace
Comment 2 Milutin Kristofic 2012-10-26 12:21:55 UTC

*** This bug has been marked as a duplicate of bug 207563 ***