java.lang.ClassCastException: test.testScriptEngine.Output cannot be cast to test.testScriptEngine.Output

Stack Overflow | Xiaokun | 9 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

    `ClassCastException` when case object with `ScriptEngine`

    Stack Overflow | 9 months ago | Xiaokun
    java.lang.ClassCastException: test.testScriptEngine.Output cannot be cast to test.testScriptEngine.Output

    Root Cause Analysis

    1. java.lang.ClassCastException

      test.testScriptEngine.Output cannot be cast to test.testScriptEngine.Output

      at test.testScriptEngine.App.runSript()
    2. test.testScriptEngine
      App.main
      1. test.testScriptEngine.App.runSript(App.java:31)
      2. test.testScriptEngine.App.main(App.java:15)
      2 frames