org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'org.slf4j.helpers.NOPLoggerFactory@c267ef4' with class 'org.slf4j.helpers.NOPLoggerFactory' to class 'ch.qos.logback.classic.LoggerContext'

GitHub | mohamnag | 5 months ago
  1. 0

    GitHub comment 145#232079333

    GitHub | 5 months ago | mohamnag
    org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'org.slf4j.helpers.NOPLoggerFactory@c267ef4' with class 'org.slf4j.helpers.NOPLoggerFactory' to class 'ch.qos.logback.classic.LoggerContext'
  2. 0

    [groovy-user] Wrappers and return typecasts

    Google Groups | 2 years ago | John Smiljanic
    org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'ExprEvalWrapper@698d6d30' with class 'ExprEvalWrapper' to class 'Row'
  3. 0

    Use HttpClient interface

    GitHub | 1 year ago | fededonna
    org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'com.mulesoft.httpclient.utils.GatewayHttpClient@5021b526' with class 'com.mulesoft.httpclient.utils.GatewayHttpClient' to class 'org.apache.http.impl.client.AbstractHttpClient'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GroovyCastException on getWebAppDir

    GitHub | 1 year ago | ias-dt
    org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'src/main/webapp' with class 'java.lang.String' to class 'java.io.File'
  6. 0

    .GroovyCastException Exception when using GrettyStartTask

    GitHub | 3 years ago | rainoko
    org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'org.akhikhl.gretty7.ScannerManager@45b109c6' with class 'org.akhikhl.gretty7.ScannerManager' to class 'org.akhikhl.gretty.ScannerManagerBase'

  1. serious2monkeys 3 times, last 1 week ago
  2. Cafecanudo 1 times, last 4 months ago
  3. mortalman7 1 times, last 4 months ago
8 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.codehaus.groovy.runtime.typehandling.GroovyCastException

    Cannot cast object 'org.slf4j.helpers.NOPLoggerFactory@c267ef4' with class 'org.slf4j.helpers.NOPLoggerFactory' to class 'ch.qos.logback.classic.LoggerContext'

    at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.continueCastOnSAM()
  2. Groovy
    ScriptBytecodeAdapter.castToType
    1. org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.continueCastOnSAM(DefaultTypeTransformation.java:392)
    2. org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.continueCastOnNumber(DefaultTypeTransformation.java:306)
    3. org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.castToType(DefaultTypeTransformation.java:227)
    4. org.codehaus.groovy.runtime.ScriptBytecodeAdapter.castToType(ScriptBytecodeAdapter.java:601)
    4 frames
  3. gretty-helper-commons
    Runner$initLogback$0.callStatic
    1. org.akhikhl.gretty.Runner.initLogback(Runner.groovy:50)
    2. org.akhikhl.gretty.Runner$initLogback$0.callStatic(Unknown Source)
    2 frames
  4. Groovy
    AbstractCallSite.callStatic
    1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:53)
    2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:157)
    3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:165)
    3 frames
  5. gretty-helper-commons
    Runner$this$2$run.call
    1. org.akhikhl.gretty.Runner.run(Runner.groovy:117)
    2. org.akhikhl.gretty.Runner.this$2$run(Runner.groovy)
    3. org.akhikhl.gretty.Runner$this$2$run.call(Unknown Source)
    3 frames
  6. Groovy
    AbstractCallSite.call
    1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
    2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
    3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
    3 frames
  7. gretty-helper-commons
    Runner.main
    1. org.akhikhl.gretty.Runner.main(Runner.groovy:46)
    1 frame