ceylon-ide-eclipse
ceylon-ide-eclipse copied to clipboard
Errors in code can cause the IDE to crash
This only happens in the Ceylon IDE and not JDT, but Ceylon isn't mentioned in the error message. I also haven't experienced this on macOS.
The error message...
An error has occurred. See error log for more details.
Bad type on operand stack
Exception Details:
Location:
org/eclipse/gef/dot/internal/ui/language/highlighting/antlr/lexer/CustomHighlightingInternalDotLexer.<init>()V @21: invokespecial
Reason:
Type 'org/eclipse/gef/dot/internal/ui/language/highlighting/antlr/lexer/CustomHighlightingInternalDotLexer' (current frame, stack[4]) is not assignable to 'org/antlr/runtime/BaseRecognizer'
Current Frame:
bci: @21
flags: { }
locals: { 'org/eclipse/gef/dot/internal/ui/language/highlighting/antlr/lexer/CustomHighlightingInternalDotLexer' }
stack: { 'org/eclipse/gef/dot/internal/ui/language/highlighting/antlr/lexer/CustomHighlightingInternalDotLexer', uninitialized 15, uninitialized 15, 'org/eclipse/gef/dot/internal/ui/language/highlighting/antlr/lexer/CustomHighlightingInternalDotLexer', 'org/eclipse/gef/dot/internal/ui/language/highlighting/antlr/lexer/CustomHighlightingInternalDotLexer' }
Bytecode:
0x0000000: 2ab7 0221 2a03 b501 df2a 03b5 01de 2abb
0x0000010: 017f 592a 2ab7 0220 b501 f32a bb01 7e59
0x0000020: 2a2a b702 1eb5 01f2 b1
Eclipse 4.7.3a, Java 1.8u162, Windows 10
Similar problem on Linux. I just noticed that in both cases these were Maven projects. This doesn't seem to happen with regular Ceylon projects.
Eclipse 4.7.3a, Java 1.8u162, Ubuntu 18.04