ICEpdf
  1. ICEpdf
  2. PDF-45

java.io.IOException at Document.setInputStream

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 3.0
    • Fix Version/s: 4.0
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      -

      Description

      The attached PDF cannot be opened. It says the file is not support and/or corrupt along with throwing the following exception:

      FINE: Error opening document.
      java.io.IOException
      at org.icepdf.core.pobjects.Document.setInputStream(Document.java:465)
      at org.icepdf.core.pobjects.Document.setFile(Document.java:204)
      at org.icepdf.ri.common.SwingController.openDocument(SwingController.java:1269)
      at org.icepdf.ri.common.SwingController.openFileInSomeViewer(SwingController.java:1237)
      at org.icepdf.ri.common.SwingController.openFile(SwingController.java:1217)
      at org.icepdf.ri.common.SwingController$6.run(SwingController.java:2848)
      at java.awt.event.InvocationEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)

        Activity

        Hide
        Patrick Corless added a comment -

        The file in question uses a Crypt filter to encrypt the parts of the document content. Surprisingly this is the first crypt filter file that we have seen in the wild. At this time we currently don't support this encryption type. This bug falls into the feature request category.

        Show
        Patrick Corless added a comment - The file in question uses a Crypt filter to encrypt the parts of the document content. Surprisingly this is the first crypt filter file that we have seen in the wild. At this time we currently don't support this encryption type. This bug falls into the feature request category.
        Hide
        Patrick Corless added a comment -

        Created a new bug for crypt filter support in http://jira.icefaces.org/browse/PDF-122

        Show
        Patrick Corless added a comment - Created a new bug for crypt filter support in http://jira.icefaces.org/browse/PDF-122

          People

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

            Dates

            • Created:
              Updated:
              Resolved: