org.codehaus.groovy.runtime.typehandling.GroovyCastException

Cannot cast object 'null' with class 'null' to class 'int'. Try 'java.lang.Integer' instead at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.cast ToNumber(DefaultTypeTransformation.java:146) at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.intU nbox(DefaultTypeTransformation.java:60) at ss.FullScript_Domme_discipline.run(script1455808959984422835616.groovy: 52)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web177

  • via deviatenow.com by Unknown author, 10 months ago
    Cannot cast object 'null' with class 'null' to class 'int'. Try 'java.lang.Integer' instead at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.cast ToNumber(DefaultTypeTransformation.java:146) at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.intU nbox(DefaultTypeTransformation.java:60) at ss.FullScript_Domme_discipline.run(script1455808959984422835616.groovy: 52)
  • via GitHub by michaelrice
    , 1 year ago
    Cannot cast object '{}' with class groovy.util.ConfigObject' to class 'java.lang.Integer' at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.castToNumber(DefaultTypeTransformation.java:146) at
  • Cannot cast object 'ch.qos.logback.core.ConsoleAppender[null]' with class 'ch.qos.logback.core.ConsoleAppender' to class 'ch.qos.logback.core.Appender' at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.castToType(DefaultTypeTransformation.java:360)
  • Stack trace

    • org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'null' with class 'null' to class 'int'. Try 'java.lang.Integer' instead at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.cast ToNumber(DefaultTypeTransformation.java:146) at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.intU nbox(DefaultTypeTransformation.java:60) at ss.FullScript_Domme_discipline.run(script1455808959984422835616.groovy: 52) at ss.desktop.MainFrame$2.run(MainFrame.java:605)

    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’re the first here who have seen this exception.