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 169903 - error annotations doesn't work
Summary: error annotations doesn't work
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Scala (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P3 blocker (vote)
Assignee: _ dcaoyuan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-05 15:20 UTC by fbertra
Modified: 2009-08-05 15:20 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 fbertra 2009-08-05 15:20:24 UTC
Scala plugin doesn't highlight errors.  

Notes:

1) fsc is working from command line

2) Some other features are working.  For example, syntax coloring, code completion, formatting, go to declaration, outline navigator

3) The following exception appears once in IDE log

java.lang.IllegalStateException: You are trying to access file: compiler.properties from the default package. Please see 
http://www.netbeans.org/download/dev/javadoc/org-openide-modules/org/openide/modules/doc-
files/classpath.html#default_package
        at org.netbeans.ProxyClassLoader.printDefaultPackageWarning(ProxyClassLoader.java:578)
        at org.netbeans.ProxyClassLoader.getResource(ProxyClassLoader.java:343)
        at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1168)
        at java.lang.Class.getResourceAsStream(Class.java:2030)
        at scala.tools.nsc.Properties$.<init>(Properties.scala:21)
        at scala.tools.nsc.Properties$.<clinit>(Properties.scala)
        at scala.tools.nsc.Settings.guessedScalaBootClassPath(Settings.scala:63)
        at scala.tools.nsc.Settings.<init>(Settings.scala:34)
        at scala.tools.nsc.Settings.<init>(Settings.scala:14)
        at org.netbeans.modules.scala.editing.ScalaGlobal.getGlobal(ScalaGlobal.java:163)
        at org.netbeans.modules.scala.editing.ScalaParser.parseBuffer(ScalaParser.java:552)
        at org.netbeans.modules.scala.editing.ScalaParser.parse(ScalaParser.java:112)
        at org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:198)
        at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:655)
        ....