java.io.IOException: java.lang.IllegalArgumentException: Numbers of source Raster bands and source color space components do not match

GitHub | adolski | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Java2dProcessor fails to read JPEG image

    GitHub | 7 months ago | adolski
    java.io.IOException: java.lang.IllegalArgumentException: Numbers of source Raster bands and source color space components do not match
  2. 0

    Error rendering 'com.atlassian.jira.jira-view-issue-plugin:attachmentmodule'. - Atlassian Answers

    atlassian.com | 11 months ago
    java.lang.IllegalArgumentException: Numbers of source Raster bands and source color space components do not match

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Numbers of source Raster bands and source color space components do not match

      at java.awt.image.ColorConvertOp.filter()
    2. Java RT
      JPEGImageReader.read
      1. java.awt.image.ColorConvertOp.filter(ColorConvertOp.java:482)[na:1.8.0_91]
      2. com.sun.imageio.plugins.jpeg.JPEGImageReader.acceptPixels(JPEGImageReader.java:1268)[na:1.8.0_91]
      3. com.sun.imageio.plugins.jpeg.JPEGImageReader.readImage(Native Method)[na:1.8.0_91]
      4. com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:1236)[na:1.8.0_91]
      5. com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:1039)[na:1.8.0_91]
      5 frames
    3. edu.illinois.library
      ImageRepresentation.write
      1. edu.illinois.library.cantaloupe.processor.ImageIoImageReader.tileAwareRead(ImageIoImageReader.java:559)[classes/:na]
      2. edu.illinois.library.cantaloupe.processor.ImageIoImageReader.read(ImageIoImageReader.java:350)[classes/:na]
      3. edu.illinois.library.cantaloupe.processor.Java2dProcessor.process(Java2dProcessor.java:122)[classes/:na]
      4. edu.illinois.library.cantaloupe.resource.ImageRepresentation.doWrite(ImageRepresentation.java:132)[classes/:na]
      5. edu.illinois.library.cantaloupe.resource.ImageRepresentation.write(ImageRepresentation.java:90)[classes/:na]
      5 frames
    4. org.restlet.engine
      ServerCall.sendResponse
      1. org.restlet.engine.adapter.ServerCall.writeResponseBody(ServerCall.java:513)[org.restlet-2.3.7.jar:na]
      2. org.restlet.engine.adapter.ServerCall.sendResponse(ServerCall.java:457)[org.restlet-2.3.7.jar:na]
      2 frames
    5. org.restlet.ext
      ServletCall.sendResponse
      1. org.restlet.ext.servlet.internal.ServletCall.sendResponse(ServletCall.java:421)[org.restlet.ext.servlet-2.3.7.jar:na]
      1 frame
    6. org.restlet.engine
      HttpServerHelper.handle
      1. org.restlet.engine.adapter.ServerAdapter.commit(ServerAdapter.java:187)[org.restlet-2.3.7.jar:na]
      2. org.restlet.engine.adapter.HttpServerHelper.handle(HttpServerHelper.java:144)[org.restlet-2.3.7.jar:na]
      2 frames
    7. org.restlet.ext
      ServerServlet.service
      1. org.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:1117)[org.restlet.ext.servlet-2.3.7.jar:na]
      1 frame
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[Cantaloupe-3.1.2.war:3.1.2]
      1 frame
    9. Jetty
      SelectChannelEndPoint$2.run
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:837)[Cantaloupe-3.1.2.war:3.1.2]
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)[Cantaloupe-3.1.2.war:3.1.2]
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)[Cantaloupe-3.1.2.war:3.1.2]
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)[Cantaloupe-3.1.2.war:3.1.2]
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)[Cantaloupe-3.1.2.war:3.1.2]
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1160)[Cantaloupe-3.1.2.war:3.1.2]
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)[Cantaloupe-3.1.2.war:3.1.2]
      8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[Cantaloupe-3.1.2.war:3.1.2]
      9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1092)[Cantaloupe-3.1.2.war:3.1.2]
      10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[Cantaloupe-3.1.2.war:3.1.2]
      11. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)[Cantaloupe-3.1.2.war:3.1.2]
      12. org.eclipse.jetty.server.Server.handle(Server.java:518)[Cantaloupe-3.1.2.war:3.1.2]
      13. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)[Cantaloupe-3.1.2.war:3.1.2]
      14. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244)[Cantaloupe-3.1.2.war:3.1.2]
      15. org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)[Cantaloupe-3.1.2.war:3.1.2]
      16. org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)[Cantaloupe-3.1.2.war:3.1.2]
      17. org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)[Cantaloupe-3.1.2.war:3.1.2]
      17 frames
    10. org.eclipse.jetty
      ExecuteProduceConsume.run
      1. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:246)[Cantaloupe-3.1.2.war:3.1.2]
      2. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:156)[Cantaloupe-3.1.2.war:3.1.2]
      2 frames
    11. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)[Cantaloupe-3.1.2.war:3.1.2]
      2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)[Cantaloupe-3.1.2.war:3.1.2]
      2 frames
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_91]
      1 frame