java.lang.ClassCastException: Cannot cast java.lang.String to [B

filebot.net | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    ClassCastException: Cannot cast java.lang.String to [B - FileBot

    filebot.net | 8 months ago
    java.lang.ClassCastException: Cannot cast java.lang.String to [B

    Root Cause Analysis

    1. java.lang.ClassCastException

      Cannot cast java.lang.String to [B

      at net.filebot.CachedResource.get()
    2. net.filebot
      CachedResource.get
      1. net.filebot.CachedResource.get(CachedResource.java:107)
      1 frame
    3. net.filebot.media
      ReleaseInfo.lambda$resource$18
      1. net.filebot.media.ReleaseInfo.lambda$resource$18(ReleaseInfo.java:490)
      1 frame
    4. net.filebot
      MemoizedResource.get
      1. net.filebot.TransformedResource.get(Resource.java:54)
      2. net.filebot.MemoizedResource.get(Resource.java:36)
      2 frames
    5. net.filebot.media
      MediaDetection.detectSeriesNames
      1. net.filebot.media.ReleaseInfo.getSeriesMappings(ReleaseInfo.java:367)
      2. net.filebot.media.MediaDetection.matchSeriesMappings(MediaDetection.java:466)
      3. net.filebot.media.MediaDetection.detectSeriesNames(MediaDetection.java:357)
      4. net.filebot.media.MediaDetection.detectSeriesNames(MediaDetection.java:327)
      4 frames
    6. net.filebot.cli
      ScriptShellBaseClass.detectSeriesName
      1. net.filebot.cli.ScriptShellBaseClass.detectSeriesName(ScriptShellBaseClass.java:226)
      2. net.filebot.cli.ScriptShellBaseClass.detectSeriesName(ScriptShellBaseClass.java:214)
      2 frames
    7. Unknown
      Script1.run
      1. Script1$_run_closure68.doCall(Script1.groovy:279)
      2. Script1.run(Script1.groovy:270)
      2 frames
    8. net.filebot.cli
      ArgumentProcessor.run
      1. net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:62)
      2. net.filebot.cli.ScriptShell.runScript(ScriptShell.java:72)
      3. net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:114)
      4. net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:29)
      4 frames
    9. net.filebot
      Main.main
      1. net.filebot.Main.main(Main.java:120)
      1 frame