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 46512

Summary: Source error annotations no longer displayed
Product: java Reporter: Jesse Glick <jglick>
Component: EditorAssignee: issues@java <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker Keywords: REGRESSION
Priority: P2    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Jesse Glick 2004-07-23 20:36:31 UTC
040722, 1.5.0 b58. It seems that annotations for
Java parser errors are no longer displayed in the
source editor, at least in the cases I have tried.
Not sure how long this has been broken but I think
for a while.

I often notice that code completion or Fix Imports
is totally broken for a while and finally realize
(after trying to compile) that I have some syntax
error (missing '}', 'extends' in place of
'implements', etc.) that was never highlighted.
Even typing in something totally bogus, e.g.
adding a line

   xxx

to a method in an otherwise compilable source,
produces no error annotation.

These days I mostly notice if I have a syntax
error in my source because some features quietly
stop working, I hear a lot of unexplained disk
activity, and my log fills up with messages such as

  (source unavailable)

or

  Class not found in index:
org.netbeans.modules.ant.freeform.ui.View.RootChildren.RootNode.
Recovering...
  java.lang.Exception: Stack trace
          at
java.lang.Thread.dumpStack(Thread.java:1155)
          at
org.netbeans.modules.javacore.parser.MDRParser.resolveSuperTypes(MDRParser.java:1078)
  [...]

or

  javax.jmi.reflect.InvalidObjectException: Object
was deleted.
         at
org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.initCheck(MetadataElement.java:119)
  [...]

or

  rollback!!!
  java.lang.Exception: Stack trace
          at
java.lang.Thread.dumpStack(Thread.java:1155)
          at
org.netbeans.modules.javacore.ExclusiveMutex.leave(ExclusiveMutex.java:207)
  [...]
Comment 1 Martin Matula 2004-07-28 16:58:52 UTC

*** This issue has been marked as a duplicate of 46611 ***