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

Stack Overflow | Xiaokun | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    `ClassCastException` when case object with `ScriptEngine`

    Stack Overflow | 8 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