[jira] [Commented] (PDFBOX-3532) Java 6 errors

2016-10-22 Thread Tilman Hausherr (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598211#comment-15598211
 ] 

Tilman Hausherr commented on PDFBOX-3532:
-

Thanks for all the work!

> Java 6 errors
> -
>
> Key: PDFBOX-3532
> URL: https://issues.apache.org/jira/browse/PDFBOX-3532
> Project: PDFBox
>  Issue Type: Bug
>Affects Versions: 1.8.12, 2.0.3
>Reporter: simon steiner
>Assignee: Tilman Hausherr
> Fix For: 1.8.13, 2.0.4, 2.1.0
>
>
> Under java 6 and 8 and clean ~/.m2 directory:
> mvn clean install -DskipTests
> Downloading: 
> http://www.pdfa.org/wp-content/uploads/2011/08/isartor-pdfa-2008-08-13.zip
> javax.net.ssl.SSLHandshakeException: 
> sun.security.validator.ValidatorException: PKIX path building failed: 
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
> valid certification path to requested target
> Java 6 only:
> [ERROR] 
> pdf-box-svn/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestPDDocument.java:[205,41]
>  cannot find symbol
> [ERROR] symbol  : class Builder
> [ERROR] location: class java.util.Locale



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-3540) Trailer Syntax error, ID is different in the first and the last trailer - for PDF with incremental updates

2016-10-22 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-3540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598172#comment-15598172
 ] 

ASF subversion and git services commented on PDFBOX-3540:
-

Commit 1766219 from [~tilman] in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1766219 ]

PDFBOX-3540: clarify comment

> Trailer Syntax error, ID is different in the first and the last trailer - for 
> PDF with incremental updates
> --
>
> Key: PDFBOX-3540
> URL: https://issues.apache.org/jira/browse/PDFBOX-3540
> Project: PDFBox
>  Issue Type: Bug
>  Components: Preflight
>Affects Versions: 1.8.12, 2.0.3
>Reporter: Maruan Sahyoun
>Assignee: Tilman Hausherr
> Fix For: 2.0.4, 2.1.0
>
> Attachments: Pardes13_Rez02.pdf, testfile_original.pdf, 
> testfile_signed_once.pdf, testfile_signed_twice.pdf
>
>
> As reported at the users mailing list:
> 
> Hello guys,
> I have the following problem using apache.pdfbox when validating a valid 
> PDF/A-1 file, which is being signed twice:
> 1. The online validator confirms that the file is valid 
> (https://www.pdf-tools.com/pdf/validate-pdfa-online.aspx)
> 2. But when I validate it using the following code:
> {code}
> PreflightParser parser = new PreflightParser(byteDatasource);
> parser.parse();
> PreflightDocument document = parser.getPreflightDocument();
> document.validate();
> result = document.getResult();
> {code}
> 3. The file is linearized
> 4. I get that the file is invalid and the error description reads:
> {code}
> Trailer Syntax error, ID is different in the first and the last trailer
> {code}
> According to issues PDFBOX-3256 and PDFBOX-2502 this should be fixed?
> Could anyone give me a tip how to go around this problem or would that be a 
> bug?
> The pdf file is attached.
> 
> *Analysis:*
> The original PDF is linearized with a subsequent incremental update.
> According to ISO 32000-1 F1
> {quote}
> Incremental update shall still be permitted, but the resulting PDF is no 
> longer linearized and subsequently shall be treated as ordinary PDF. 
> Linearizing it again may require reprocessing the entire file; see G.7, 
> "Accessing an Updated File" for details.
> {quote}
> as the file shall no longer be treated as linearized the provision about 
> matching  ID's as outlined in PDFBOX-2502 no longer applies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-3540) Trailer Syntax error, ID is different in the first and the last trailer - for PDF with incremental updates

2016-10-22 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-3540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598173#comment-15598173
 ] 

ASF subversion and git services commented on PDFBOX-3540:
-

Commit 1766220 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1766220 ]

PDFBOX-3540: clarify comment

> Trailer Syntax error, ID is different in the first and the last trailer - for 
> PDF with incremental updates
> --
>
> Key: PDFBOX-3540
> URL: https://issues.apache.org/jira/browse/PDFBOX-3540
> Project: PDFBox
>  Issue Type: Bug
>  Components: Preflight
>Affects Versions: 1.8.12, 2.0.3
>Reporter: Maruan Sahyoun
>Assignee: Tilman Hausherr
> Fix For: 2.0.4, 2.1.0
>
> Attachments: Pardes13_Rez02.pdf, testfile_original.pdf, 
> testfile_signed_once.pdf, testfile_signed_twice.pdf
>
>
> As reported at the users mailing list:
> 
> Hello guys,
> I have the following problem using apache.pdfbox when validating a valid 
> PDF/A-1 file, which is being signed twice:
> 1. The online validator confirms that the file is valid 
> (https://www.pdf-tools.com/pdf/validate-pdfa-online.aspx)
> 2. But when I validate it using the following code:
> {code}
> PreflightParser parser = new PreflightParser(byteDatasource);
> parser.parse();
> PreflightDocument document = parser.getPreflightDocument();
> document.validate();
> result = document.getResult();
> {code}
> 3. The file is linearized
> 4. I get that the file is invalid and the error description reads:
> {code}
> Trailer Syntax error, ID is different in the first and the last trailer
> {code}
> According to issues PDFBOX-3256 and PDFBOX-2502 this should be fixed?
> Could anyone give me a tip how to go around this problem or would that be a 
> bug?
> The pdf file is attached.
> 
> *Analysis:*
> The original PDF is linearized with a subsequent incremental update.
> According to ISO 32000-1 F1
> {quote}
> Incremental update shall still be permitted, but the resulting PDF is no 
> longer linearized and subsequently shall be treated as ordinary PDF. 
> Linearizing it again may require reprocessing the entire file; see G.7, 
> "Accessing an Updated File" for details.
> {quote}
> as the file shall no longer be treated as linearized the provision about 
> matching  ID's as outlined in PDFBOX-2502 no longer applies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Resolved] (PDFBOX-3540) Trailer Syntax error, ID is different in the first and the last trailer - for PDF with incremental updates

2016-10-22 Thread Tilman Hausherr (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-3540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr resolved PDFBOX-3540.
-
   Resolution: Fixed
 Assignee: Tilman Hausherr
Fix Version/s: 2.1.0
   2.0.4

[~mayaangelova] this solves the problem you reported (thank you). You can find 
a new jar file here soon:
https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/preflight/2.0.4-SNAPSHOT/

> Trailer Syntax error, ID is different in the first and the last trailer - for 
> PDF with incremental updates
> --
>
> Key: PDFBOX-3540
> URL: https://issues.apache.org/jira/browse/PDFBOX-3540
> Project: PDFBox
>  Issue Type: Bug
>  Components: Preflight
>Affects Versions: 1.8.12, 2.0.3
>Reporter: Maruan Sahyoun
>Assignee: Tilman Hausherr
> Fix For: 2.0.4, 2.1.0
>
> Attachments: Pardes13_Rez02.pdf, testfile_original.pdf, 
> testfile_signed_once.pdf, testfile_signed_twice.pdf
>
>
> As reported at the users mailing list:
> 
> Hello guys,
> I have the following problem using apache.pdfbox when validating a valid 
> PDF/A-1 file, which is being signed twice:
> 1. The online validator confirms that the file is valid 
> (https://www.pdf-tools.com/pdf/validate-pdfa-online.aspx)
> 2. But when I validate it using the following code:
> {code}
> PreflightParser parser = new PreflightParser(byteDatasource);
> parser.parse();
> PreflightDocument document = parser.getPreflightDocument();
> document.validate();
> result = document.getResult();
> {code}
> 3. The file is linearized
> 4. I get that the file is invalid and the error description reads:
> {code}
> Trailer Syntax error, ID is different in the first and the last trailer
> {code}
> According to issues PDFBOX-3256 and PDFBOX-2502 this should be fixed?
> Could anyone give me a tip how to go around this problem or would that be a 
> bug?
> The pdf file is attached.
> 
> *Analysis:*
> The original PDF is linearized with a subsequent incremental update.
> According to ISO 32000-1 F1
> {quote}
> Incremental update shall still be permitted, but the resulting PDF is no 
> longer linearized and subsequently shall be treated as ordinary PDF. 
> Linearizing it again may require reprocessing the entire file; see G.7, 
> "Accessing an Updated File" for details.
> {quote}
> as the file shall no longer be treated as linearized the provision about 
> matching  ID's as outlined in PDFBOX-2502 no longer applies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-3532) Java 6 errors

2016-10-22 Thread JIRA

[ 
https://issues.apache.org/jira/browse/PDFBOX-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598168#comment-15598168
 ] 

Andreas Lehmkühler commented on PDFBOX-3532:


Now, all 3 jobs are working again. I've adjusted the following points:
- added the above mentioned parameter as MAVEN_OPTS to all 3 jobs
- renamed the 1.8.x and the 2.0.x jobs to avoid a space character in the name 
and the path to the workspace
- added cacerts_jdk8u101 to the rat exclude rules

> Java 6 errors
> -
>
> Key: PDFBOX-3532
> URL: https://issues.apache.org/jira/browse/PDFBOX-3532
> Project: PDFBox
>  Issue Type: Bug
>Affects Versions: 1.8.12, 2.0.3
>Reporter: simon steiner
>Assignee: Tilman Hausherr
> Fix For: 1.8.13, 2.0.4, 2.1.0
>
>
> Under java 6 and 8 and clean ~/.m2 directory:
> mvn clean install -DskipTests
> Downloading: 
> http://www.pdfa.org/wp-content/uploads/2011/08/isartor-pdfa-2008-08-13.zip
> javax.net.ssl.SSLHandshakeException: 
> sun.security.validator.ValidatorException: PKIX path building failed: 
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
> valid certification path to requested target
> Java 6 only:
> [ERROR] 
> pdf-box-svn/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestPDDocument.java:[205,41]
>  cannot find symbol
> [ERROR] symbol  : class Builder
> [ERROR] location: class java.util.Locale



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-3540) Trailer Syntax error, ID is different in the first and the last trailer - for PDF with incremental updates

2016-10-22 Thread Tilman Hausherr (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-3540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598165#comment-15598165
 ] 

Tilman Hausherr commented on PDFBOX-3540:
-

Thanks for the hint about the length. I won't do it this time because I don't 
have an easy acccess to it. Maybe later if needed.

> Trailer Syntax error, ID is different in the first and the last trailer - for 
> PDF with incremental updates
> --
>
> Key: PDFBOX-3540
> URL: https://issues.apache.org/jira/browse/PDFBOX-3540
> Project: PDFBox
>  Issue Type: Bug
>  Components: Preflight
>Affects Versions: 1.8.12, 2.0.3
>Reporter: Maruan Sahyoun
> Attachments: Pardes13_Rez02.pdf, testfile_original.pdf, 
> testfile_signed_once.pdf, testfile_signed_twice.pdf
>
>
> As reported at the users mailing list:
> 
> Hello guys,
> I have the following problem using apache.pdfbox when validating a valid 
> PDF/A-1 file, which is being signed twice:
> 1. The online validator confirms that the file is valid 
> (https://www.pdf-tools.com/pdf/validate-pdfa-online.aspx)
> 2. But when I validate it using the following code:
> {code}
> PreflightParser parser = new PreflightParser(byteDatasource);
> parser.parse();
> PreflightDocument document = parser.getPreflightDocument();
> document.validate();
> result = document.getResult();
> {code}
> 3. The file is linearized
> 4. I get that the file is invalid and the error description reads:
> {code}
> Trailer Syntax error, ID is different in the first and the last trailer
> {code}
> According to issues PDFBOX-3256 and PDFBOX-2502 this should be fixed?
> Could anyone give me a tip how to go around this problem or would that be a 
> bug?
> The pdf file is attached.
> 
> *Analysis:*
> The original PDF is linearized with a subsequent incremental update.
> According to ISO 32000-1 F1
> {quote}
> Incremental update shall still be permitted, but the resulting PDF is no 
> longer linearized and subsequently shall be treated as ordinary PDF. 
> Linearizing it again may require reprocessing the entire file; see G.7, 
> "Accessing an Updated File" for details.
> {quote}
> as the file shall no longer be treated as linearized the provision about 
> matching  ID's as outlined in PDFBOX-2502 no longer applies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-3540) Trailer Syntax error, ID is different in the first and the last trailer - for PDF with incremental updates

2016-10-22 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-3540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598161#comment-15598161
 ] 

ASF subversion and git services commented on PDFBOX-3540:
-

Commit 1766218 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1766218 ]

PDFBOX-3540: linearized files have 2 trailers

> Trailer Syntax error, ID is different in the first and the last trailer - for 
> PDF with incremental updates
> --
>
> Key: PDFBOX-3540
> URL: https://issues.apache.org/jira/browse/PDFBOX-3540
> Project: PDFBox
>  Issue Type: Bug
>  Components: Preflight
>Affects Versions: 1.8.12, 2.0.3
>Reporter: Maruan Sahyoun
> Attachments: Pardes13_Rez02.pdf, testfile_original.pdf, 
> testfile_signed_once.pdf, testfile_signed_twice.pdf
>
>
> As reported at the users mailing list:
> 
> Hello guys,
> I have the following problem using apache.pdfbox when validating a valid 
> PDF/A-1 file, which is being signed twice:
> 1. The online validator confirms that the file is valid 
> (https://www.pdf-tools.com/pdf/validate-pdfa-online.aspx)
> 2. But when I validate it using the following code:
> {code}
> PreflightParser parser = new PreflightParser(byteDatasource);
> parser.parse();
> PreflightDocument document = parser.getPreflightDocument();
> document.validate();
> result = document.getResult();
> {code}
> 3. The file is linearized
> 4. I get that the file is invalid and the error description reads:
> {code}
> Trailer Syntax error, ID is different in the first and the last trailer
> {code}
> According to issues PDFBOX-3256 and PDFBOX-2502 this should be fixed?
> Could anyone give me a tip how to go around this problem or would that be a 
> bug?
> The pdf file is attached.
> 
> *Analysis:*
> The original PDF is linearized with a subsequent incremental update.
> According to ISO 32000-1 F1
> {quote}
> Incremental update shall still be permitted, but the resulting PDF is no 
> longer linearized and subsequently shall be treated as ordinary PDF. 
> Linearizing it again may require reprocessing the entire file; see G.7, 
> "Accessing an Updated File" for details.
> {quote}
> as the file shall no longer be treated as linearized the provision about 
> matching  ID's as outlined in PDFBOX-2502 no longer applies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-3540) Trailer Syntax error, ID is different in the first and the last trailer - for PDF with incremental updates

2016-10-22 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-3540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598160#comment-15598160
 ] 

ASF subversion and git services commented on PDFBOX-3540:
-

Commit 1766217 from [~tilman] in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1766217 ]

