google / protobuf-dt

Eclipse Public License 1.0
40 stars 23 forks source link

ClassCastException in ProtobufSemanticHighlightingCalculator #21

Open kthoms opened 7 years ago

kthoms commented 7 years ago

The following issue was reported to Eclipse Automatic Error Reporting:

java.lang.ClassCastException: com.google.eclipse.protobuf.protobuf.impl.NativeOptionImpl cannot be cast to com.google.eclipse.protobuf.protobuf.ComplexType
at com.google.eclipse.protobuf.protobuf.impl.ComplexTypeLinkImpl.getTarget(ComplexTypeLinkImpl.java:72)
at com.google.eclipse.protobuf.ui.editor.syntaxcoloring.ProtobufSemanticHighlightingCalculator.highlightPropertyType(ProtobufSemanticHighlightingCalculator.java:211)
at com.google.eclipse.protobuf.ui.editor.syntaxcoloring.ProtobufSemanticHighlightingCalculator.highlight(ProtobufSemanticHighlightingCalculator.java:203)
at com.google.eclipse.protobuf.ui.editor.syntaxcoloring.ProtobufSemanticHighlightingCalculator.highlight(ProtobufSemanticHighlightingCalculator.java:173)
at com.google.eclipse.protobuf.ui.editor.syntaxcoloring.ProtobufSemanticHighlightingCalculator.highlight(ProtobufSemanticHighlightingCalculator.java:151)
at com.google.eclipse.protobuf.ui.editor.syntaxcoloring.ProtobufSemanticHighlightingCalculator.highlight(ProtobufSemanticHighlightingCalculator.java:141)
at com.google.eclipse.protobuf.ui.editor.syntaxcoloring.ProtobufSemanticHighlightingCalculator.highlight(ProtobufSemanticHighlightingCalculator.java:130)
at com.google.eclipse.protobuf.ui.editor.syntaxcoloring.ProtobufSemanticHighlightingCalculator.highlight(ProtobufSemanticHighlightingCalculator.java:108)
at com.google.eclipse.protobuf.ui.editor.syntaxcoloring.ProtobufSemanticHighlightingCalculator.provideHighlightingFor(ProtobufSemanticHighlightingCalculator.java:94)
at org.eclipse.xtext.ide.editor.syntaxcoloring.MergingHighlightedPositionAcceptor.provideHighlightingFor(MergingHighlightedPositionAcceptor.java:63)
at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler.reconcilePositions(HighlightingReconciler.java:151)
at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler.modelChanged(HighlightingReconciler.java:402)
at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler$2$1.exec(HighlightingReconciler.java:341)
at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler$2$1.exec(HighlightingReconciler.java:1)
at org.eclipse.xtext.util.concurrent.CancelableUnitOfWork.exec(CancelableUnitOfWork.java:26)
at org.eclipse.xtext.resource.OutdatedStateManager.exec(OutdatedStateManager.java:91)
at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.internalReadOnly(XtextDocument.java:520)
at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.readOnly(XtextDocument.java:492)
at org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(XtextDocument.java:133)
at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler$2.run(HighlightingReconciler.java:336)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

Installed Bundles:

com.google.eclipse.protobuf 2.3.2.201609161849
com.google.eclipse.protobuf.ui 2.3.2.201609161849
org.eclipse.core.jobs 3.9.0.v20170322-0013
org.eclipse.xtext.ide 2.12.0.v20170518-0959
org.eclipse.xtext 2.12.0.v20170518-0959
org.eclipse.xtext.ui 2.12.0.v20170519-0809
org.eclipse.xtext.util 2.12.0.v20170518-0959

AERI incident ID 59ba4cd6e4b07a83ba477f5c