[ https://issues.apache.org/jira/browse/PDFBOX-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14164856#comment-14164856 ]
John Hewson commented on PDFBOX-2299: ------------------------------------- The Isartor tests are now enabled by default when doing a "mvn install". I made some performance improvements so that TestIsartor only adds around 7 seconds to the build time (on my machine). > Isartor tests don't work anymore > -------------------------------- > > Key: PDFBOX-2299 > URL: https://issues.apache.org/jira/browse/PDFBOX-2299 > Project: PDFBox > Issue Type: Bug > Components: Preflight > Affects Versions: 2.0.0 > Reporter: Tilman Hausherr > Assignee: John Hewson > Priority: Critical > Labels: Isartor, regression > Attachments: patchPdfbox2299.txt > > > 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). > {code} > ------------------------------------------------------------------------------- > 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) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)