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

Isartor tests don't work anymore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • Preflight

    Description

      Sorry, I hadn't thought about this when testing the no-awt version, but the Isartor tests don't work anymore (I have them enabled for my own version since PDFBOX-2179).

      -------------------------------------------------------------------------------
      Test set: org.apache.pdfbox.preflight.TestIsartor
      -------------------------------------------------------------------------------
      Tests run: 204, Failures: 35, Errors: 0, Skipped: 0, Time elapsed: 29.485 sec <<< FAILURE! - in org.apache.pdfbox.preflight.TestIsartor
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.2 Graphics\6.2.3 Colour spaces\6.2.3.3 Uncalibrated colour spaces\isartor-6-2-3-3-t02-fail-h.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.092 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-2-3-3-t02-fail-h.pdf : IllegalArgumentException raised , message=Built-in Encoding required for symbolic font
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.2 Graphics\6.2.3 Colour spaces\6.2.3.3 Uncalibrated colour spaces\isartor-6-2-3-3-t02-fail-i.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.006 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-2-3-3-t02-fail-i.pdf : IllegalArgumentException raised , message=Built-in Encoding required for symbolic font
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.3 Fonts\6.3.2 Font types\isartor-6-3-2-t01-fail-b.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 1.837 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-3-2-t01-fail-b.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.3 Fonts\6.3.3 Composite fonts\6.3.3.1 General\isartor-6-3-3-1-t01-fail-a.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.191 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-3-3-1-t01-fail-a.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.3 Fonts\6.3.3 Composite fonts\6.3.3.1 General\isartor-6-3-3-1-t01-fail-b.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.051 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-3-3-1-t01-fail-b.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.3 Fonts\6.3.3 Composite fonts\6.3.3.2 CIDFonts\isartor-6-3-3-2-t01-fail-a.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.051 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-3-3-2-t01-fail-a.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.3 Fonts\6.3.3 Composite fonts\6.3.3.3 CMaps\isartor-6-3-3-3-t01-fail-a.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.199 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-3-3-3-t01-fail-a.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.3 Fonts\6.3.3 Composite fonts\6.3.3.3 CMaps\isartor-6-3-3-3-t02-fail-a.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.042 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-3-3-3-t02-fail-a.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.3 Fonts\6.3.4 Embedded font programs\isartor-6-3-4-t01-fail-a.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.046 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-3-4-t01-fail-a.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.3 Fonts\6.3.4 Embedded font programs\isartor-6-3-4-t01-fail-b.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.011 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-3-4-t01-fail-b.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.3 Fonts\6.3.4 Embedded font programs\isartor-6-3-4-t01-fail-c.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.03 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-3-4-t01-fail-c.pdf : UnsupportedOperationException raised , message=not implemented: missing CFF
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.3 Fonts\6.3.4 Embedded font programs\isartor-6-3-4-t01-fail-d.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.01 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-3-4-t01-fail-d.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.3 Fonts\6.3.4 Embedded font programs\isartor-6-3-4-t01-fail-e.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.011 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-3-4-t01-fail-e.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.3 Fonts\6.3.4 Embedded font programs\isartor-6-3-4-t01-fail-f.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.027 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-3-4-t01-fail-f.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.3 Fonts\6.3.4 Embedded font programs\isartor-6-3-4-t01-fail-g.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.013 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-3-4-t01-fail-g.pdf : IllegalArgumentException raised , message=Built-in Encoding required for symbolic font
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.3 Fonts\6.3.4 Embedded font programs\isartor-6-3-4-t01-fail-h.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.01 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-3-4-t01-fail-h.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.3 Fonts\6.3.5 Font subsets\isartor-6-3-5-t01-fail-a.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.029 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-3-5-t01-fail-a.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.3 Fonts\6.3.5 Font subsets\isartor-6-3-5-t01-fail-b.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.013 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-3-5-t01-fail-b.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.3 Fonts\6.3.5 Font subsets\isartor-6-3-5-t01-fail-c.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.036 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-3-5-t01-fail-c.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.3 Fonts\6.3.5 Font subsets\isartor-6-3-5-t01-fail-d.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.088 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-3-5-t01-fail-d.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.3 Fonts\6.3.5 Font subsets\isartor-6-3-5-t02-fail-a.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-3-5-t02-fail-a.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.3 Fonts\6.3.5 Font subsets\isartor-6-3-5-t03-fail-a.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.001 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-3-5-t03-fail-a.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.3 Fonts\6.3.6 Font metrics\isartor-6-3-6-t01-fail-a.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.053 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-3-6-t01-fail-a.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.3 Fonts\6.3.6 Font metrics\isartor-6-3-6-t01-fail-b.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.067 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-3-6-t01-fail-b.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.3 Fonts\6.3.6 Font metrics\isartor-6-3-6-t01-fail-c.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.08 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-3-6-t01-fail-c.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.3 Fonts\6.3.7 Character encodings\isartor-6-3-7-t01-fail-a.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.022 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-3-7-t01-fail-a.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.3 Fonts\6.3.7 Character encodings\isartor-6-3-7-t02-fail-a.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.011 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-3-7-t02-fail-a.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.3 Fonts\6.3.7 Character encodings\isartor-6-3-7-t03-fail-a.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.023 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-3-7-t03-fail-a.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.5 Annotations\6.5.2 Annotation types\isartor-6-5-2-t01-fail-b.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.013 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-5-2-t01-fail-b.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.5 Annotations\6.5.3 Annotation dictionaries\isartor-6-5-3-t04-fail-a.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.004 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-5-3-t04-fail-a.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.5 Annotations\6.5.3 Annotation dictionaries\isartor-6-5-3-t04-fail-b.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.014 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-5-3-t04-fail-b.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.5 Annotations\6.5.3 Annotation dictionaries\isartor-6-5-3-t04-fail-c.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.013 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-5-3-t04-fail-c.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.5 Annotations\6.5.3 Annotation dictionaries\isartor-6-5-3-t04-fail-d.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.011 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-5-3-t04-fail-d.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.9 Interactive Forms\isartor-6-9-t02-fail-a.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.019 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-9-t02-fail-a.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      
      validate[target\pdfs\Isartor testsuite\PDFA-1b\6.9 Interactive Forms\isartor-6-9-t02-fail-b.pdf](org.apache.pdfbox.preflight.TestIsartor)  Time elapsed: 0.032 sec  <<< FAILURE!
      java.lang.AssertionError: isartor-6-9-t02-fail-b.pdf : NullPointerException raised , message=null
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.pdfbox.preflight.TestIsartor.validate(TestIsartor.java:175)
      

      Attachments

        1. patchPdfbox2299.txt
          0.6 kB
          Ralf Hauser

        Issue Links

          Activity

            People

              jahewson John Hewson
              tilman Tilman Hausherr
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: