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 226647 - IllegalStateException: Annotation not added: org-netbeans-spi-editor-hints-parser_annotation_verifierYou should use only: 1 assignment(s) (4 used) to a variable: $cache to avoid accidentally overwriti
Summary: IllegalStateException: Annotation not added: org-netbeans-spi-editor-hints-pa...
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: 2013-02-25 12:17 UTC by tobypinder
Modified: 2013-02-25 12:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 198996


Attachments
stacktrace (3.04 KB, text/plain)
2013-02-25 12:17 UTC, tobypinder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tobypinder 2013-02-25 12:17:51 UTC
This bug was originally marked as duplicate of bug 197717, 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.3 Beta 2 (Build 201211062253)
VM: OpenJDK Client VM, 20.0-b12, OpenJDK Runtime Environment, 1.6.0_27-b27
OS: Linux

User Comments:
tobypinder: Clicking between windows in admittedly poor quality PHP code :)




Stacktrace: 
java.lang.IllegalStateException: Annotation not added: org-netbeans-spi-editor-hints-parser_annotation_verifierYou should use only:
1 assignment(s) (4 used)
to a variable:
$cache
to avoid accidentally overwriting it and make your code easier to read.
----
(Alt-Enter shows hints)
   at org.netbeans.modules.editor.NbEditorDocument.removeAnnotation(NbEditorDocument.java:256)
   at org.openide.text.NbDocument.removeAnnotation(NbDocument.java:533)
   at org.netbeans.modules.editor.hints.ParseErrorAnnotation.detachAnnotation(ParseErrorAnnotation.java:161)
   at org.netbeans.modules.editor.hints.AnnotationHolder$NbDocumentAttacher.detachAnnotation(AnnotationHolder.java:301)
   at org.netbeans.modules.editor.hints.AnnotationHolder.detachAnnotation(AnnotationHolder.java:280)
   at org.netbeans.modules.editor.hints.AnnotationHolder.updateAnnotationOnLine(AnnotationHolder.java:754)
Comment 1 tobypinder 2013-02-25 12:17:53 UTC
Created attachment 131828 [details]
stacktrace
Comment 2 Milutin Kristofic 2013-02-25 12:20:02 UTC

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