PDFBOX-3540: linearized files have 2 trailers

> Trailer Syntax error, ID is different in the first and the last trailer - for 
> PDF with incremental updates
> --
>
> Key: PDFBOX-3540
> URL: https://issues.apache.org/jira/browse/PDFBOX-3540
> Project: PDFBox
>  Issue Type: Bug
>  Components: Preflight
>Affects Versions: 1.8.12, 2.0.3
>Reporter: Maruan Sahyoun
> Attachments: Pardes13_Rez02.pdf, testfile_original.pdf, 
> testfile_signed_once.pdf, testfile_signed_twice.pdf
>
>
> As reported at the users mailing list:
> 
> Hello guys,
> I have the following problem using apache.pdfbox when validating a valid 
> PDF/A-1 file, which is being signed twice:
> 1. The online validator confirms that the file is valid 
> (https://www.pdf-tools.com/pdf/validate-pdfa-online.aspx)
> 2. But when I validate it using the following code:
> {code}
> PreflightParser parser = new PreflightParser(byteDatasource);
> parser.parse();
> PreflightDocument document = parser.getPreflightDocument();
> document.validate();
> result = document.getResult();
> {code}
> 3. The file is linearized
> 4. I get that the file is invalid and the error description reads:
> {code}
> Trailer Syntax error, ID is different in the first and the last trailer
> {code}
> According to issues PDFBOX-3256 and PDFBOX-2502 this should be fixed?
> Could anyone give me a tip how to go around this problem or would that be a 
> bug?
> The pdf file is attached.
> 
> *Analysis:*
> The original PDF is linearized with a subsequent incremental update.
> According to ISO 32000-1 F1
> {quote}
> Incremental update shall still be permitted, but the resulting PDF is no 
> longer linearized and subsequently shall be treated as ordinary PDF. 
> Linearizing it again may require reprocessing the entire file; see G.7, 
> "Accessing an Updated File" for details.
> {quote}
> as the file shall no longer be treated as linearized the provision about 
> matching  ID's as outlined in PDFBOX-2502 no longer applies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is back to normal : PDFBox-2.0.x » PDFBox reactor #268

2016-10-22 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is back to normal : PDFBox-2.0.x #268

2016-10-22 Thread Apache Jenkins Server
See 


-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is back to normal : PDFBox-1.8.x » PDFBox reactor #607

2016-10-22 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is back to normal : PDFBox-1.8.x #607

2016-10-22 Thread Apache Jenkins Server
See 


-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-3532) Java 6 errors

2016-10-22 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598144#comment-15598144
 ] 

ASF subversion and git services commented on PDFBOX-3532:
-

Commit 1766215 from [~lehmi] in branch 'pdfbox/branches/1.8'
[ https://svn.apache.org/r1766215 ]

PDFBOX-3532: exclude cacerts_jdk8u101 from rat check

> Java 6 errors
> -
>
> Key: PDFBOX-3532
> URL: https://issues.apache.org/jira/browse/PDFBOX-3532
> Project: PDFBox
>  Issue Type: Bug
>Affects Versions: 1.8.12, 2.0.3
>Reporter: simon steiner
>Assignee: Tilman Hausherr
> Fix For: 1.8.13, 2.0.4, 2.1.0
>
>
> Under java 6 and 8 and clean ~/.m2 directory:
> mvn clean install -DskipTests
> Downloading: 
> http://www.pdfa.org/wp-content/uploads/2011/08/isartor-pdfa-2008-08-13.zip
> javax.net.ssl.SSLHandshakeException: 
> sun.security.validator.ValidatorException: PKIX path building failed: 
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
> valid certification path to requested target
> Java 6 only:
> [ERROR] 
> pdf-box-svn/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestPDDocument.java:[205,41]
>  cannot find symbol
> [ERROR] symbol  : class Builder
> [ERROR] location: class java.util.Locale



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-3532) Java 6 errors

2016-10-22 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598142#comment-15598142
 ] 

ASF subversion and git services commented on PDFBOX-3532:
-

Commit 1766214 from [~lehmi] in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1766214 ]

PDFBOX-3532: exclude cacerts_jdk8u101 from rat check

> Java 6 errors
> -
>
> Key: PDFBOX-3532
> URL: https://issues.apache.org/jira/browse/PDFBOX-3532
> Project: PDFBox
>  Issue Type: Bug
>Affects Versions: 1.8.12, 2.0.3
>Reporter: simon steiner
>Assignee: Tilman Hausherr
> Fix For: 1.8.13, 2.0.4, 2.1.0
>
>
> Under java 6 and 8 and clean ~/.m2 directory:
> mvn clean install -DskipTests
> Downloading: 
> http://www.pdfa.org/wp-content/uploads/2011/08/isartor-pdfa-2008-08-13.zip
> javax.net.ssl.SSLHandshakeException: 
> sun.security.validator.ValidatorException: PKIX path building failed: 
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
> valid certification path to requested target
> Java 6 only:
> [ERROR] 
> pdf-box-svn/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestPDDocument.java:[205,41]
>  cannot find symbol
> [ERROR] symbol  : class Builder
> [ERROR] location: class java.util.Locale



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-3532) Java 6 errors

2016-10-22 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598140#comment-15598140
 ] 

ASF subversion and git services commented on PDFBOX-3532:
-

Commit 1766213 from [~lehmi] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1766213 ]

PDFBOX-3532: exclude cacerts_jdk8u101 from rat check

> Java 6 errors
> -
>
> Key: PDFBOX-3532
> URL: https://issues.apache.org/jira/browse/PDFBOX-3532
> Project: PDFBox
>  Issue Type: Bug
>Affects Versions: 1.8.12, 2.0.3
>Reporter: simon steiner
>Assignee: Tilman Hausherr
> Fix For: 1.8.13, 2.0.4, 2.1.0
>
>
> Under java 6 and 8 and clean ~/.m2 directory:
> mvn clean install -DskipTests
> Downloading: 
> http://www.pdfa.org/wp-content/uploads/2011/08/isartor-pdfa-2008-08-13.zip
> javax.net.ssl.SSLHandshakeException: 
> sun.security.validator.ValidatorException: PKIX path building failed: 
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
> valid certification path to requested target
> Java 6 only:
> [ERROR] 
> pdf-box-svn/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestPDDocument.java:[205,41]
>  cannot find symbol
> [ERROR] symbol  : class Builder
> [ERROR] location: class java.util.Locale



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-3540) Trailer Syntax error, ID is different in the first and the last trailer - for PDF with incremental updates

2016-10-22 Thread Maruan Sahyoun (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-3540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598122#comment-15598122
 ] 

Maruan Sahyoun commented on PDFBOX-3540:


Yes - please do the change. Another (additional) check might be to check the 
length parameter of the linearization dict and compare with the file size.

