java.lang.ClassCastException: java.util.Collections$UnmodifiableRandomAccessList cannot be cast to com.koushikdutta.async.e.l

GitHub | mightyfrog | 3 months ago
  1. 0

    ClassCastException

    GitHub | 3 months ago | mightyfrog
    java.lang.ClassCastException: java.util.Collections$UnmodifiableRandomAccessList cannot be cast to com.koushikdutta.async.e.l
  2. 0
  3. 0

    Output of my job: {noformat} Started by user anonymous FATAL: java.util.Collections$UnmodifiableRandomAccessList cannot be cast to java.io.File java.lang.ClassCastException: java.util.Collections$UnmodifiableRandomAccessList cannot be cast to java.io.File at org.codehaus.groovy.runtime.dgm$162.invoke(Unknown Source) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at com.cloudbees.plugins.flow.FlowDSL.executeFlowScript(FlowDSL.groovy:44) at com.cloudbees.plugins.flow.FlowRun$RunnerImpl.doRun(FlowRun.java:130) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:467) at hudson.model.Run.run(Run.java:1404) at com.cloudbees.plugins.flow.FlowRun.run(FlowRun.java:112) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66) {noformat} My build flow is very simple for now: {noformat} build("Run tests") {noformat}

    Jenkins JIRA | 4 years ago | Tomasz Melcer
    java.lang.ClassCastException: java.util.Collections$UnmodifiableRandomAccessList cannot be cast to java.io.File
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [Regression] Exception is thrown out when highlight condition with "In" [0302]

    Eclipse Bugzilla | 8 years ago | xwang
    org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report
  6. 0

    Crash when going to second page of an aura description

    GitHub | 10 months ago | Sanaradain
    java.lang.ClassCastException: java.util.Collections$UnmodifiableRandomAccessList cannot be cast to java.util.ArrayList

    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. java.lang.ClassCastException

      java.util.Collections$UnmodifiableRandomAccessList cannot be cast to com.koushikdutta.async.e.l

      at com.koushikdutta.async.http.Headers.toStringBuilder()
    2. AndroidAsync
      AsyncHttpResponseImpl.toString
      1. com.koushikdutta.async.http.Headers.toStringBuilder(SourceFile:114)
      2. com.koushikdutta.async.http.Headers.toPrefixString(SourceFile:133)
      3. com.koushikdutta.async.http.AsyncHttpResponseImpl.toString(SourceFile:167)
      3 frames
    3. Java RT
      StringBuilder.append
      1. java.lang.StringBuilder.append(StringBuilder.java:202)
      1 frame
    4. AndroidAsync
      AsyncServer$13.run
      1. com.koushikdutta.async.Util.emitAllData(SourceFile:49)
      2. com.koushikdutta.async.FilteredDataEmitter.onDataAvailable(SourceFile:56)
      3. com.koushikdutta.async.Util.emitAllData(SourceFile:23)
      4. com.koushikdutta.async.FilteredDataEmitter.onDataAvailable(SourceFile:56)
      5. com.koushikdutta.async.http.cache.ResponseCacheMiddleware$CachedBodyEmitter.sendCachedDataOnNetworkThread(SourceFile:460)
      6. com.koushikdutta.async.http.cache.ResponseCacheMiddleware$CachedBodyEmitter$1.run(SourceFile:428)
      7. com.koushikdutta.async.AsyncServer.lockAndRunQueue(SourceFile:709)
      8. com.koushikdutta.async.AsyncServer.runLoop(SourceFile:723)
      9. com.koushikdutta.async.AsyncServer.run(SourceFile:5627)
      10. com.koushikdutta.async.AsyncServer$13.run(SourceFile:569)
      10 frames