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.
When i try watch value of variable in groovy class ("Watch" tab) - i get exception (http://statistics.netbeans.org/analytics/detail.do?id=126889) Also in mixed project (java/groovy): 1. In source of groovy class in drop down list not displaying methods of current class 2. In context menu in "Projects" tab on groovy class not present item "Compile File"
This will need more work on debugger at least we can fix NPE for 7.0.
Looks like EditorContextImpl is "faking" Java Source - this leads to NPE later (Scala, Groovy debugging).
I'm not sure it's only a debugger problem, but it looks like the exception is thrown when JavaSource.forFileObject(file) returns null. Thus I will not call JavaSourceUtil.createControllerHandle(fo, handle); when I can not get the JavaSource from the "fo" FileObject. This should hopefully fix this.
Caoyuan Deng already fixed this at http://hg.netbeans.org/main/rev/d970f53567d8. I've reverted that fix and added just a check for null JavaSource in changeset: 124304:c6166d553a7d http://hg.netbeans.org/main/rev/c6166d553a7d
Integrated into 'main-golden', will be available in build *200903310200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/c6166d553a7d User: mentlicher@netbeans.org Log: #152151 - Changeset d970f53567d8 reverted, check for null JavaSource added.
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.