ICEpdf
  1. ICEpdf
  2. PDF-161

Not a JPEG file: starts with 0x0a 0xff

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1, 4.0.1
    • Fix Version/s: 4.1
    • Component/s: Unknown
    • Labels:
      None
    • Environment:
      JAI

      Description

      Feb 17, 2010 9:20:47 PM org.icepdf.core.pobjects.Stream dctDecode
      FINE: Problem loading JPEG image via JPEGImageDecoder:
      com.sun.image.codec.jpeg.ImageFormatException: Not a JPEG file: starts with 0x0a 0xff
      at sun.awt.image.codec.JPEGImageDecoderImpl.readJPEGStream(Native Method)
      at sun.awt.image.codec.JPEGImageDecoderImpl.decodeAsRaster(JPEGImageDecoderImpl.java:187)
      at org.icepdf.core.pobjects.Stream.dctDecode(Stream.java:701)
      at org.icepdf.core.pobjects.Stream.decodeCCITTFaxDecodeOrDCTDecodeOrJBIG2DecodeImage(Stream.java:540)
      at org.icepdf.core.pobjects.Stream.getImage(Stream.java:1741)
      at org.icepdf.core.pobjects.Stream.getImage(Stream.java:1704)
      at org.icepdf.core.util.ContentParser.parseInlineImage(ContentParser.java:1559)
      at org.icepdf.core.util.ContentParser.parse(ContentParser.java:799)
      at org.icepdf.core.pobjects.Form.init(Form.java:185)
      at org.icepdf.core.util.ContentParser.parse(ContentParser.java:410)
      at org.icepdf.core.pobjects.Page.init(Page.java:369)
      at org.icepdf.core.views.swing.PageViewComponentImpl$PageInitilizer.run(PageViewComponentImpl.java:1088)
      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:637)
      Error: One factory fails for the operation "jpeg"
      Occurs in: javax.media.jai.ThreadSafeOperationRegistry
      java.lang.reflect.InvocationTargetException

        Activity

        Tyler Johnson created issue -
        Tyler Johnson made changes -
        Field Original Value New Value
        Environment - JAI
        Salesforce Case [5007000000AqXIj]
        Tyler Johnson made changes -
        Attachment handelsblatt_seite-1.pdf [ 12215 ]
        Patrick Corless made changes -
        Fix Version/s 4.1 [ 10227 ]
        Patrick Corless made changes -
        Assignee Patrick Corless [ patrick.corless ] Mark Collette [ mark.collette ]
        Patrick Corless made changes -
        Assignee Mark Collette [ mark.collette ] Patrick Corless [ patrick.corless ]
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: