java.lang.IndexOutOfBoundsException: Illegal argument: "numBands=0".

Oracle Community | dbaskar | 7 years ago
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

    GEORASTER band size

    Oracle Community | 7 years ago | dbaskar
    java.lang.IndexOutOfBoundsException: Illegal argument: "numBands=0".

    Root Cause Analysis

    1. java.lang.IndexOutOfBoundsException

      Illegal argument: "numBands=0".

      at org.geotools.image.ImageWorker.retainBands()
    2. org.geotools.image
      1. org.geotools.image.ImageWorker.retainBands(
      2. org.geotools.image.ImageWorker.writeJPEG(
      2 frames