sn0wolf / coffee-bytes

Automatically exported from code.google.com/p/coffee-bytes
0 stars 0 forks source link

Single Line Comments can Break Editor #13

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
A single line javadoc comment will prevent the editor
from opening up with a "Failed to create part" error
message dialog. Example:

/** This is a comment */
private string yada yada yada

The log files says:
!ENTRY org.eclipse.core.runtime 4 2 Oct 11, 2004
10:05:32.360
!MESSAGE Problems occurred when invoking code from
plug-in: "org.eclipse.core.runtime".
!STACK 0
java.lang.ClassCastException:
org.eclipse.ui.internal.EditorPane$1$ErrorEditorPart at
org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.activeJavaEditorChanged(ASTPr
ovider.java:218)
at
org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.access$0(ASTProvider.java:213
)
at
org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$ActivationListener.partOpened
(ASTProvider.java:100)
at
org.eclipse.ui.internal.PartListenerList2$5.run(PartListenerList2.java:101)
...

This is using 1.0.5a version of the plugin.

Original issue reported on code.google.com by rjlori...@gmail.com on 20 Oct 2006 at 9:32