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 217741 - 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 FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-03 12:26 UTC by Lukas Jungmann
Modified: 2012-09-04 01:11 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 191842


Attachments
stacktrace (4.71 KB, text/plain)
2012-09-03 12:26 UTC, Lukas Jungmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2012-09-03 12:26:38 UTC
Build: NetBeans IDE Dev (Build 20120830-4cd0d9c0168e)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.2-b09, Java(TM) SE Runtime Environment, 1.7.0_06-b24
OS: Linux

User Comments:
jungi: adding parent section to pom




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:314)
   at org.netbeans.modules.maven.hints.pom.StatusProvider$StatusProviderImpl.access$700(StatusProvider.java:124)
   at org.netbeans.modules.maven.hints.pom.StatusProvider$StatusProviderImpl$4.run(StatusProvider.java:274)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1454)
Comment 1 Lukas Jungmann 2012-09-03 12:26:41 UTC
Created attachment 123822 [details]
stacktrace
Comment 2 Lukas Jungmann 2012-09-03 12:31:09 UTC
not sure if this is the right component, so please moved if needed

=>P2 because when this appears, IDE becomes almost unusable due to exception dialog poping up after each keystroke/mouse click
Comment 3 Milos Kleint 2012-09-03 15:39:24 UTC
http://hg.netbeans.org/core-main/rev/530545d3dea5
Comment 4 Quality Engineering 2012-09-04 01:11:13 UTC
Integrated into 'main-golden', will be available in build *201209040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/530545d3dea5
User: Milos Kleint <mkleint@netbeans.org>
Log: #217741 only remove once, and only add when all 3 coordinates are present