> Trailer Syntax error, ID is different in the first and the last trailer - for 
> PDF with incremental updates
> --
>
> Key: PDFBOX-3540
> URL: https://issues.apache.org/jira/browse/PDFBOX-3540
> Project: PDFBox
>  Issue Type: Bug
>  Components: Preflight
>Affects Versions: 1.8.12, 2.0.3
>Reporter: Maruan Sahyoun
> Attachments: Pardes13_Rez02.pdf, testfile_original.pdf, 
> testfile_signed_once.pdf, testfile_signed_twice.pdf
>
>
> As reported at the users mailing list:
> 
> Hello guys,
> I have the following problem using apache.pdfbox when validating a valid 
> PDF/A-1 file, which is being signed twice:
> 1. The online validator confirms that the file is valid 
> (https://www.pdf-tools.com/pdf/validate-pdfa-online.aspx)
> 2. But when I validate it using the following code:
> {code}
> PreflightParser parser = new PreflightParser(byteDatasource);
> parser.parse();
> PreflightDocument document = parser.getPreflightDocument();
> document.validate();
> result = document.getResult();
> {code}
> 3. The file is linearized
> 4. I get that the file is invalid and the error description reads:
> {code}
> Trailer Syntax error, ID is different in the first and the last trailer
> {code}
> According to issues PDFBOX-3256 and PDFBOX-2502 this should be fixed?
> Could anyone give me a tip how to go around this problem or would that be a 
> bug?
> The pdf file is attached.
> 
> *Analysis:*
> The original PDF is linearized with a subsequent incremental update.
> According to ISO 32000-1 F1
> {quote}
> Incremental update shall still be permitted, but the resulting PDF is no 
> longer linearized and subsequently shall be treated as ordinary PDF. 
> Linearizing it again may require reprocessing the entire file; see G.7, 
> "Accessing an Updated File" for details.
> {quote}
> as the file shall no longer be treated as linearized the provision about 
> matching  ID's as outlined in PDFBOX-2502 no longer applies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Build failed in Jenkins: PDFBox-1.8.x » PDFBox reactor #606

2016-10-22 Thread Apache Jenkins Server
See 


Changes:

[lehmi] PDFBOX-3532: added updated cacerts to support lets encrypt cert

--
[INFO] 
[INFO] 
[INFO] Building PDFBox reactor 1.8.13-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ pdfbox-reactor ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ pdfbox-reactor 
---
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.14:check (check-java-compatibility) @ 
pdfbox-reactor ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java15:1.0
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ 
pdfbox-reactor ---
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ pdfbox-reactor ---
[INFO] 63 implicit excludes (use -debug for more details).
[INFO] Exclude: release.properties
[INFO] 11 resources included (use -debug for more details)
Warning:  org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 
'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not 
recognized.
Compiler warnings:
  WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property 
'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.'
Warning:  org.apache.xerces.parsers.SAXParser: Feature 
'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 
'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 
'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not 
recognized.
[INFO] Rat check: Summary of files. Unapproved: 1 unknown: 1 generated: 0 
approved: 5 licence.

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is back to normal : PDFBox-1.8.x » Apache Preflight #606

2016-10-22 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Build failed in Jenkins: PDFBox-1.8.x #606

2016-10-22 Thread Apache Jenkins Server
See 

Changes:

[lehmi] PDFBOX-3532: added updated cacerts to support lets encrypt cert

--
[...truncated 5557 lines...]
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ pdfbox-app ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ 
pdfbox-app ---
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ 
pdfbox-app ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ pdfbox-app ---
[INFO] Skipping execution of surefire because it has already been run for this 
configuration
[JENKINS] Recording test results[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.14:check (check-java-compatibility) @ 
pdfbox-app ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java15:1.0

[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ 
pdfbox-app ---
[WARNING] Failed to getClass for org.apache.felix.bundleplugin.BundlePlugin
[INFO] 
[INFO] --- maven-bundle-plugin:2.5.4:bundle (default-bundle) @ pdfbox-app ---
[WARNING] Bundle org.apache.pdfbox:pdfbox-app:bundle:1.8.13-SNAPSHOT : Unused 
Private-Package instructions, no such package(s) on the class path: [!*]
[WARNING] Bundle org.apache.pdfbox:pdfbox-app:bundle:1.8.13-SNAPSHOT : Export 
org.apache.pdfbox.cos,  has 1,  private references 
[org.apache.commons.logging], 
[WARNING] Bundle org.apache.pdfbox:pdfbox-app:bundle:1.8.13-SNAPSHOT : Export 
org.apache.pdfbox.encoding,  has 1,  private references 
[org.apache.fontbox.afm], 
[WARNING] Bundle org.apache.pdfbox:pdfbox-app:bundle:1.8.13-SNAPSHOT : Export 
org.apache.pdfbox.encoding.conversion,  has 1,  private references 
[org.apache.fontbox.cmap], 
[WARNING] Bundle org.apache.pdfbox:pdfbox-app:bundle:1.8.13-SNAPSHOT : Export 
org.apache.pdfbox.pdmodel.common,  has 2,  private references 
[org.apache.jempbox.xmp, org.apache.fontbox.util], 
[WARNING] Bundle org.apache.pdfbox:pdfbox-app:bundle:1.8.13-SNAPSHOT : Export 
org.apache.pdfbox.pdmodel.font,  has 3,  private references 
[org.apache.fontbox.afm, org.apache.fontbox.cmap, org.apache.fontbox.ttf], 
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ 
pdfbox-app ---
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ pdfbox-app ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: release.properties
[INFO] 3 resources included (use -debug for more details)
Warning:  org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 
'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not 
recognized.
Compiler warnings:
  WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property 
'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.'
Warning:  org.apache.xerces.parsers.SAXParser: Feature 
'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 
'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 
'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not 
recognized.
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 
approved: 1 licence.
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ pdfbox-app ---
[INFO] Installing 

 to 
/home/jenkins/jenkins-slave/maven-repositories/0/org/apache/pdfbox/pdfbox-app/1.8.13-SNAPSHOT/pdfbox-app-1.8.13-SNAPSHOT.jar
[INFO] Installing 
 to 
/home/jenkins/jenkins-slave/maven-repositories/0/org/apache/pdfbox/pdfbox-app/1.8.13-SNAPSHOT/pdfbox-app-1.8.13-SNAPSHOT.pom
[WARNING] Failed to getClass for org.apache.felix.obrplugin.ObrInstall
[INFO] 
[INFO] --- maven-bundle-plugin:2.5.4:install (default-install) @ pdfbox-app ---
[INFO] Installing 
org/apache/pdfbox/pdfbox-app/1.8.13-SNAPSHOT/pdfbox-app-1.8.13-20161022.161638-52.jar
[INFO] Writing OBR metadata
[INFO] 
[INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ pdfbox-app ---
Downloading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/pdfbox-app/1.8.13-SNAPSHOT/maven-metadata.xml
Downloaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/pdfbox-app/1.8.13-SNAPSHOT/maven-metadata.xml
 (783 B at 1.5 KB/sec)
Uploading: 

Build failed in Jenkins: PDFBox-2.0.x » PDFBox reactor #267

2016-10-22 Thread Apache Jenkins Server
See 


--
[INFO] 
[INFO] 
[INFO] Building PDFBox reactor 2.0.4-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ pdfbox-reactor ---
[TASKS] Scanning folder 
'
 for files matching the pattern '**/*.java' - excludes: parent/**/*, 
fontbox/**/*, xmpbox/**/*, pdfbox/**/*, preflight/**/*, preflight-app/**/*, 
debugger/**/*, tools/**/*, app/**/*, debugger-app/**/*, examples/**/*
[TASKS] Found 0 files to scan for tasks
Found 0 open tasks.
[TASKS] Computing warning deltas based on reference build #255
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ pdfbox-reactor 
---
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.14:check (check-java-version) @ 
pdfbox-reactor ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.0
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ 
pdfbox-reactor ---
[WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] --- maven-source-plugin:2.3:jar (attach-sources) @ pdfbox-reactor ---
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ pdfbox-reactor ---
[INFO] 62 implicit excludes (use -debug for more details).
[INFO] Exclude: release.properties
[INFO] 11 resources included (use -debug for more details)
Warning:  org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 
'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not 
recognized.
Compiler warnings:
  WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property 
'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.'
Warning:  org.apache.xerces.parsers.SAXParser: Feature 
'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 
'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 
'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not 
recognized.
[INFO] Rat check: Summary of files. Unapproved: 1 unknown: 1 generated: 0 
approved: 6 licence.

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Build failed in Jenkins: PDFBox-2.0.x #267

2016-10-22 Thread Apache Jenkins Server
See 

--
[...truncated 6708 lines...]
[INFO] Installing 
 to 
/home/jenkins/jenkins-slave/maven-repositories/1/org/apache/pdfbox/debugger-app/2.0.4-SNAPSHOT/debugger-app-2.0.4-SNAPSHOT.pom
[INFO] Installing 

 to 
/home/jenkins/jenkins-slave/maven-repositories/1/org/apache/pdfbox/debugger-app/2.0.4-SNAPSHOT/debugger-app-2.0.4-SNAPSHOT-sources.jar
[INFO] Installing 

 to 
/home/jenkins/jenkins-slave/maven-repositories/1/org/apache/pdfbox/debugger-app/2.0.4-SNAPSHOT/debugger-app-2.0.4-SNAPSHOT-sources.jar
[INFO] Installing 

 to 
/home/jenkins/jenkins-slave/maven-repositories/1/org/apache/pdfbox/debugger-app/2.0.4-SNAPSHOT/debugger-app-2.0.4-SNAPSHOT-sources.jar
[WARNING] Failed to getClass for org.apache.felix.obrplugin.ObrInstall
[INFO] 
[INFO] --- maven-bundle-plugin:2.5.4:install (default-install) @ debugger-app 
---
[INFO] Installing 
org/apache/pdfbox/debugger-app/2.0.4-SNAPSHOT/debugger-app-2.0.4-20161022.161352-79.jar
[INFO] Writing OBR metadata
[INFO] 
[INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ debugger-app ---
Downloading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/debugger-app/2.0.4-SNAPSHOT/maven-metadata.xml
Downloaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/debugger-app/2.0.4-SNAPSHOT/maven-metadata.xml
 (997 B at 1.8 KB/sec)
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/debugger-app/2.0.4-SNAPSHOT/debugger-app-2.0.4-20161022.161352-79.jar
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/debugger-app/2.0.4-SNAPSHOT/debugger-app-2.0.4-20161022.161352-79.jar
 (7732 KB at 3549.9 KB/sec)
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/debugger-app/2.0.4-SNAPSHOT/debugger-app-2.0.4-20161022.161352-79.pom
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/debugger-app/2.0.4-SNAPSHOT/debugger-app-2.0.4-20161022.161352-79.pom
 (3 KB at 3.5 KB/sec)
Downloading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/debugger-app/maven-metadata.xml
Downloaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/debugger-app/maven-metadata.xml
 (389 B at 0.7 KB/sec)
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/debugger-app/2.0.4-SNAPSHOT/maven-metadata.xml
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/debugger-app/2.0.4-SNAPSHOT/maven-metadata.xml
 (997 B at 1.2 KB/sec)
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/debugger-app/maven-metadata.xml
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/debugger-app/maven-metadata.xml
 (389 B at 0.5 KB/sec)
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/debugger-app/2.0.4-SNAPSHOT/debugger-app-2.0.4-20161022.161352-79-sources.jar
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/debugger-app/2.0.4-SNAPSHOT/debugger-app-2.0.4-20161022.161352-79-sources.jar
 (8 KB at 8.2 KB/sec)
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/debugger-app/2.0.4-SNAPSHOT/maven-metadata.xml
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/debugger-app/2.0.4-SNAPSHOT/maven-metadata.xml
 (997 B at 1.2 KB/sec)
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/debugger-app/2.0.4-SNAPSHOT/debugger-app-2.0.4-20161022.161352-79-sources.jar
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/debugger-app/2.0.4-SNAPSHOT/debugger-app-2.0.4-20161022.161352-79-sources.jar
 (8 KB at 8.2 KB/sec)
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/debugger-app/2.0.4-SNAPSHOT/maven-metadata.xml
Uploaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/debugger-app/2.0.4-SNAPSHOT/maven-metadata.xml
 (997 B at 1.2 KB/sec)
[WARNING] Failed to getClass for org.apache.felix.obrplugin.ObrDeploy
[INFO] 
[INFO] --- maven-bundle-plugin:2.5.4:deploy (default-deploy) @ debugger-app ---
[INFO] Remote OBR update disabled (enable with -DremoteOBR)
[INFO] 
[INFO] 

[jira] [Commented] (PDFBOX-3532) Java 6 errors

2016-10-22 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598082#comment-15598082
 ] 

ASF subversion and git services commented on PDFBOX-3532:
-

Commit 1766206 from [~lehmi] in branch 'pdfbox/branches/1.8'
[ https://svn.apache.org/r1766206 ]

PDFBOX-3532: added updated cacerts to support lets encrypt cert

> Java 6 errors
> -
>
> Key: PDFBOX-3532
> URL: https://issues.apache.org/jira/browse/PDFBOX-3532
> Project: PDFBox
>  Issue Type: Bug
>Affects Versions: 1.8.12, 2.0.3
>Reporter: simon steiner
>Assignee: Tilman Hausherr
> Fix For: 1.8.13, 2.0.4, 2.1.0
>
>
> Under java 6 and 8 and clean ~/.m2 directory:
> mvn clean install -DskipTests
> Downloading: 
> http://www.pdfa.org/wp-content/uploads/2011/08/isartor-pdfa-2008-08-13.zip
> javax.net.ssl.SSLHandshakeException: 
> sun.security.validator.ValidatorException: PKIX path building failed: 
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
> valid certification path to requested target
> Java 6 only:
> [ERROR] 
> pdf-box-svn/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestPDDocument.java:[205,41]
>  cannot find symbol
> [ERROR] symbol  : class Builder
> [ERROR] location: class java.util.Locale



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Build failed in Jenkins: PDFBox 2.0.x #266

2016-10-22 Thread Apache Jenkins Server
See 

--
Started by user lehmi
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-1 (Ubuntu ubuntu1 yahoo-not-h2 ubuntu docker) in 
workspace 
Cleaning up 
Updating http://svn.apache.org/repos/asf/pdfbox/branches/2.0 at revision 
'2016-10-22T15:55:24.003 +'
At revision 1766205

No changes for http://svn.apache.org/repos/asf/pdfbox/branches/2.0 since the 
previous build
Parsing POMs
Established TCP socket on 51829
maven3-agent.jar already up to date
maven3-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[2.0] $ /home/jenkins/tools/java/jdk1.7.0_79-unlimited-security/bin/java -Xmx1g 
-XX:MaxPermSize=300m 
-Djavax.net.ssl.trustStore=
 -cp 
/home/jenkins/jenkins-slave/maven3-agent.jar:/home/jenkins/tools/maven/apache-maven-3.0.4/boot/plexus-classworlds-2.4.jar
 org.jvnet.hudson.maven3.agent.Maven3Main 
/home/jenkins/tools/maven/apache-maven-3.0.4 
/home/jenkins/jenkins-slave/slave.jar 
/home/jenkins/jenkins-slave/maven3-interceptor.jar 
/home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 51829
Error: Could not find or load main class 2.0.x.2.0.cacerts_jdk8u101
ERROR: Failed to launch Maven. Exit code = 1
Archiving artifacts

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-3532) Java 6 errors

2016-10-22 Thread JIRA

[ 
https://issues.apache.org/jira/browse/PDFBOX-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598060#comment-15598060
 ] 

Andreas Lehmkühler commented on PDFBOX-3532:


It looks I found a way to get it work. I've added the following parameter to 
the MAVEN_OPTS of the jenkins job
{code}
-Djavax.net.ssl.trustStore=${WORKSPACE}/trunk/cacerts_jdk8u101
{code}

> Java 6 errors
> -
>
> Key: PDFBOX-3532
> URL: https://issues.apache.org/jira/browse/PDFBOX-3532
> Project: PDFBox
>  Issue Type: Bug
>Affects Versions: 1.8.12, 2.0.3
>Reporter: simon steiner
>Assignee: Tilman Hausherr
> Fix For: 1.8.13, 2.0.4, 2.1.0
>
>
> Under java 6 and 8 and clean ~/.m2 directory:
> mvn clean install -DskipTests
> Downloading: 
> http://www.pdfa.org/wp-content/uploads/2011/08/isartor-pdfa-2008-08-13.zip
> javax.net.ssl.SSLHandshakeException: 
> sun.security.validator.ValidatorException: PKIX path building failed: 
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
> valid certification path to requested target
> Java 6 only:
> [ERROR] 
> pdf-box-svn/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestPDDocument.java:[205,41]
>  cannot find symbol
> [ERROR] symbol  : class Builder
> [ERROR] location: class java.util.Locale



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-3540) Trailer Syntax error, ID is different in the first and the last trailer - for PDF with incremental updates

2016-10-22 Thread Tilman Hausherr (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-3540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598057#comment-15598057
 ] 

Tilman Hausherr commented on PDFBOX-3540:
-

Do you mean I should make the change or should not? What I meant to do was to 
make a small change in preflight, that the special check for IDs is only done 
if linearized files have 2 trailers. The spec has this: 
{quote}
These groups of objects shall be indexed by exactly two cross-reference table 
sections
{quote}


> Trailer Syntax error, ID is different in the first and the last trailer - for 
> PDF with incremental updates
> --
>
> Key: PDFBOX-3540
> URL: https://issues.apache.org/jira/browse/PDFBOX-3540
> Project: PDFBox
>  Issue Type: Bug
>  Components: Preflight
>Affects Versions: 1.8.12, 2.0.3
>Reporter: Maruan Sahyoun
> Attachments: Pardes13_Rez02.pdf, testfile_original.pdf, 
> testfile_signed_once.pdf, testfile_signed_twice.pdf
>
>
> As reported at the users mailing list:
> 
> Hello guys,
> I have the following problem using apache.pdfbox when validating a valid 
> PDF/A-1 file, which is being signed twice:
> 1. The online validator confirms that the file is valid 
> (https://www.pdf-tools.com/pdf/validate-pdfa-online.aspx)
> 2. But when I validate it using the following code:
> {code}
> PreflightParser parser = new PreflightParser(byteDatasource);
> parser.parse();
> PreflightDocument document = parser.getPreflightDocument();
> document.validate();
> result = document.getResult();
> {code}
> 3. The file is linearized
> 4. I get that the file is invalid and the error description reads:
> {code}
> Trailer Syntax error, ID is different in the first and the last trailer
> {code}
> According to issues PDFBOX-3256 and PDFBOX-2502 this should be fixed?
> Could anyone give me a tip how to go around this problem or would that be a 
> bug?
> The pdf file is attached.
> 
> *Analysis:*
> The original PDF is linearized with a subsequent incremental update.
> According to ISO 32000-1 F1
> {quote}
> Incremental update shall still be permitted, but the resulting PDF is no 
> longer linearized and subsequently shall be treated as ordinary PDF. 
> Linearizing it again may require reprocessing the entire file; see G.7, 
> "Accessing an Updated File" for details.
> {quote}
> as the file shall no longer be treated as linearized the provision about 
> matching  ID's as outlined in PDFBOX-2502 no longer applies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Build failed in Jenkins: PDFBox 2.0.x #265

2016-10-22 Thread Apache Jenkins Server
See 

Changes:

[lehmi] PDFBOX-3532: added updated cacerts to support lets encrypt cert

--
Started by user lehmi
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-1 (Ubuntu ubuntu1 yahoo-not-h2 ubuntu docker) in 
workspace 
Cleaning up 
Deleting 
Deleting 
Deleting 
Deleting 
Deleting 
Updating http://svn.apache.org/repos/asf/pdfbox/branches/2.0 at revision 
'2016-10-22T15:51:05.116 +'
AUcacerts_jdk8u101
AU
examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateMultiWidgetsForm.java
U 
examples/src/main/java/org/apache/pdfbox/examples/printing/Printing.java
U 
pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/pattern/PDTilingPattern.java
U 
pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationWidget.java
U 
pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationLink.java
U 
pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/form/PDNonTerminalField.java
U 
pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/form/PDFieldFactory.java
At revision 1766205

Parsing POMs
Established TCP socket on 44821
maven3-agent.jar already up to date
maven3-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[2.0] $ /home/jenkins/tools/java/jdk1.7.0_79-unlimited-security/bin/java -Xmx1g 
-XX:MaxPermSize=300m 
-Djavax.net.ssl.trustStore=
 -cp 
/home/jenkins/jenkins-slave/maven3-agent.jar:/home/jenkins/tools/maven/apache-maven-3.0.4/boot/plexus-classworlds-2.4.jar
 org.jvnet.hudson.maven3.agent.Maven3Main 
/home/jenkins/tools/maven/apache-maven-3.0.4 
/home/jenkins/jenkins-slave/slave.jar 
/home/jenkins/jenkins-slave/maven3-interceptor.jar 
/home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 44821
Error: Could not find or load main class 2.0.x.trunk.cacerts_jdk8u101
ERROR: Failed to launch Maven. Exit code = 1
Archiving artifacts

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is back to normal : PDFBox-trunk #3103

2016-10-22 Thread Apache Jenkins Server
See 


-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-3532) Java 6 errors

2016-10-22 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598054#comment-15598054
 ] 

ASF subversion and git services commented on PDFBOX-3532:
-

Commit 1766205 from [~lehmi] in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1766205 ]

PDFBOX-3532: added updated cacerts to support lets encrypt cert

> Java 6 errors
> -
>
> Key: PDFBOX-3532
> URL: https://issues.apache.org/jira/browse/PDFBOX-3532
> Project: PDFBox
>  Issue Type: Bug
>Affects Versions: 1.8.12, 2.0.3
>Reporter: simon steiner
>Assignee: Tilman Hausherr
> Fix For: 1.8.13, 2.0.4, 2.1.0
>
>
> Under java 6 and 8 and clean ~/.m2 directory:
> mvn clean install -DskipTests
> Downloading: 
> http://www.pdfa.org/wp-content/uploads/2011/08/isartor-pdfa-2008-08-13.zip
> javax.net.ssl.SSLHandshakeException: 
> sun.security.validator.ValidatorException: PKIX path building failed: 
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
> valid certification path to requested target
> Java 6 only:
> [ERROR] 
> pdf-box-svn/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestPDDocument.java:[205,41]
>  cannot find symbol
> [ERROR] symbol  : class Builder
> [ERROR] location: class java.util.Locale



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is back to normal : PDFBox-trunk » PDFBox parent #3103

2016-10-22 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-3540) Trailer Syntax error, ID is different in the first and the last trailer - for PDF with incremental updates

