java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Unhandled event loop exception
    via GitHub by maxg
    ,
  • Attempting to make Nashorn thread safe
    via Stack Overflow by Kenny Howe
    ,
    • java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer at jdk.nashorn.internal.scripts.Script$\^eval\_$4._L1$_L1822$_L1836(<eval>:1852) at jdk.nashorn.internal.scripts.Script$\^eval\_.runScript(<eval>:1) at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:498) at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:206) at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:378) at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:546) Caused by: java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer at eclipseonut.ShareDoc$$Lambda$24/846757358.accept(Unknown Source) at jdk.nashorn.internal.scripts.Script$\^eval\_._L1$_L48(<eval>:59) at jdk.nashorn.internal.scripts.Script$\^eval\_$3._L1$_L1329(<eval>:1400) at jdk.nashorn.internal.scripts.Script$\^eval\_$3._L1$_L983(<eval>:1087) at jdk.nashorn.internal.scripts.Script$\^eval\_$4._L1$_L1881(<eval>:1938) at jdk.nashorn.internal.scripts.Script$\^eval\_$4._L1$_L1822$_L1836(<eval>:1847) ... 4 more
    No Bugmate found.