java.lang.UnsupportedOperationException: Unsupported token type [@-1,61767:61821='<EOF>',<-2>,0:-1]

GitHub | gavinking | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    lots of 'Unsupported token type' errors

    GitHub | 7 months ago | gavinking
    java.lang.UnsupportedOperationException: Unsupported token type [@-1,61767:61821='<EOF>',<-2>,0:-1]
  2. 0

    Unsupported token type [@-1,2919:2918='<EOF>',<-2>,0:-1] error in log

    GitHub | 4 months ago | MikhailMalyutin
    java.lang.UnsupportedOperationException: Unsupported token type [@-1,2919:2918='<EOF>',<-2>,0:-1]

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      Unsupported token type [@-1,61767:61821='<EOF>',<-2>,0:-1]

      at org.intellij.plugins.ceylon.ide.ceylonCode.psi.IdeaCeylonParser$CompilationUnitTranslator.buildLeaf()
    2. org.intellij.plugins
      IdeaCeylonParser.doParseContents
      1. org.intellij.plugins.ceylon.ide.ceylonCode.psi.IdeaCeylonParser$CompilationUnitTranslator.buildLeaf(IdeaCeylonParser.java:318)
      2. org.intellij.plugins.ceylon.ide.ceylonCode.psi.IdeaCeylonParser$CompilationUnitTranslator.visit(IdeaCeylonParser.java:200)
      3. org.intellij.plugins.ceylon.ide.ceylonCode.psi.IdeaCeylonParser$CompilationUnitTranslator.translateToAstNode(IdeaCeylonParser.java:183)
      4. org.intellij.plugins.ceylon.ide.ceylonCode.psi.IdeaCeylonParser.doParseContents(IdeaCeylonParser.java:108)
      4 frames
    3. IDEA
      LazyParseableElement.getLastChildNode
      1. com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:43)
      2. com.intellij.psi.impl.source.tree.LazyParseableElement.ensureParsed(LazyParseableElement.java:192)
      3. com.intellij.psi.impl.source.tree.LazyParseableElement.getLastChildNode(LazyParseableElement.java:237)
      4. com.intellij.psi.impl.source.tree.LazyParseableElement.getLastChildNode(LazyParseableElement.java:39)
      4 frames
    4. org.intellij.plugins
      CeylonLocalAnalyzerManager$10$2$1.$call$
      1. org.intellij.plugins.ceylon.ide.ceylonCode.psi.CeylonLocalAnalyzerManager$10$2$1.$call$(CeylonLocalAnalyzerManager.ceylon:248)
      1 frame
    5. ceylon.interop.java
      JavaRunnable.run
      1. ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
      1 frame
    6. IDEA
      ApplicationImpl.runReadAction
      1. com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:850)
      1 frame
    7. org.intellij.plugins
      CeylonLocalAnalyzerManager$10$2.$call$
      1. org.intellij.plugins.ceylon.ide.ceylonCode.psi.CeylonLocalAnalyzerManager$10$2.$call$(CeylonLocalAnalyzerManager.ceylon:245)
      1 frame
    8. ceylon.interop.java
      JavaRunnable.run
      1. ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7)
      1 frame
    9. IDEA
      LaterInvocator$FlushQueue.run
      1. com.intellij.openapi.util.ExecutionCallback.setExecuted(ExecutionCallback.java:58)
      2. com.intellij.openapi.util.ActionCallback.setDone(ActionCallback.java:72)
      3. com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:327)
      4. com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:310)
      4 frames
    10. Java RT
      EventQueue.dispatchEvent
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
      3. java.awt.EventQueue.access$500(EventQueue.java:97)
      4. java.awt.EventQueue$3.run(EventQueue.java:709)
      5. java.awt.EventQueue$3.run(EventQueue.java:703)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
      8 frames
    11. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:863)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:699)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385)
      3 frames
    12. Java RT
      EventDispatchThread.run
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      6. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
      6 frames