2016-10-22 Thread Maruan Sahyoun (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-3540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598048#comment-15598048
 ] 

Maruan Sahyoun commented on PDFBOX-3540:


[~tilman] thanks for handling that. I'd say let's close that issue. WRT to the 
number I'd need to check with the spec - we should deal with that in a separate 
issue if necessary. Acrobat treats that file as valid.

> Trailer Syntax error, ID is different in the first and the last trailer - for 
> PDF with incremental updates
> --
>
> Key: PDFBOX-3540
> URL: https://issues.apache.org/jira/browse/PDFBOX-3540
> Project: PDFBox
>  Issue Type: Bug
>  Components: Preflight
>Affects Versions: 1.8.12, 2.0.3
>Reporter: Maruan Sahyoun
> Attachments: Pardes13_Rez02.pdf, testfile_original.pdf, 
> testfile_signed_once.pdf, testfile_signed_twice.pdf
>
>
> As reported at the users mailing list:
> 
> Hello guys,
> I have the following problem using apache.pdfbox when validating a valid 
> PDF/A-1 file, which is being signed twice:
> 1. The online validator confirms that the file is valid 
> (https://www.pdf-tools.com/pdf/validate-pdfa-online.aspx)
> 2. But when I validate it using the following code:
> {code}
> PreflightParser parser = new PreflightParser(byteDatasource);
> parser.parse();
> PreflightDocument document = parser.getPreflightDocument();
> document.validate();
> result = document.getResult();
> {code}
> 3. The file is linearized
> 4. I get that the file is invalid and the error description reads:
> {code}
> Trailer Syntax error, ID is different in the first and the last trailer
> {code}
> According to issues PDFBOX-3256 and PDFBOX-2502 this should be fixed?
> Could anyone give me a tip how to go around this problem or would that be a 
> bug?
> The pdf file is attached.
> 
> *Analysis:*
> The original PDF is linearized with a subsequent incremental update.
> According to ISO 32000-1 F1
> {quote}
> Incremental update shall still be permitted, but the resulting PDF is no 
> longer linearized and subsequently shall be treated as ordinary PDF. 
> Linearizing it again may require reprocessing the entire file; see G.7, 
> "Accessing an Updated File" for details.
> {quote}
> as the file shall no longer be treated as linearized the provision about 
> matching  ID's as outlined in PDFBOX-2502 no longer applies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-3540) Trailer Syntax error, ID is different in the first and the last trailer - for PDF with incremental updates

2016-10-22 Thread Maya Angelova (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-3540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maya Angelova updated PDFBOX-3540:
--
Attachment: testfile_signed_twice.pdf
testfile_signed_once.pdf
testfile_original.pdf

These are the used files.
_test_signed_twice_ caused the problem described

> Trailer Syntax error, ID is different in the first and the last trailer - for 
> PDF with incremental updates
> --
>
> Key: PDFBOX-3540
> URL: https://issues.apache.org/jira/browse/PDFBOX-3540
> Project: PDFBox
>  Issue Type: Bug
>  Components: Preflight
>Affects Versions: 1.8.12, 2.0.3
>Reporter: Maruan Sahyoun
> Attachments: Pardes13_Rez02.pdf, testfile_original.pdf, 
> testfile_signed_once.pdf, testfile_signed_twice.pdf
>
>
> As reported at the users mailing list:
> 
> Hello guys,
> I have the following problem using apache.pdfbox when validating a valid 
> PDF/A-1 file, which is being signed twice:
> 1. The online validator confirms that the file is valid 
> (https://www.pdf-tools.com/pdf/validate-pdfa-online.aspx)
> 2. But when I validate it using the following code:
> {code}
> PreflightParser parser = new PreflightParser(byteDatasource);
> parser.parse();
> PreflightDocument document = parser.getPreflightDocument();
> document.validate();
> result = document.getResult();
> {code}
> 3. The file is linearized
> 4. I get that the file is invalid and the error description reads:
> {code}
> Trailer Syntax error, ID is different in the first and the last trailer
> {code}
> According to issues PDFBOX-3256 and PDFBOX-2502 this should be fixed?
> Could anyone give me a tip how to go around this problem or would that be a 
> bug?
> The pdf file is attached.
> 
> *Analysis:*
> The original PDF is linearized with a subsequent incremental update.
> According to ISO 32000-1 F1
> {quote}
> Incremental update shall still be permitted, but the resulting PDF is no 
> longer linearized and subsequently shall be treated as ordinary PDF. 
> Linearizing it again may require reprocessing the entire file; see G.7, 
> "Accessing an Updated File" for details.
> {quote}
> as the file shall no longer be treated as linearized the provision about 
> matching  ID's as outlined in PDFBOX-2502 no longer applies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Build failed in Jenkins: PDFBox-trunk #3102

2016-10-22 Thread Apache Jenkins Server
See 

--
Started by user lehmi
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-us1 (Ubuntu ubuntu docker) in workspace 

Cleaning up 
Updating http://svn.apache.org/repos/asf/pdfbox/trunk at revision 
'2016-10-22T15:30:53.933 +'
At revision 1766203

No changes for http://svn.apache.org/repos/asf/pdfbox/trunk since the previous 
build
Parsing POMs
Established TCP socket on 52586
maven3-agent.jar already up to date
maven3-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[trunk] $ /home/jenkins/tools/java/jdk1.7.0_79-unlimited-security/bin/java 
-Xmx1g -XX:MaxPermSize=300m 
-Djavax.net.ssl.trustStore=
 -cp 
/home/jenkins/jenkins-slave/maven3-agent.jar:/home/jenkins/tools/maven/apache-maven-3.0.4/boot/plexus-classworlds-2.4.jar
 org.jvnet.hudson.maven3.agent.Maven3Main 
/home/jenkins/tools/maven/apache-maven-3.0.4 
/home/jenkins/jenkins-slave/slave.jar 
/home/jenkins/jenkins-slave/maven3-interceptor.jar 
/home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 52586
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f 
 
-Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/1 clean 
deploy -Ppedantic -Dskip-bavaria=false
[INFO] Scanning for projects...
[INFO] 
[INFO] Reactor Build Order:
[INFO] 
[INFO] PDFBox parent
[INFO] Apache FontBox
[INFO] Apache XmpBox
[INFO] Apache PDFBox
[INFO] Apache Preflight
[INFO] Apache Preflight application
[INFO] Apache PDFBox Debugger
[INFO] Apache PDFBox tools
[INFO] Apache PDFBox application
[INFO] Apache PDFBox Debugger application
[INFO] Apache PDFBox examples
[INFO] PDFBox reactor
[INFO] 
[INFO] 
[INFO] Building PDFBox parent 2.1.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ pdfbox-parent ---
[TASKS] Scanning folder 
' for files 
matching the pattern '**/*.java' - excludes: 
[TASKS] Found 0 files to scan for tasks
Found 0 open tasks.
[TASKS] Computing warning deltas based on reference build #3100
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ pdfbox-parent 
---
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.14:check (check-java-version) @ 
pdfbox-parent ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.0
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ 
pdfbox-parent ---
[WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] --- maven-source-plugin:2.3:jar (attach-sources) @ pdfbox-parent ---
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ pdfbox-parent ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: release.properties
[INFO] 1 resources included (use -debug for more details)
Warning:  org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 
'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not 
recognized.
Compiler warnings:
  WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property 
'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.'
Warning:  org.apache.xerces.parsers.SAXParser: Feature 
'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 
'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 
'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not 
recognized.
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 
approved: 1 licence.
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ pdfbox-parent 
---
[INFO] Installing 
 to 
/home/jenkins/jenkins-slave/maven-repositories/1/org/apache/pdfbox/pdfbox-parent/2.1.0-SNAPSHOT/pdfbox-parent-2.1.0-SNAPSHOT.pom
[INFO] 
[INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ pdfbox-parent ---
Downloading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/pdfbox-parent/2.1.0-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata 
org.apache.pdfbox:pdfbox-parent:2.1.0-SNAPSHOT/maven-metadata.xml from/to 
apache.snapshots.https 

Build failed in Jenkins: PDFBox-trunk » PDFBox parent #3102

2016-10-22 Thread Apache Jenkins Server
See 


--
Established TCP socket on 52586
maven3-agent.jar already up to date
maven3-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f 
/home/jenkins/jenkins-slave/workspace/PDFBox-trunk/trunk/pom.xml 
-Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/1 clean 
deploy -Ppedantic -Dskip-bavaria=false
[INFO] Scanning for projects...
[INFO] 
[INFO] Reactor Build Order:
[INFO] 
[INFO] PDFBox parent
[INFO] Apache FontBox
[INFO] Apache XmpBox
[INFO] Apache PDFBox
[INFO] Apache Preflight
[INFO] Apache Preflight application
[INFO] Apache PDFBox Debugger
[INFO] Apache PDFBox tools
[INFO] Apache PDFBox application
[INFO] Apache PDFBox Debugger application
[INFO] Apache PDFBox examples
[INFO] PDFBox reactor
[INFO] 
[INFO] 
[INFO] Building PDFBox parent 2.1.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ pdfbox-parent ---
[TASKS] Scanning folder 
'
 for files matching the pattern '**/*.java' - excludes: 
[TASKS] Found 0 files to scan for tasks
Found 0 open tasks.
[TASKS] Computing warning deltas based on reference build #3100
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ pdfbox-parent 
---
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.14:check (check-java-version) @ 
pdfbox-parent ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.0
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ 
pdfbox-parent ---
[WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] --- maven-source-plugin:2.3:jar (attach-sources) @ pdfbox-parent ---
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ pdfbox-parent ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: release.properties
[INFO] 1 resources included (use -debug for more details)
Warning:  org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 
'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not 
recognized.
Compiler warnings:
  WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property 
'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.'
Warning:  org.apache.xerces.parsers.SAXParser: Feature 
'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 
'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 
'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not 
recognized.
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 
approved: 1 licence.
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ pdfbox-parent 
---
[INFO] Installing 

 to 
/home/jenkins/jenkins-slave/maven-repositories/1/org/apache/pdfbox/pdfbox-parent/2.1.0-SNAPSHOT/pdfbox-parent-2.1.0-SNAPSHOT.pom
[INFO] 
[INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ pdfbox-parent ---
Downloading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/pdfbox/pdfbox-parent/2.1.0-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata 
org.apache.pdfbox:pdfbox-parent:2.1.0-SNAPSHOT/maven-metadata.xml from/to 
apache.snapshots.https 
(https://repository.apache.org/content/repositories/snapshots): 
java.lang.RuntimeException: Unexpected error: 
java.security.InvalidAlgorithmParameterException: the trustAnchors parameter 
must be non-empty

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Build failed in Jenkins: PDFBox-trunk #3101

2016-10-22 Thread Apache Jenkins Server
See 

--
Started by user lehmi
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-us1 (Ubuntu ubuntu docker) in workspace 

Cleaning up 
Deleting 
Deleting 
Deleting 
Deleting 
Deleting 
Updating http://svn.apache.org/repos/asf/pdfbox/trunk at revision 
'2016-10-22T15:27:56.764 +'
U 
examples/src/main/java/org/apache/pdfbox/examples/printing/Printing.java
U debugger/src/main/java/org/apache/pdfbox/debugger/ui/DebugLog.java
U debugger/src/main/java/org/apache/pdfbox/debugger/ui/LogDialog.java
At revision 1766203

No changes for http://svn.apache.org/repos/asf/pdfbox/trunk since the previous 
build
Parsing POMs
Established TCP socket on 51993
maven3-agent.jar already up to date
maven3-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[trunk] $ /home/jenkins/tools/java/jdk1.7.0_79-unlimited-security/bin/java 
-Xmx1g -XX:MaxPermSize=300m -Djavax.net.ssl.trustStore=${WORKSPACE 
}/cacerts_jdk8u101 -cp 
/home/jenkins/jenkins-slave/maven3-agent.jar:/home/jenkins/tools/maven/apache-maven-3.0.4/boot/plexus-classworlds-2.4.jar
 org.jvnet.hudson.maven3.agent.Maven3Main 
/home/jenkins/tools/maven/apache-maven-3.0.4 
/home/jenkins/jenkins-slave/slave.jar 
/home/jenkins/jenkins-slave/maven3-interceptor.jar 
/home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 51993
Error: Could not find or load main class }.cacerts_jdk8u101
ERROR: Failed to launch Maven. Exit code = 1
Archiving artifacts

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-3532) Java 6 errors

2016-10-22 Thread Tilman Hausherr (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15598001#comment-15598001
 ] 

Tilman Hausherr commented on PDFBOX-3532:
-

This is weird - here's my local output:
{code}
--- download-maven-plugin:1.3.0:wget (get-isartor) @ preflight ---
Got from cache: 
X\.m2\repository\.cache\download-maven-plugin\isartor-pdfa-2008-08-13.zip_de601c954c9fad3c1b859e732f1a8291

--- download-maven-plugin:1.3.0:wget (get-bavaria) @ preflight ---
Got from cache: 
\.m2\repository\.cache\download-maven-plugin\2009-04-03-Bavaria-pdfa.zip_1b5f9e207ea281bc14fb0f6cb0d210d4
{code}
The maven version I use is 3.0.5.

> Java 6 errors
> -
>
> Key: PDFBOX-3532
> URL: https://issues.apache.org/jira/browse/PDFBOX-3532
> Project: PDFBox
>  Issue Type: Bug
>Affects Versions: 1.8.12, 2.0.3
>Reporter: simon steiner
>Assignee: Tilman Hausherr
> Fix For: 1.8.13, 2.0.4, 2.1.0
>
>
> Under java 6 and 8 and clean ~/.m2 directory:
> mvn clean install -DskipTests
> Downloading: 
> http://www.pdfa.org/wp-content/uploads/2011/08/isartor-pdfa-2008-08-13.zip
> javax.net.ssl.SSLHandshakeException: 
> sun.security.validator.ValidatorException: PKIX path building failed: 
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
> valid certification path to requested target
> Java 6 only:
> [ERROR] 
> pdf-box-svn/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestPDDocument.java:[205,41]
>  cannot find symbol
> [ERROR] symbol  : class Builder
> [ERROR] location: class java.util.Locale



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-3532) Java 6 errors

2016-10-22 Thread JIRA

[ 
https://issues.apache.org/jira/browse/PDFBOX-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15597996#comment-15597996
 ] 

Andreas Lehmkühler commented on PDFBOX-3532:


Unfortunately it doesn't work, I guess maven checks if there is a newer version 
of the file before using the cached one :-(

> Java 6 errors
> -
>
> Key: PDFBOX-3532
> URL: https://issues.apache.org/jira/browse/PDFBOX-3532
> Project: PDFBox
>  Issue Type: Bug
>Affects Versions: 1.8.12, 2.0.3
>Reporter: simon steiner
>Assignee: Tilman Hausherr
> Fix For: 1.8.13, 2.0.4, 2.1.0
>
>
> Under java 6 and 8 and clean ~/.m2 directory:
> mvn clean install -DskipTests
> Downloading: 
> http://www.pdfa.org/wp-content/uploads/2011/08/isartor-pdfa-2008-08-13.zip
> javax.net.ssl.SSLHandshakeException: 
> sun.security.validator.ValidatorException: PKIX path building failed: 
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
> valid certification path to requested target
> Java 6 only:
> [ERROR] 
> pdf-box-svn/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestPDDocument.java:[205,41]
>  cannot find symbol
> [ERROR] symbol  : class Builder
> [ERROR] location: class java.util.Locale



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Build failed in Jenkins: PDFBox-trunk #3100

2016-10-22 Thread Apache Jenkins Server
See 

Changes:

[lehmi] PDFBOX-2941: added missing license header

--
[...truncated 1788 lines...]
Downloading: 
http://repo.maven.apache.org/maven2/com/googlecode/maven-download-plugin/download-maven-plugin/1.3.0/download-maven-plugin-1.3.0.pom
Downloaded: 
http://repo.maven.apache.org/maven2/com/googlecode/maven-download-plugin/download-maven-plugin/1.3.0/download-maven-plugin-1.3.0.pom
 (10 KB at 124.9 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/com/googlecode/maven-download-plugin/download-maven-plugin/1.3.0/download-maven-plugin-1.3.0.jar
Downloaded: 
http://repo.maven.apache.org/maven2/com/googlecode/maven-download-plugin/download-maven-plugin/1.3.0/download-maven-plugin-1.3.0.jar
 (32 KB at 1296.3 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ preflight ---
[TASKS] Scanning folder 
' for files 
matching the pattern '**/*.java' - excludes: 
[TASKS] Found 135 files to scan for tasks
Found 18 open tasks.
[TASKS] Computing warning deltas based on reference build #3099
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ preflight ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ preflight 
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ preflight ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 111 source files to 

[WARNING] bootstrap class path not set in conjunction with -source 1.6
[WARNING] 
:
 Some input files use unchecked or unsafe operations.
[WARNING] 
:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- download-maven-plugin:1.3.0:wget (get-isartor) @ preflight ---
[WARNING] Could not get content
org.apache.maven.wagon.TransferFailedException: 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target
at 
org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:799)
at 
org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
at 
com.googlecode.download.maven.plugin.internal.WGet.doGet(WGet.java:377)
at 
com.googlecode.download.maven.plugin.internal.WGet.execute(WGet.java:282)
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at 
org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 

Build failed in Jenkins: PDFBox-trunk » Apache Preflight #3100

2016-10-22 Thread Apache Jenkins Server
See 


--
[INFO] 
[INFO] 
[INFO] Building Apache Preflight 2.1.0-SNAPSHOT
[INFO] 
Downloading: 
http://repo.maven.apache.org/maven2/com/googlecode/maven-download-plugin/download-maven-plugin/1.3.0/download-maven-plugin-1.3.0.pom
Downloaded: 
http://repo.maven.apache.org/maven2/com/googlecode/maven-download-plugin/download-maven-plugin/1.3.0/download-maven-plugin-1.3.0.pom
 (10 KB at 124.9 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/com/googlecode/maven-download-plugin/download-maven-plugin/1.3.0/download-maven-plugin-1.3.0.jar
Downloaded: 
http://repo.maven.apache.org/maven2/com/googlecode/maven-download-plugin/download-maven-plugin/1.3.0/download-maven-plugin-1.3.0.jar
 (32 KB at 1296.3 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ preflight ---
[TASKS] Scanning folder 
' 
for files matching the pattern '**/*.java' - excludes: 
[TASKS] Found 135 files to scan for tasks
Found 18 open tasks.
[TASKS] Computing warning deltas based on reference build #3099
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ preflight ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ preflight 
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ preflight ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 111 source files to 

[WARNING] bootstrap class path not set in conjunction with -source 1.6
[WARNING] 
:
 Some input files use unchecked or unsafe operations.
[WARNING] 
:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- download-maven-plugin:1.3.0:wget (get-isartor) @ preflight ---
[WARNING] Could not get content
org.apache.maven.wagon.TransferFailedException: 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target
at 
org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:799)
at 
org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
at 
com.googlecode.download.maven.plugin.internal.WGet.doGet(WGet.java:377)
at 
com.googlecode.download.maven.plugin.internal.WGet.execute(WGet.java:282)
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at 
org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
at 

[jira] [Commented] (PDFBOX-2941) Improve PDFDebugger (2)

2016-10-22 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-2941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15597977#comment-15597977
 ] 

ASF subversion and git services commented on PDFBOX-2941:
-

Commit 1766202 from [~lehmi] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1766202 ]

PDFBOX-2941: added missing license header

> Improve PDFDebugger (2)
> ---
>
> Key: PDFBOX-2941
> URL: https://issues.apache.org/jira/browse/PDFBOX-2941
> Project: PDFBox
>  Issue Type: Improvement
>  Components: Utilities
>Affects Versions: 2.0.0
>Reporter: Tilman Hausherr
> Attachments: gs-bugzilla694570.pdf, keep_zoom.diff, osx-tabs.png, 
> pdfdebugger-screenshot-reverted.png, pdfdebugger-screenshot-trunc.png, 
> screenshot_debugger_new.png, screenshot_debugger_not_aligned.png, 
> screenshot_debugger_old.png, screenshot_w7_fontsize.png, 
> separate_filter_choice_from_text_hex_views.diff, sonar_qube_resolve.diff, 
> sonar_qube_resolve_25_08.diff
>
>
> This is a follow-up issue to PDFBOX-2530 to implement extra ideas that came 
> up in GSoC2015, ideas that were not implemented due to lack of time, and new 
> ideas.
> *Viewing*
> - refactor PDFDebugger.java
> - render glyphs of fonts
> - ✓ refactor StreamPane to share stream filtering among Text view and hex view
> - ✓ password dialog when hitting protected PDF
> - show "pretty" XML
> - display filtered streams even if the unfiltered stream is corrupt 
> (PDFBOX-2976)
> - ✓ display the "caused by" part exception stack trace (nested exceptions)
> - ✓ keep zoom
> - ✓ integrate DrawPrintTextLocations into rendering
> - integrate area text extraction with a mouse-created rectangle that shows 
> the coordinates in a status line
> - ✓ show permission flags of {{Encrypt/P}} entry
> - ✓ show signature flags of {{Root/AcroForm/SigFlags}} entry, see Table 219 
> in PDF spec
> - show page labels additional to page number (see file from TIKA-2121 as 
> example)
> *Editing*
> - save modified PDFs
> - editing in hex viewer
> - remove nodes (e.g. elements from a COSDictionary)
> - delete array or dictionary elements
> - load content streams
> - edit & keep content streams



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Comment Edited] (PDFBOX-3540) Trailer Syntax error, ID is different in the first and the last trailer - for PDF with incremental updates

2016-10-22 Thread Tilman Hausherr (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-3540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15597824#comment-15597824
 ] 

Tilman Hausherr edited comment on PDFBOX-3540 at 10/22/16 1:44 PM:
---

Proposed change: linearized PDFs have two trailers. Adding this check results 
in the users file being considered to be valid. However now the Bavaria test 
results are different: the file Pardes13_Rez02.pdf is now considered to be 
correct. Previously it was incorrect. This is an "unclear" file:
{code}

Unclear: Linearized PDF: ID in first page and last trailer are 
different
Acrobat 9 does not treat the document as linearized
PDFlib opinion: the "same ID" requirement should be applied 
even if the PDF tries to be linearized, not only if Acrobat actually treats it 
as linearized

{code}
PDF Tools does not consider it to be valid, but for a different reason, "A 
number value is larger than 2^15-1.".


was (Author: tilman):
Proposed change: linearized PDFs have two trailers. This results in the users 
file being considered valid. However now the Bavaria tests are different: the 
file Pardes13_Rez02.pdf is considered to be correct. Previously it was 
incorrect. This is an "unclear" file:
{code}

Unclear: Linearized PDF: ID in first page and last trailer are 
different
Acrobat 9 does not treat the document as linearized
PDFlib opinion: the "same ID" requirement should be applied 
even if the PDF tries to be linearized, not only if Acrobat actually treats it 
as linearized

{code}
PDF Tools does not consider it to be valid, but for a different reason, "A 
number value is larger than 2^15-1.".

> Trailer Syntax error, ID is different in the first and the last trailer - for 
> PDF with incremental updates
> --
>
> Key: PDFBOX-3540
> URL: https://issues.apache.org/jira/browse/PDFBOX-3540
> Project: PDFBox
>  Issue Type: Bug
>  Components: Preflight
>Affects Versions: 1.8.12, 2.0.3
>Reporter: Maruan Sahyoun
> Attachments: Pardes13_Rez02.pdf
>
>
> As reported at the users mailing list:
> 
> Hello guys,
> I have the following problem using apache.pdfbox when validating a valid 
> PDF/A-1 file, which is being signed twice:
> 1. The online validator confirms that the file is valid 
> (https://www.pdf-tools.com/pdf/validate-pdfa-online.aspx)
> 2. But when I validate it using the following code:
> {code}
> PreflightParser parser = new PreflightParser(byteDatasource);
> parser.parse();
> PreflightDocument document = parser.getPreflightDocument();
> document.validate();
> result = document.getResult();
> {code}
> 3. The file is linearized
> 4. I get that the file is invalid and the error description reads:
> {code}
> Trailer Syntax error, ID is different in the first and the last trailer
> {code}
> According to issues PDFBOX-3256 and PDFBOX-2502 this should be fixed?
> Could anyone give me a tip how to go around this problem or would that be a 
> bug?
> The pdf file is attached.
> 
> *Analysis:*
> The original PDF is linearized with a subsequent incremental update.
> According to ISO 32000-1 F1
> {quote}
> Incremental update shall still be permitted, but the resulting PDF is no 
> longer linearized and subsequently shall be treated as ordinary PDF. 
> Linearizing it again may require reprocessing the entire file; see G.7, 
> "Accessing an Updated File" for details.
> {quote}
> as the file shall no longer be treated as linearized the provision about 
> matching  ID's as outlined in PDFBOX-2502 no longer applies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-3540) Trailer Syntax error, ID is different in the first and the last trailer - for PDF with incremental updates

2016-10-22 Thread Tilman Hausherr (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-3540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15597845#comment-15597845
 ] 

Tilman Hausherr commented on PDFBOX-3540:
-

VeraPDF 0.24.2 is also considered the user file to be valid, and the Pardes 
file to be invalid because of the number value. (Which PDFBox doesn't check)

> Trailer Syntax error, ID is different in the first and the last trailer - for 
> PDF with incremental updates
> --
>
> Key: PDFBOX-3540
> URL: https://issues.apache.org/jira/browse/PDFBOX-3540
> Project: PDFBox
>  Issue Type: Bug
>  Components: Preflight
>Affects Versions: 1.8.12, 2.0.3
>Reporter: Maruan Sahyoun
> Attachments: Pardes13_Rez02.pdf
>
>
> As reported at the users mailing list:
> 
> Hello guys,
> I have the following problem using apache.pdfbox when validating a valid 
> PDF/A-1 file, which is being signed twice:
> 1. The online validator confirms that the file is valid 
> (https://www.pdf-tools.com/pdf/validate-pdfa-online.aspx)
> 2. But when I validate it using the following code:
> {code}
> PreflightParser parser = new PreflightParser(byteDatasource);
> parser.parse();
> PreflightDocument document = parser.getPreflightDocument();
> document.validate();
> result = document.getResult();
> {code}
> 3. The file is linearized
> 4. I get that the file is invalid and the error description reads:
> {code}
> Trailer Syntax error, ID is different in the first and the last trailer
> {code}
> According to issues PDFBOX-3256 and PDFBOX-2502 this should be fixed?
> Could anyone give me a tip how to go around this problem or would that be a 
> bug?
> The pdf file is attached.
> 
> *Analysis:*
> The original PDF is linearized with a subsequent incremental update.
> According to ISO 32000-1 F1
> {quote}
> Incremental update shall still be permitted, but the resulting PDF is no 
> longer linearized and subsequently shall be treated as ordinary PDF. 
> Linearizing it again may require reprocessing the entire file; see G.7, 
> "Accessing an Updated File" for details.
> {quote}
> as the file shall no longer be treated as linearized the provision about 
> matching  ID's as outlined in PDFBOX-2502 no longer applies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Comment Edited] (PDFBOX-3540) Trailer Syntax error, ID is different in the first and the last trailer - for PDF with incremental updates

2016-10-22 Thread Tilman Hausherr (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-3540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15597845#comment-15597845
 ] 

Tilman Hausherr edited comment on PDFBOX-3540 at 10/22/16 1:18 PM:
---

VeraPDF 0.24.2 is also considering the user file to be valid, and the Pardes 
file to be invalid because of the number value. (Which PDFBox doesn't check)


was (Author: tilman):
VeraPDF 0.24.2 is also considered the user file to be valid, and the Pardes 
file to be invalid because of the number value. (Which PDFBox doesn't check)

> Trailer Syntax error, ID is different in the first and the last trailer - for 
> PDF with incremental updates
> --
>
> Key: PDFBOX-3540
> URL: https://issues.apache.org/jira/browse/PDFBOX-3540
> Project: PDFBox
>  Issue Type: Bug
>  Components: Preflight
>Affects Versions: 1.8.12, 2.0.3
>Reporter: Maruan Sahyoun
> Attachments: Pardes13_Rez02.pdf
>
>
> As reported at the users mailing list:
> 
> Hello guys,
> I have the following problem using apache.pdfbox when validating a valid 
> PDF/A-1 file, which is being signed twice:
> 1. The online validator confirms that the file is valid 
> (https://www.pdf-tools.com/pdf/validate-pdfa-online.aspx)
> 2. But when I validate it using the following code:
> {code}
> PreflightParser parser = new PreflightParser(byteDatasource);
> parser.parse();
> PreflightDocument document = parser.getPreflightDocument();
> document.validate();
> result = document.getResult();
> {code}
> 3. The file is linearized
> 4. I get that the file is invalid and the error description reads:
> {code}
> Trailer Syntax error, ID is different in the first and the last trailer
> {code}
> According to issues PDFBOX-3256 and PDFBOX-2502 this should be fixed?
> Could anyone give me a tip how to go around this problem or would that be a 
> bug?
> The pdf file is attached.
> 
> *Analysis:*
> The original PDF is linearized with a subsequent incremental update.
> According to ISO 32000-1 F1
> {quote}
> Incremental update shall still be permitted, but the resulting PDF is no 
> longer linearized and subsequently shall be treated as ordinary PDF. 
> Linearizing it again may require reprocessing the entire file; see G.7, 
> "Accessing an Updated File" for details.
> {quote}
> as the file shall no longer be treated as linearized the provision about 
> matching  ID's as outlined in PDFBOX-2502 no longer applies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-3540) Trailer Syntax error, ID is different in the first and the last trailer - for PDF with incremental updates

2016-10-22 Thread Tilman Hausherr (JIRA)

[ 
https://issues.apache.org/jira/browse/PDFBOX-3540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15597824#comment-15597824
 ] 

Tilman Hausherr commented on PDFBOX-3540:
-

Proposed change: linearized PDFs have two trailers. This results in the users 
file being considered valid. However now the Bavaria tests are different: the 
file Pardes13_Rez02.pdf is considered to be correct. Previously it was 
incorrect. This is an "unclear" file:
{code}

Unclear: Linearized PDF: ID in first page and last trailer are 
different
Acrobat 9 does not treat the document as linearized
PDFlib opinion: the "same ID" requirement should be applied 
even if the PDF tries to be linearized, not only if Acrobat actually treats it 
as linearized

{code}
PDF Tools does not consider it to be valid, but for a different reason, "A 
number value is larger than 2^15-1.".

> Trailer Syntax error, ID is different in the first and the last trailer - for 
> PDF with incremental updates
> --
>
> Key: PDFBOX-3540
> URL: https://issues.apache.org/jira/browse/PDFBOX-3540
> Project: PDFBox
>  Issue Type: Bug
>  Components: Preflight
>Affects Versions: 1.8.12, 2.0.3
>Reporter: Maruan Sahyoun
> Attachments: Pardes13_Rez02.pdf
>
>
> As reported at the users mailing list:
> 
> Hello guys,
> I have the following problem using apache.pdfbox when validating a valid 
> PDF/A-1 file, which is being signed twice:
> 1. The online validator confirms that the file is valid 
> (https://www.pdf-tools.com/pdf/validate-pdfa-online.aspx)
> 2. But when I validate it using the following code:
> {code}
> PreflightParser parser = new PreflightParser(byteDatasource);
> parser.parse();
> PreflightDocument document = parser.getPreflightDocument();
> document.validate();
> result = document.getResult();
> {code}
> 3. The file is linearized
> 4. I get that the file is invalid and the error description reads:
> {code}
> Trailer Syntax error, ID is different in the first and the last trailer
> {code}
> According to issues PDFBOX-3256 and PDFBOX-2502 this should be fixed?
> Could anyone give me a tip how to go around this problem or would that be a 
> bug?
> The pdf file is attached.
> 
> *Analysis:*
> The original PDF is linearized with a subsequent incremental update.
> According to ISO 32000-1 F1
> {quote}
> Incremental update shall still be permitted, but the resulting PDF is no 
> longer linearized and subsequently shall be treated as ordinary PDF. 
> Linearizing it again may require reprocessing the entire file; see G.7, 
> "Accessing an Updated File" for details.
> {quote}
> as the file shall no longer be treated as linearized the provision about 
> matching  ID's as outlined in PDFBOX-2502 no longer applies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Updated] (PDFBOX-3540) Trailer Syntax error, ID is different in the first and the last trailer - for PDF with incremental updates

2016-10-22 Thread Tilman Hausherr (JIRA)

 [ 
https://issues.apache.org/jira/browse/PDFBOX-3540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr updated PDFBOX-3540:

Attachment: Pardes13_Rez02.pdf

> Trailer Syntax error, ID is different in the first and the last trailer - for 
> PDF with incremental updates
> --
>
> Key: PDFBOX-3540
> URL: https://issues.apache.org/jira/browse/PDFBOX-3540
> Project: PDFBox
>  Issue Type: Bug
>  Components: Preflight
>Affects Versions: 1.8.12, 2.0.3
>Reporter: Maruan Sahyoun
> Attachments: Pardes13_Rez02.pdf
>
>
> As reported at the users mailing list:
> 
> Hello guys,
> I have the following problem using apache.pdfbox when validating a valid 
> PDF/A-1 file, which is being signed twice:
> 1. The online validator confirms that the file is valid 
> (https://www.pdf-tools.com/pdf/validate-pdfa-online.aspx)
> 2. But when I validate it using the following code:
> {code}
> PreflightParser parser = new PreflightParser(byteDatasource);
> parser.parse();
> PreflightDocument document = parser.getPreflightDocument();
> document.validate();
> result = document.getResult();
> {code}
> 3. The file is linearized
> 4. I get that the file is invalid and the error description reads:
> {code}
> Trailer Syntax error, ID is different in the first and the last trailer
> {code}
> According to issues PDFBOX-3256 and PDFBOX-2502 this should be fixed?
> Could anyone give me a tip how to go around this problem or would that be a 
> bug?
> The pdf file is attached.
> 
> *Analysis:*
> The original PDF is linearized with a subsequent incremental update.
> According to ISO 32000-1 F1
> {quote}
> Incremental update shall still be permitted, but the resulting PDF is no 
> longer linearized and subsequently shall be treated as ordinary PDF. 
> Linearizing it again may require reprocessing the entire file; see G.7, 
> "Accessing an Updated File" for details.
> {quote}
> as the file shall no longer be treated as linearized the provision about 
> matching  ID's as outlined in PDFBOX-2502 no longer applies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-3532) Java 6 errors

2016-10-22 Thread JIRA

[ 
https://issues.apache.org/jira/browse/PDFBOX-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15597709#comment-15597709
 ] 

Andreas Lehmkühler commented on PDFBOX-3532:


I've ran a trunk build with disabled ssl-checks. Now, with the testfiles in the 
maven cache subsequent builds may not fail anymore

> Java 6 errors
> -
>
> Key: PDFBOX-3532
> URL: https://issues.apache.org/jira/browse/PDFBOX-3532
> Project: PDFBox
>  Issue Type: Bug
>Affects Versions: 1.8.12, 2.0.3
>Reporter: simon steiner
>Assignee: Tilman Hausherr
> Fix For: 1.8.13, 2.0.4, 2.1.0
>
>
> Under java 6 and 8 and clean ~/.m2 directory:
> mvn clean install -DskipTests
> Downloading: 
> http://www.pdfa.org/wp-content/uploads/2011/08/isartor-pdfa-2008-08-13.zip
> javax.net.ssl.SSLHandshakeException: 
> sun.security.validator.ValidatorException: PKIX path building failed: 
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
> valid certification path to requested target
> Java 6 only:
> [ERROR] 
> pdf-box-svn/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestPDDocument.java:[205,41]
>  cannot find symbol
> [ERROR] symbol  : class Builder
> [ERROR] location: class java.util.Locale



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Build failed in Jenkins: PDFBox-trunk » Apache PDFBox Debugger #3099

2016-10-22 Thread Apache Jenkins Server
See 


--
[INFO] 
[INFO] 
[INFO] Building Apache PDFBox Debugger 2.1.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ pdfbox-debugger ---
[TASKS] Scanning folder 
'
 for files matching the pattern '**/*.java' - excludes: 
[TASKS] Found 80 files to scan for tasks
Found 2 open tasks.
[TASKS] Computing warning deltas based on reference build #3086
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
pdfbox-debugger ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
pdfbox-debugger ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 13 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ 
pdfbox-debugger ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 80 source files to 

[WARNING] bootstrap class path not set in conjunction with -source 1.6
[WARNING] 
:
 Some input files use unchecked or unsafe operations.
[WARNING] 
:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ 
pdfbox-debugger ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ 
pdfbox-debugger ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ pdfbox-debugger ---
[JENKINS] Recording test results[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.14:check (check-java-version) @ 
pdfbox-debugger ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.0

[INFO] 
[INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ pdfbox-debugger ---
[INFO] Building jar: 

[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ 
pdfbox-debugger ---
[WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] --- maven-source-plugin:2.3:jar (attach-sources) @ pdfbox-debugger ---
[INFO] Building jar: 

[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ pdfbox-debugger ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: release.properties
[INFO] 94 resources included (use -debug for more details)
Warning:  org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 
'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not 
recognized.
Compiler warnings:
  WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property 
'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.'
Warning:  org.apache.xerces.parsers.SAXParser: Feature 
'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 
'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 
'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not 
recognized.
[INFO] Rat check: Summary of files. Unapproved: 2 unknown: 2 generated: 0 
approved: 79 licence.

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Build failed in Jenkins: PDFBox-trunk #3099

2016-10-22 Thread Apache Jenkins Server
See 

--
[...truncated 3575 lines...]
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ preflight-app 
---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ 
preflight-app ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ 
preflight-app ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ preflight-app ---
[INFO] Skipping execution of surefire because it has already been run for this 
configuration
[JENKINS] Recording test results[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.14:check (check-java-version) @ 
preflight-app ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.0

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ preflight-app 
---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
preflight-app ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ preflight-app 
---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ 
preflight-app ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ 
preflight-app ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ preflight-app ---
[INFO] Skipping execution of surefire because it has already been run for this 
configuration
[JENKINS] Recording test results[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.14:check (check-java-version) @ 
preflight-app ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.0

[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ 
preflight-app ---
[WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] --- maven-source-plugin:2.3:jar (attach-sources) @ preflight-app ---
[INFO] Building jar: 

[WARNING] Failed to getClass for org.apache.felix.bundleplugin.BundlePlugin
[INFO] 
[INFO] --- maven-bundle-plugin:2.5.4:bundle (default-bundle) @ preflight-app ---
[WARNING] Bundle org.apache.pdfbox:preflight-app:bundle:2.1.0-SNAPSHOT : Unused 
Private-Package instructions, no such package(s) on the class path: [!*]
[WARNING] Bundle org.apache.pdfbox:preflight-app:bundle:2.1.0-SNAPSHOT : Export 
org.apache.pdfbox.pdmodel.common,  has 1,  private references 
[org.apache.fontbox.util], 
[WARNING] Bundle org.apache.pdfbox:preflight-app:bundle:2.1.0-SNAPSHOT : Export 
org.apache.pdfbox.pdmodel.font,  has 7,  private references 
[org.apache.fontbox.ttf, org.apache.fontbox.type1, org.apache.fontbox.cff, 
org.apache.fontbox, org.apache.fontbox.cmap, org.apache.fontbox.afm, 
org.apache.fontbox.util], 
[WARNING] Bundle org.apache.pdfbox:preflight-app:bundle:2.1.0-SNAPSHOT : Export 
org.apache.pdfbox.pdmodel.font.encoding,  has 2,  private references 
[org.apache.fontbox.encoding, org.apache.fontbox.afm], 
[WARNING] Bundle org.apache.pdfbox:preflight-app:bundle:2.1.0-SNAPSHOT : Export 
org.apache.pdfbox.preflight,  has 1,  private references [org.apache.xmpbox], 
[WARNING] Bundle org.apache.pdfbox:preflight-app:bundle:2.1.0-SNAPSHOT : Export 
org.apache.pdfbox.preflight.font.util,  has 1,  private references 
[org.apache.xmpbox], 
[WARNING] Bundle org.apache.pdfbox:preflight-app:bundle:2.1.0-SNAPSHOT : Export 
org.apache.pdfbox.preflight.metadata,  has 2,  private references 
[org.apache.xmpbox, org.apache.xmpbox.schema], 
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ 
preflight-app ---
[WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] --- maven-source-plugin:2.3:jar (attach-sources) @ preflight-app ---
[INFO] 
[INFO] --- 

Jenkins build is back to normal : PDFBox-trunk » Apache Preflight #3098

2016-10-22 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Build failed in Jenkins: PDFBox-trunk » Apache PDFBox Debugger #3098

2016-10-22 Thread Apache Jenkins Server
See 


--
[INFO] 
[INFO] 
[INFO] Building Apache PDFBox Debugger 2.1.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ pdfbox-debugger ---
[TASKS] Scanning folder 
'
 for files matching the pattern '**/*.java' - excludes: 
[TASKS] Found 80 files to scan for tasks
Found 2 open tasks.
[TASKS] Computing warning deltas based on reference build #3086
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
pdfbox-debugger ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
pdfbox-debugger ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 13 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ 
pdfbox-debugger ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 80 source files to 

[WARNING] bootstrap class path not set in conjunction with -source 1.6
[WARNING] 
:
 Some input files use unchecked or unsafe operations.
[WARNING] 
:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ 
pdfbox-debugger ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ 
pdfbox-debugger ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ pdfbox-debugger ---
[JENKINS] Recording test results[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.14:check (check-java-version) @ 
pdfbox-debugger ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.0

[INFO] 
[INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ pdfbox-debugger ---
[INFO] Building jar: 

[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ 
pdfbox-debugger ---
[WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] --- maven-source-plugin:2.3:jar (attach-sources) @ pdfbox-debugger ---
[INFO] Building jar: 

[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ pdfbox-debugger ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: release.properties
[INFO] 94 resources included (use -debug for more details)
Warning:  org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 
'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not 
recognized.
Compiler warnings:
  WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property 
'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.'
Warning:  org.apache.xerces.parsers.SAXParser: Feature 
'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 
'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 
'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not 
recognized.
[INFO] Rat check: Summary of files. Unapproved: 2 unknown: 2 generated: 0 
approved: 79 licence.

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Build failed in Jenkins: PDFBox-trunk #3098

2016-10-22 Thread Apache Jenkins Server
See 

--
[...truncated 3578 lines...]
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ preflight-app 
---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ 
preflight-app ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ 
preflight-app ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ preflight-app ---
[INFO] Skipping execution of surefire because it has already been run for this 
configuration
[JENKINS] Recording test results[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.14:check (check-java-version) @ 
preflight-app ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.0

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ preflight-app 
---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
preflight-app ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ preflight-app 
---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ 
preflight-app ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ 
preflight-app ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ preflight-app ---
[INFO] Skipping execution of surefire because it has already been run for this 
configuration
[JENKINS] Recording test results[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.14:check (check-java-version) @ 
preflight-app ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.0

[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ 
preflight-app ---
[WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] --- maven-source-plugin:2.3:jar (attach-sources) @ preflight-app ---
[INFO] Building jar: 

[WARNING] Failed to getClass for org.apache.felix.bundleplugin.BundlePlugin
[INFO] 
[INFO] --- maven-bundle-plugin:2.5.4:bundle (default-bundle) @ preflight-app ---
[WARNING] Bundle org.apache.pdfbox:preflight-app:bundle:2.1.0-SNAPSHOT : Unused 
Private-Package instructions, no such package(s) on the class path: [!*]
[WARNING] Bundle org.apache.pdfbox:preflight-app:bundle:2.1.0-SNAPSHOT : Export 
org.apache.pdfbox.pdmodel.common,  has 1,  private references 
[org.apache.fontbox.util], 
[WARNING] Bundle org.apache.pdfbox:preflight-app:bundle:2.1.0-SNAPSHOT : Export 
org.apache.pdfbox.pdmodel.font,  has 7,  private references 
[org.apache.fontbox.cff, org.apache.fontbox.util, org.apache.fontbox.ttf, 
org.apache.fontbox, org.apache.fontbox.cmap, org.apache.fontbox.type1, 
org.apache.fontbox.afm], 
[WARNING] Bundle org.apache.pdfbox:preflight-app:bundle:2.1.0-SNAPSHOT : Export 
org.apache.pdfbox.pdmodel.font.encoding,  has 2,  private references 
[org.apache.fontbox.encoding, org.apache.fontbox.afm], 
[WARNING] Bundle org.apache.pdfbox:preflight-app:bundle:2.1.0-SNAPSHOT : Export 
org.apache.pdfbox.preflight,  has 1,  private references [org.apache.xmpbox], 
[WARNING] Bundle org.apache.pdfbox:preflight-app:bundle:2.1.0-SNAPSHOT : Export 
org.apache.pdfbox.preflight.font.util,  has 1,  private references 
[org.apache.xmpbox], 
[WARNING] Bundle org.apache.pdfbox:preflight-app:bundle:2.1.0-SNAPSHOT : Export 
org.apache.pdfbox.preflight.metadata,  has 2,  private references 
[org.apache.xmpbox, org.apache.xmpbox.schema], 
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ 
preflight-app ---
[WARNING] Failed to getClass for 

[jira] [Created] (PDFBOX-3540) Trailer Syntax error, ID is different in the first and the last trailer - for PDF with incremental updates

2016-10-22 Thread Maruan Sahyoun (JIRA)
Maruan Sahyoun created PDFBOX-3540:
--

 Summary: Trailer Syntax error, ID is different in the first and 
the last trailer - for PDF with incremental updates
 Key: PDFBOX-3540
 URL: https://issues.apache.org/jira/browse/PDFBOX-3540
 Project: PDFBox
  Issue Type: Bug
  Components: Preflight
Affects Versions: 2.0.3, 1.8.12
Reporter: Maruan Sahyoun


As reported at the users mailing list:


Hello guys,

I have the following problem using apache.pdfbox when validating a valid 
PDF/A-1 file, which is being signed twice:
1. The online validator confirms that the file is valid 
(https://www.pdf-tools.com/pdf/validate-pdfa-online.aspx)
2. But when I validate it using the following code:
{code}
PreflightParser parser = new PreflightParser(byteDatasource);
parser.parse();
PreflightDocument document = parser.getPreflightDocument();
document.validate();
result = document.getResult();
{code}
3. The file is linearized
4. I get that the file is invalid and the error description reads:

{code}
Trailer Syntax error, ID is different in the first and the last trailer
{code}

According to issues PDFBOX-3256 and PDFBOX-2502 this should be fixed?

Could anyone give me a tip how to go around this problem or would that be a bug?
The pdf file is attached.



*Analysis:*
The original PDF is linearized with a subsequent incremental update.
According to ISO 32000-1 F1

{quote}
Incremental update shall still be permitted, but the resulting PDF is no longer 
linearized and subsequently shall be treated as ordinary PDF. Linearizing it 
again may require reprocessing the entire file; see G.7, "Accessing an Updated 
File" for details.
{quote}

as the file shall no longer be treated as linearized the provision about 
matching  ID's as outlined in PDFBOX-2502 no longer applies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is back to normal : PDFBox 2.0.x » Apache PDFBox #264

2016-10-22 Thread Apache Jenkins Server
See 


-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Build failed in Jenkins: PDFBox 2.0.x #264

2016-10-22 Thread Apache Jenkins Server
See 

Changes:

[tilman] PDFBOX-3539: close document after printing, as suggested by Ivan Ridao 
Freitas

--
[...truncated 1774 lines...]
Downloading: 
http://repo.maven.apache.org/maven2/com/googlecode/maven-download-plugin/download-maven-plugin/1.3.0/download-maven-plugin-1.3.0.jar
Downloaded: 
http://repo.maven.apache.org/maven2/com/googlecode/maven-download-plugin/download-maven-plugin/1.3.0/download-maven-plugin-1.3.0.jar
 (32 KB at 1037.1 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ preflight ---
[TASKS] Scanning folder 
' for files 
matching the pattern '**/*.java' - excludes: 
[TASKS] Found 135 files to scan for tasks
Found 18 open tasks.
[TASKS] Computing warning deltas based on reference build #255
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ preflight ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ preflight 
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ preflight ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 111 source files to 

[WARNING] bootstrap class path not set in conjunction with -source 1.6
[WARNING] 
:
 Some input files use unchecked or unsafe operations.
[WARNING] 
:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- download-maven-plugin:1.3.0:wget (get-isartor) @ preflight ---
[WARNING] Could not get content
org.apache.maven.wagon.TransferFailedException: 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target
at 
org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:799)
at 
org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
at 
com.googlecode.download.maven.plugin.internal.WGet.doGet(WGet.java:377)
at 
com.googlecode.download.maven.plugin.internal.WGet.execute(WGet.java:282)
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at 
org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:136)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:71)
at hudson.remoting.UserRequest.perform(UserRequest.java:153)
  

Build failed in Jenkins: PDFBox 2.0.x » Apache Preflight #264

2016-10-22 Thread Apache Jenkins Server
See 


--
[INFO] 
[INFO] 
[INFO] Building Apache Preflight 2.0.4-SNAPSHOT
[INFO] 
Downloading: 
http://repo.maven.apache.org/maven2/com/googlecode/maven-download-plugin/download-maven-plugin/1.3.0/download-maven-plugin-1.3.0.pom
Downloaded: 
http://repo.maven.apache.org/maven2/com/googlecode/maven-download-plugin/download-maven-plugin/1.3.0/download-maven-plugin-1.3.0.pom
 (10 KB at 334.5 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/com/googlecode/maven-download-plugin/download-maven-plugin/1.3.0/download-maven-plugin-1.3.0.jar
Downloaded: 
http://repo.maven.apache.org/maven2/com/googlecode/maven-download-plugin/download-maven-plugin/1.3.0/download-maven-plugin-1.3.0.jar
 (32 KB at 1037.1 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ preflight ---
[TASKS] Scanning folder 
'
 for files matching the pattern '**/*.java' - excludes: 
[TASKS] Found 135 files to scan for tasks
Found 18 open tasks.
[TASKS] Computing warning deltas based on reference build #255
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ preflight ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ preflight 
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ preflight ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 111 source files to 

[WARNING] bootstrap class path not set in conjunction with -source 1.6
[WARNING] 
:
 Some input files use unchecked or unsafe operations.
[WARNING] 
:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- download-maven-plugin:1.3.0:wget (get-isartor) @ preflight ---
[WARNING] Could not get content
org.apache.maven.wagon.TransferFailedException: 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target
at 
org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:799)
at 
org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
at 
com.googlecode.download.maven.plugin.internal.WGet.doGet(WGet.java:377)
at 
com.googlecode.download.maven.plugin.internal.WGet.execute(WGet.java:282)
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at 
org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
at 

Build failed in Jenkins: PDFBox-trunk » Apache Preflight #3097

2016-10-22 Thread Apache Jenkins Server
See 


--
[INFO] 
[INFO] 
[INFO] Building Apache Preflight 2.1.0-SNAPSHOT
[INFO] 
Downloading: 
http://repo.maven.apache.org/maven2/com/googlecode/maven-download-plugin/download-maven-plugin/1.3.0/download-maven-plugin-1.3.0.pom
Downloaded: 
http://repo.maven.apache.org/maven2/com/googlecode/maven-download-plugin/download-maven-plugin/1.3.0/download-maven-plugin-1.3.0.pom
 (10 KB at 126.6 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/com/googlecode/maven-download-plugin/download-maven-plugin/1.3.0/download-maven-plugin-1.3.0.jar
Downloaded: 
http://repo.maven.apache.org/maven2/com/googlecode/maven-download-plugin/download-maven-plugin/1.3.0/download-maven-plugin-1.3.0.jar
 (32 KB at 864.2 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ preflight ---
[TASKS] Scanning folder 
' 
for files matching the pattern '**/*.java' - excludes: 
[TASKS] Found 135 files to scan for tasks
Found 18 open tasks.
[TASKS] Computing warning deltas based on reference build #3086
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ preflight ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ preflight 
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ preflight ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 111 source files to 

[WARNING] bootstrap class path not set in conjunction with -source 1.6
[WARNING] 
:
 Some input files use unchecked or unsafe operations.
[WARNING] 
:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- download-maven-plugin:1.3.0:wget (get-isartor) @ preflight ---
[WARNING] Could not get content
org.apache.maven.wagon.TransferFailedException: 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target
at 
org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:799)
at 
org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
at 
com.googlecode.download.maven.plugin.internal.WGet.doGet(WGet.java:377)
at 
com.googlecode.download.maven.plugin.internal.WGet.execute(WGet.java:282)
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at 
org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
at 

Build failed in Jenkins: PDFBox-trunk #3097

2016-10-22 Thread Apache Jenkins Server
See 

Changes:

[tilman] PDFBOX-3539: close document after printing, as suggested by Ivan Ridao 
Freitas

--
[...truncated 3718 lines...]
Downloading: 
http://repo.maven.apache.org/maven2/com/googlecode/maven-download-plugin/download-maven-plugin/1.3.0/download-maven-plugin-1.3.0.pom
Downloaded: 
http://repo.maven.apache.org/maven2/com/googlecode/maven-download-plugin/download-maven-plugin/1.3.0/download-maven-plugin-1.3.0.pom
 (10 KB at 126.6 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/com/googlecode/maven-download-plugin/download-maven-plugin/1.3.0/download-maven-plugin-1.3.0.jar
Downloaded: 
http://repo.maven.apache.org/maven2/com/googlecode/maven-download-plugin/download-maven-plugin/1.3.0/download-maven-plugin-1.3.0.jar
 (32 KB at 864.2 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ preflight ---
[TASKS] Scanning folder 
' for files 
matching the pattern '**/*.java' - excludes: 
[TASKS] Found 135 files to scan for tasks
Found 18 open tasks.
[TASKS] Computing warning deltas based on reference build #3086
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ preflight ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ preflight 
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ preflight ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 111 source files to 

[WARNING] bootstrap class path not set in conjunction with -source 1.6
[WARNING] 
:
 Some input files use unchecked or unsafe operations.
[WARNING] 
:
 Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- download-maven-plugin:1.3.0:wget (get-isartor) @ preflight ---
[WARNING] Could not get content
org.apache.maven.wagon.TransferFailedException: 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target
at 
org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:799)
at 
org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
at 
com.googlecode.download.maven.plugin.internal.WGet.doGet(WGet.java:377)
at 
com.googlecode.download.maven.plugin.internal.WGet.execute(WGet.java:282)
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at 
org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at