Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-3313

Java 9 InaccessibleObjectException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.6, 3.0.0 PDFBox
    • Component/s: Rendering
    • Labels:

      Description

      java -jar ~/pdf-box-svn/app/target/pdfbox-app-2.1.0-SNAPSHOT.jar PDFToImage expected.pdf
      Exception in thread "main" java.lang.reflect.InaccessibleObjectException: Unable to make member of class com.sun.imageio.plugins.jpeg.JPEGImageReader accessible: module java.desktop does not export com.sun.imageio.plugins.jpeg to unnamed module @72d1ad2e
      at sun.reflect.Reflection.throwInaccessibleObjectException(java.base@9-ea/Reflection.java:420)
      at java.lang.reflect.AccessibleObject.checkCanSetAccessible(java.base@9-ea/AccessibleObject.java:174)
      at java.lang.reflect.Field.checkCanSetAccessible(java.base@9-ea/Field.java:170)
      at java.lang.reflect.Field.setAccessible(java.base@9-ea/Field.java:164)
      at org.apache.pdfbox.filter.DCTFilter.decode(DCTFilter.java:119)

        Attachments

        1. expected.pdf
          9 kB
          simon steiner

          Issue Links

            Activity

              People

              • Assignee:
                tilman Tilman Hausherr
                Reporter:
                ssteiner1 simon steiner
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: