java.lang.IndexOutOfBoundsException

Illegal argument: "numBands=0".

Solutions on the web3820

  • via Oracle Community by dbaskar, 11 months ago
    Illegal argument: "numBands=0".
  • via Eclipse Bugzilla by martin.skorsky, 1 year ago
    Illegal start index
  • Stack trace

    • java.lang.IndexOutOfBoundsException: Illegal argument: "numBands=0". at org.geotools.image.ImageWorker.retainBands(ImageWorker.java:1467) at org.geotools.image.ImageWorker.writeJPEG(ImageWorker.java:2354)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.