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)


Solutions on the web20079

Solution icon of github
via GitHub by maxg
, 6 months ago
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)

Solution icon of stackoverflow
java.lang.Integer cannot be cast to java.lang.Long at jdk.nashorn.internal.scripts.Script$1$\^eval\_.:program(<eval>:1)

Solution icon of apache
via incubator-mrql-user by Leonidas Fegaras, 1 year ago
org.apache.mrql.MR_int cannot be cast to org.apache.mrql.Bag at org.apache.mrql.MRQL_Lambda_5.eval(UserFunctions_0.java from JavaSourceFromString:27) at org.apache.mrql.MapReduceAlgebra$1.hasNext

Solution icon of stackoverflow
via Stack Overflow by LulzCop
, 1 year ago
java.lang.Integer cannot be cast to java.lang.Double</code> at:</p> <pre><code> at myPackage.myClass$1.compare(myClass.java:124)

Solution icon of bugzilla
via Eclipse Bugzilla by petarbankovic, 1 year ago
java.lang.Integer cannot be cast to java.lang.Double

Solution icon of bugzilla
java.lang.Integer cannot be cast to java.lang.Double

Solution icon of bugzilla
via Eclipse Bugzilla by julien.ponge, 1 year ago
java.lang.Double cannot be cast to java.lang.Integer

Solution icon of github
java.lang.Double cannot be cast to java.lang.Integer

Solution icon of github
java.lang.Integer cannot be cast to java.lang.Double

Solution icon of github
java.lang.Integer cannot be cast to java.lang.Double

Stack trace

  • 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

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.