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(script1455809371234422835616.groovy: 52)

Solutions on the web175

  • 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(script1455809371234422835616.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(script1455809371234422835616.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 are the first who have seen this exception. Write a tip to help other users and build your expert profile.