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

Java 9 InaccessibleObjectException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.6, 3.0.0 PDFBox
    • Rendering

    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

              tilman Tilman Hausherr
              ssteiner Simon Steiner
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: