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.
In 110208-110c3e00ef96 (which includes faa4c323819d) I am getting repeated exceptions while editing a Java source: WARNING [org.netbeans.modules.java.source.parsing.JavacParser]: Javac returned startpos: 2,603 > endpos: -1 SEVERE [org.openide.util.Exceptions] java.lang.IllegalStateException: Annotation not added: null at org.netbeans.modules.editor.NbEditorDocument.removeAnnotation(NbEditorDocument.java:252) at org.openide.text.NbDocument.removeAnnotation(NbDocument.java:519) at org.netbeans.modules.editor.hints.AnnotationHolder$NbDocumentAttacher.detachAnnotation(AnnotationHolder.java:259) at org.netbeans.modules.editor.hints.AnnotationHolder.detachAnnotation(AnnotationHolder.java:225) at org.netbeans.modules.editor.hints.ParseErrorAnnotation.propertyChange(ParseErrorAnnotation.java:119) at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:196) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276) at org.netbeans.modules.editor.hints.HintsControllerImpl$CompoundLazyFixList.propertyChange(HintsControllerImpl.java:352) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276) at org.netbeans.modules.editor.hints.HintsControllerImpl$CompoundLazyFixList.propertyChange(HintsControllerImpl.java:352) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276) at org.netbeans.modules.java.hints.infrastructure.CreatorBasedLazyFixList.compute(CreatorBasedLazyFixList.java:173) at org.netbeans.modules.java.hints.infrastructure.LazyHintComputation.run(LazyHintComputation.java:112) at org.netbeans.modules.java.hints.infrastructure.LazyHintComputation.run(LazyHintComputation.java:58) [catch] at org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:322)
I did not see that myself, but I hope this might fix that: http://hg.netbeans.org/jet-main/rev/32c605ea7182
Sorry, incorrect changeset, the correct one is: http://hg.netbeans.org/jet-main/rev/53a177f10b78
Integrated into 'main-golden', will be available in build *201102160501* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/53a177f10b78 User: Jan Lahoda <jlahoda@netbeans.org> Log: #195209: change annotation type by firing an event rather than by detaching/attaching the annotation.