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 - Source error annotations no longer displayed
Summary: Source error annotations no longer displayed
Status: RESOLVED DUPLICATE of bug 46611
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2004-07-23 20:36 UTC by Jesse Glick
Modified: 2004-08-13 12:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***