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

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

    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
      ImageWorker.writeJPEG
      1. org.geotools.image.ImageWorker.retainBands(ImageWorker.java:1467)
      2. org.geotools.image.ImageWorker.writeJPEG(ImageWorker.java:2354)
      2 frames