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.
[ BUILD # : 200807280848 ] [ JDK VERSION : 1.6.0_06 ] I get a lot of error badges on lines referencing Groovy classes (services) defined in plugins. The application works fine. Even the lines indicated with errors executes ok. So there is no runtime problem, only editor problem. The IDE seems to have problem finding classes defined by plugins. Also Groovy classes in the jobs folder (quartz plugin) cannot find Groovy classes (domain classes, services, etc.). The jobs executes ok so this is also just an IDE problem. I will try to setup a testcase and attach it to the issue.
Created attachment 65988 [details] Screenshot of error badges
Created attachment 65996 [details] Grails project with quartz plugin. PingJob.groovy shows error
Created attachment 65997 [details] Screenshot of errors in jobs/PingJob.groovy
Attaching a screenshot where a service referenced by BootStrap.groovy cannot be found. The application compiles and runs fine.
Created attachment 68068 [details] A service class not found
Fixed. Errors should be gone and hyperlink between groovy classes should also work. http://hg.netbeans.org/main/rev/e8ef5707b0f9
Integrated into 'main-golden', available in build *200808230201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/e8ef5707b0f9 User: Martin Adamek <martin_adamek@netbeans.org> Log: #142145: [65cat] "unable to resolve class" error in IDE, but app runs ok
reporter, can I ask you to verify this, please? Thanks.
Verified. References to services and quartz jobs are no longer displayed with error indicators. There are still error badges on java source included in the acegi plugin (source root problem?), but I will report that in another issue.
Thanks!
The error badges on acegi plugin was some kind of caching problem. Expanding all nodes and closing them again got rid of the last error badges. v.