ICEpdf
  1. ICEpdf
  2. PDF-358

ArrayIndexOutOfBoundsException thrown by getColor()

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.2
    • Fix Version/s: 4.3
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      -

      Description

      There is an exception coming from the method that returns the color for the array of float values.

      FINE: Error initializing Page.
      java.lang.ArrayIndexOutOfBoundsException: 28
      at org.icepdf.core.pobjects.graphics.Indexed.getColor(Indexed.java:138)
      at org.icepdf.core.util.ContentParser.consume_sc(ContentParser.java:1784)
      at org.icepdf.core.util.ContentParser.parseText(ContentParser.java:1210)
      at org.icepdf.core.util.ContentParser.parse(ContentParser.java:277)
      at org.icepdf.core.pobjects.Page.init(Page.java:390)
      at org.icepdf.core.views.swing.PageViewComponentImpl$PageInitilizer.run(PageViewComponentImpl.java:1077)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:680)
      1. 10747.PDF
        30 kB
        Tyler Johnson

        Issue Links

          Activity

          Hide
          Patrick Corless added a comment -

          I've addressed the index out of bounds exception but there is still an issue with a pattern paint used to fill in the headers. I'm going to resolve this issue and add the sample file as a dependency to PDF-307 which better captures the pattern fill problem.

          Show
          Patrick Corless added a comment - I've addressed the index out of bounds exception but there is still an issue with a pattern paint used to fill in the headers. I'm going to resolve this issue and add the sample file as a dependency to PDF-307 which better captures the pattern fill problem.

            People

            • Assignee:
              Patrick Corless
              Reporter:
              Tyler Johnson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: