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.
Summary: | ClassCastException: org.openide.text.FilterDocument cannot be cast to org.netbeans.editor.BaseDocument | ||
---|---|---|---|
Product: | groovy | Reporter: | dynamite <dynamite> |
Component: | Editor | Assignee: | Petr Hejl <phejl> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | CC: | dheffelfinger, dynamite |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=158008 | ||
Issue Type: | DEFECT | Exception Reporter: | 158008 |
Attachments: |
stacktrace
stacktrace |
Description
dynamite
2009-09-07 22:47:49 UTC
Created attachment 87245 [details]
stacktrace
Build: NetBeans IDE Dev (Build 200909071104) VM: Java HotSpot(TM) 64-Bit Server VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01 OS: Linux, 2.6.28-15-generic, amd64 User Comments: Created groovy class in a package and got this exception. Tried to bring menu up against the Projects window and got this exception. I should note that the editor window is completely grey. Stacktrace: java.lang.ClassCastException: org.openide.text.FilterDocument cannot be cast to org.netbeans.editor.BaseDocument at org.netbeans.modules.groovy.editor.api.StructureAnalyzer$GroovyStructureItem.<init>(StructureAnalyzer.java:418) at org.netbeans.modules.groovy.editor.api.StructureAnalyzer$GroovyStructureItem.<init>(StructureAnalyzer.java:402) at org.netbeans.modules.groovy.editor.api.StructureAnalyzer.scan(StructureAnalyzer.java:112) at org.netbeans.modules.csl.navigation.ElementScanningTask$1.run(ElementScanningTask.java:121) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:129) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:113) Created attachment 87246 [details]
stacktrace
Increased the priority to P1 since this issue makes it impossible to edit any Groovy scripts. Based on the bug priority guideline: "Product feature does not work, no workaround exists", this is a P1 issue. This issue already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=158008 Regression in CSL. Should be already fixed. *** This issue has been marked as a duplicate of 171600 *** |