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

2016-10-20 Thread JIRA

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

Andreas Lehmkühler commented on PDFBOX-3532:


How about moving the test files to another location until we solve the https 
issue? I'm offering my dropbox space, any other ideas?

> 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-20 Thread JIRA

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

Andreas Lehmkühler commented on PDFBOX-3532:


8u101 is the first jdk supporting that cert without adding it manually

> 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-3457) Glyphs rendered in wrong width

2016-10-20 Thread Tilman Hausherr (JIRA)

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

Tilman Hausherr commented on PDFBOX-3457:
-

For PDFBOX-122: 
{code}
 Warning  [COSParser] Object (12:0) at offset 506 does not end with 'endobj' 
but with '13'
 Warning  [COSParser] Object (13:0) at offset 732 does not end with 'endobj' 
but with '14'
 Warning  [PDCIDFontType2] Using fallback font ArialUnicodeMS for CID-keyed 
TrueType font ‚l‚r–¾’©
{code}
For PDFBOX-2950:
{code}
 Warning  [PDCIDFontType2] Using fallback font ArialUnicodeMS for CID-keyed 
TrueType font FZLTXIHK_SBJT--GBK1-0
 Warning  [PDCIDFontType2] Using fallback font ArialUnicodeMS for CID-keyed 
TrueType font FZLTHK_SBJT--GBK1-0
 Warning  [PDCIDFontType2] Using fallback font ArialUnicodeMS for CID-keyed 
TrueType font FZHTK--GBK1-0
 Warning  [PDCIDFontType2] Using fallback font ArialUnicodeMS for CID-keyed 
TrueType font FZLTDHK_SBJT--GBK1-0
 Warning  [PDCIDFontType2] Using fallback font ArialUnicodeMS for CID-keyed 
TrueType font FZDHTK--GBK1-0
 Warning  [PDCIDFontType2] Using fallback font ArialUnicodeMS for CID-keyed 
TrueType font FZLTTHK_SBJT--GBK1-0
 Warning  [PDCIDFontType2] Using fallback font ArialUnicodeMS for CID-keyed 
TrueType font FZLTZHK_SBJT--GBK1-0
 Warning  [PDCIDFontType2] Using fallback font ArialUnicodeMS for CID-keyed 
TrueType font FZTYSK_SBJT--GBK1-0
 Warning  [PDCIDFontType2] Using fallback font ArialUnicodeMS for CID-keyed 
TrueType font FZBYSK_SBJT--GBK1-0
{code}


> Glyphs rendered in wrong width
> --
>
> Key: PDFBOX-3457
> URL: https://issues.apache.org/jira/browse/PDFBOX-3457
> Project: PDFBox
>  Issue Type: Bug
>Affects Versions: 2.0.2, 2.0.3, 2.1.0
>Reporter: Tilman Hausherr
> Attachments: PDFBOX-2642-HACK.pdf, PDFBOX_3457.patch, 
> PDFBOX_3457_v2.patch, PDFJS-5550.pdf, PDFJS-7523.pdf, bug864847.pdf, 
> gs-bugzilla693663-p9-stretchdisabled.png, gs-bugzilla693663-p9.pdf, 
> gs-bugzilla693663-p91_part.png, osx.png, overlapping.png
>
>
> Fonts rendered in wrong size. The cause is related to wrong values in the 
> /WIDTHS table and this code in PageDrawer:
> {code}
> // stretch non-embedded glyph if it does not match the width 
> contained in the PDF
> if (!font.isEmbedded())
> {
> float fontWidth = font.getWidthFromFont(code);
> if (fontWidth > 0 && // ignore spaces
> Math.abs(fontWidth - displacement.getX() * 1000) > 
> 0.0001)
> {
> float pdfWidth = displacement.getX() * 1000;
> at.scale(pdfWidth / fontWidth, 1);
> }
> }
> {code}
> I suspect that there must be another condition to skip the stretching, but I 
> didn't find out which one.



--
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 #262

2016-10-20 Thread Apache Jenkins Server
See 

Changes:

[tilman] PDFBOX-2852: avoid potential ClassCastException,, remove super() call

--
[...truncated 1751 lines...]
[INFO] 
[INFO] 
[INFO] Building Apache Preflight 2.0.4-SNAPSHOT
[INFO] 
[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)
at 

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

2016-10-20 Thread Apache Jenkins Server
See 


--
[INFO] 
[INFO] 
[INFO] Building Apache Preflight 2.0.4-SNAPSHOT
[INFO] 
[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)
at hudson.remoting.UserRequest.perform(UserRequest.java:50)
at 

[jira] [Commented] (PDFBOX-3457) Glyphs rendered in wrong width

2016-10-20 Thread John Hewson (JIRA)

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

John Hewson commented on PDFBOX-3457:
-

These both render correctly on my system - are you seeing any warnings?

> Glyphs rendered in wrong width
> --
>
> Key: PDFBOX-3457
> URL: https://issues.apache.org/jira/browse/PDFBOX-3457
> Project: PDFBox
>  Issue Type: Bug
>Affects Versions: 2.0.2, 2.0.3, 2.1.0
>Reporter: Tilman Hausherr
> Attachments: PDFBOX-2642-HACK.pdf, PDFBOX_3457.patch, 
> PDFBOX_3457_v2.patch, PDFJS-5550.pdf, PDFJS-7523.pdf, bug864847.pdf, 
> gs-bugzilla693663-p9-stretchdisabled.png, gs-bugzilla693663-p9.pdf, 
> gs-bugzilla693663-p91_part.png, osx.png, overlapping.png
>
>
> Fonts rendered in wrong size. The cause is related to wrong values in the 
> /WIDTHS table and this code in PageDrawer:
> {code}
> // stretch non-embedded glyph if it does not match the width 
> contained in the PDF
> if (!font.isEmbedded())
> {
> float fontWidth = font.getWidthFromFont(code);
> if (fontWidth > 0 && // ignore spaces
> Math.abs(fontWidth - displacement.getX() * 1000) > 
> 0.0001)
> {
> float pdfWidth = displacement.getX() * 1000;
> at.scale(pdfWidth / fontWidth, 1);
> }
> }
> {code}
> I suspect that there must be another condition to skip the stretching, but I 
> didn't find out which one.



--
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 #3094

2016-10-20 Thread Apache Jenkins Server
See 

Changes:

[tilman] PDFBOX-2852: avoid potential ClassCastException,, remove super() call

--
[...truncated 3848 lines...]
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcomponents-core/4.0-beta3/httpcomponents-core-4.0-beta3.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcomponents-core/4.0-beta3/httpcomponents-core-4.0-beta3.pom
 (7 KB at 676.1 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/3.0.1/plexus-archiver-3.0.1.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/3.0.1/plexus-archiver-3.0.1.pom
 (6 KB at 706.3 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.6/plexus-io-2.6.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.6/plexus-io-2.6.pom
 (4 KB at 428.4 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/iq80/snappy/snappy/0.3/snappy-0.3.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/iq80/snappy/snappy/0.3/snappy-0.3.pom 
(15 KB at 1758.1 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.4/plexus-utils-1.5.4.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.4/plexus-utils-1.5.4.pom
 (6 KB at 558.5 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0/maven-reporting-api-2.0.jar
Downloading: 
http://repo.maven.apache.org/maven2/doxia/doxia-sink-api/1.0-alpha-4/doxia-sink-api-1.0-alpha-4.jar
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpclient/4.0-beta2/httpclient-4.0-beta2.jar
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcore/4.0-beta3/httpcore-4.0-beta3.jar
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/3.0.1/plexus-archiver-3.0.1.jar
Downloaded: 
http://repo.maven.apache.org/maven2/doxia/doxia-sink-api/1.0-alpha-4/doxia-sink-api-1.0-alpha-4.jar
 (5 KB at 261.2 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.6/plexus-io-2.6.jar
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0/maven-reporting-api-2.0.jar
 (7 KB at 305.5 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/iq80/snappy/snappy/0.3/snappy-0.3.jar
Downloaded: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.6/plexus-io-2.6.jar
 (83 KB at 8215.5 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.4/plexus-utils-1.5.4.jar
Downloaded: 
http://repo.maven.apache.org/maven2/org/iq80/snappy/snappy/0.3/snappy-0.3.jar 
(48 KB at 5291.2 KB/sec)
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpclient/4.0-beta2/httpclient-4.0-beta2.jar
 (270 KB at 8429.4 KB/sec)
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcore/4.0-beta3/httpcore-4.0-beta3.jar
 (169 KB at 6727.5 KB/sec)
Downloaded: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.4/plexus-utils-1.5.4.jar
 (245 KB at 17449.8 KB/sec)
Downloaded: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/3.0.1/plexus-archiver-3.0.1.jar
 (373 KB at 11625.0 KB/sec)
[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 

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

2016-10-20 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 1040.8 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 3111.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 ---
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpclient/4.0-beta2/httpclient-4.0-beta2.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpclient/4.0-beta2/httpclient-4.0-beta2.pom
 (5 KB at 494.4 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcomponents-client/4.0-beta2/httpcomponents-client-4.0-beta2.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcomponents-client/4.0-beta2/httpcomponents-client-4.0-beta2.pom
 (8 KB at 854.5 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcore/4.0-beta3/httpcore-4.0-beta3.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcore/4.0-beta3/httpcore-4.0-beta3.pom
 (5 KB at 461.8 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcomponents-core/4.0-beta3/httpcomponents-core-4.0-beta3.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcomponents-core/4.0-beta3/httpcomponents-core-4.0-beta3.pom
 (7 KB at 676.1 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/3.0.1/plexus-archiver-3.0.1.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/3.0.1/plexus-archiver-3.0.1.pom
 (6 KB at 706.3 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.6/plexus-io-2.6.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.6/plexus-io-2.6.pom
 (4 KB at 428.4 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/iq80/snappy/snappy/0.3/snappy-0.3.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/iq80/snappy/snappy/0.3/snappy-0.3.pom 
(15 KB at 1758.1 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.4/plexus-utils-1.5.4.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.4/plexus-utils-1.5.4.pom
 (6 KB at 558.5 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0/maven-reporting-api-2.0.jar
Downloading: 
http://repo.maven.apache.org/maven2/doxia/doxia-sink-api/1.0-alpha-4/doxia-sink-api-1.0-alpha-4.jar
Downloading: 

[jira] [Commented] (PDFBOX-2852) Improve code quality (2)

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

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

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

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

PDFBOX-2852: avoid potential ClassCastException,, remove super() call

> Improve code quality (2)
> 
>
> Key: PDFBOX-2852
> URL: https://issues.apache.org/jira/browse/PDFBOX-2852
> Project: PDFBox
>  Issue Type: Task
>Affects Versions: 2.0.0
>Reporter: Tilman Hausherr
> Attachments: PDNameTreeNode.java.patch, XMPSchema.java.patch, 
> explicit_array_creation.patch, fix_javadoc.patch, foreach.patch, 
> noarray.patch, semicolon.patch, stringbuilder.patch, 
> unnecessary_type_casting.patch, unused_imports.patch, usestatic.patch, 
> winansiencoding.patch, winansiencoding2.patch
>
>
> This is a longterm issue for the task to improve code quality, by using the 
> [SonarQube 
> report|https://analysis.apache.org/dashboard/index/org.apache.pdfbox:pdfbox-reactor],
>  hints in different IDEs, the FindBugs tool and other code quality tools.
> This is a follow-up of PDFBOX-2576, which was getting too long.



--
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-2852) Improve code quality (2)

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

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

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

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

PDFBOX-2852: avoid potential ClassCastException,, remove super() call

> Improve code quality (2)
> 
>
> Key: PDFBOX-2852
> URL: https://issues.apache.org/jira/browse/PDFBOX-2852
> Project: PDFBox
>  Issue Type: Task
>Affects Versions: 2.0.0
>Reporter: Tilman Hausherr
> Attachments: PDNameTreeNode.java.patch, XMPSchema.java.patch, 
> explicit_array_creation.patch, fix_javadoc.patch, foreach.patch, 
> noarray.patch, semicolon.patch, stringbuilder.patch, 
> unnecessary_type_casting.patch, unused_imports.patch, usestatic.patch, 
> winansiencoding.patch, winansiencoding2.patch
>
>
> This is a longterm issue for the task to improve code quality, by using the 
> [SonarQube 
> report|https://analysis.apache.org/dashboard/index/org.apache.pdfbox:pdfbox-reactor],
>  hints in different IDEs, the FindBugs tool and other code quality tools.
> This is a follow-up of PDFBOX-2576, which was getting too long.



--
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 #261

2016-10-20 Thread Apache Jenkins Server
See 

Changes:

[tilman] PDFBOX-2852: avoid potential ClassCastException

--
[...truncated 1750 lines...]
[INFO] 
[INFO] Building Apache Preflight 2.0.4-SNAPSHOT
[INFO] 
[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)
at hudson.remoting.UserRequest.perform(UserRequest.java:50)
at hudson.remoting.Request$2.run(Request.java:332)
at 

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

2016-10-20 Thread Apache Jenkins Server
See 


--
[INFO] 
[INFO] 
[INFO] Building Apache Preflight 2.0.4-SNAPSHOT
[INFO] 
[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)
at hudson.remoting.UserRequest.perform(UserRequest.java:50)
at 

Build failed in Jenkins: PDFBox-trunk #3093

2016-10-20 Thread Apache Jenkins Server
See 

Changes:

[tilman] PDFBOX-2852: avoid potential ClassCastException

[tilman] PDFBOX-3534: avoid NPE if AcroForm field's child cosdict is null, as 
suggested by Tim Allison

--
[...truncated 3859 lines...]
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcomponents-core/4.0-beta3/httpcomponents-core-4.0-beta3.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcomponents-core/4.0-beta3/httpcomponents-core-4.0-beta3.pom
 (7 KB at 751.2 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/3.0.1/plexus-archiver-3.0.1.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/3.0.1/plexus-archiver-3.0.1.pom
 (6 KB at 627.8 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/iq80/snappy/snappy/0.3/snappy-0.3.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/iq80/snappy/snappy/0.3/snappy-0.3.pom 
(15 KB at 1406.4 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.4/plexus-utils-1.5.4.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.4/plexus-utils-1.5.4.pom
 (6 KB at 628.3 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-provider-api/2.5/wagon-provider-api-2.5.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-provider-api/2.5/wagon-provider-api-2.5.pom
 (2 KB at 240.8 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon/2.5/wagon-2.5.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon/2.5/wagon-2.5.pom
 (20 KB at 2446.9 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0/maven-reporting-api-2.0.jar
Downloading: 
http://repo.maven.apache.org/maven2/doxia/doxia-sink-api/1.0-alpha-4/doxia-sink-api-1.0-alpha-4.jar
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcore/4.0-beta3/httpcore-4.0-beta3.jar
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpclient/4.0-beta2/httpclient-4.0-beta2.jar
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/3.0.1/plexus-archiver-3.0.1.jar
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0/maven-reporting-api-2.0.jar
 (7 KB at 493.5 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/iq80/snappy/snappy/0.3/snappy-0.3.jar
Downloaded: 
http://repo.maven.apache.org/maven2/doxia/doxia-sink-api/1.0-alpha-4/doxia-sink-api-1.0-alpha-4.jar
 (5 KB at 209.0 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.4/plexus-utils-1.5.4.jar
Downloaded: 
http://repo.maven.apache.org/maven2/org/iq80/snappy/snappy/0.3/snappy-0.3.jar 
(48 KB at 5952.6 KB/sec)
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcore/4.0-beta3/httpcore-4.0-beta3.jar
 (169 KB at 7312.5 KB/sec)
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpclient/4.0-beta2/httpclient-4.0-beta2.jar
 (270 KB at 11239.2 KB/sec)
Downloaded: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.4/plexus-utils-1.5.4.jar
 (245 KB at 17449.8 KB/sec)
Downloaded: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/3.0.1/plexus-archiver-3.0.1.jar
 (373 KB at 7750.0 KB/sec)
[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 

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

2016-10-20 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 1040.8 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 3456.9 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 ---
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpclient/4.0-beta2/httpclient-4.0-beta2.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpclient/4.0-beta2/httpclient-4.0-beta2.pom
 (5 KB at 494.4 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcomponents-client/4.0-beta2/httpcomponents-client-4.0-beta2.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcomponents-client/4.0-beta2/httpcomponents-client-4.0-beta2.pom
 (8 KB at 961.3 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcore/4.0-beta3/httpcore-4.0-beta3.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcore/4.0-beta3/httpcore-4.0-beta3.pom
 (5 KB at 577.3 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcomponents-core/4.0-beta3/httpcomponents-core-4.0-beta3.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcomponents-core/4.0-beta3/httpcomponents-core-4.0-beta3.pom
 (7 KB at 751.2 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/3.0.1/plexus-archiver-3.0.1.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/3.0.1/plexus-archiver-3.0.1.pom
 (6 KB at 627.8 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/iq80/snappy/snappy/0.3/snappy-0.3.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/iq80/snappy/snappy/0.3/snappy-0.3.pom 
(15 KB at 1406.4 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.4/plexus-utils-1.5.4.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.4/plexus-utils-1.5.4.pom
 (6 KB at 628.3 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-provider-api/2.5/wagon-provider-api-2.5.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-provider-api/2.5/wagon-provider-api-2.5.pom
 (2 KB at 240.8 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon/2.5/wagon-2.5.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon/2.5/wagon-2.5.pom
 (20 KB at 2446.9 KB/sec)
Downloading: 

[jira] [Comment Edited] (PDFBOX-3536) IOException "Invalid dictionary, found: 'r' but expected: '/' at offset 1148" on a valid PDF

2016-10-20 Thread Tilman Hausherr (JIRA)

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

Tilman Hausherr edited comment on PDFBOX-3536 at 10/20/16 6:43 PM:
---

The cause is this:
{code}
/Title (ILIANE160721142(0A7011106.pdf)
{code}
overwriting the "(" allows PDFBox to handle the file. The code in BaseParser 
has this:
{code}
else if( ch == openBrace )
{
braces++;
out.write(ch);
}
{code}
The specification mentions
{quote}
Balanced pairs of parentheses within a string require no special treatment.
{quote}
Adobe is able to display the file, but the /Info object is lost. Maybe they 
give up parsing when the offset boundary of the object is passed.


was (Author: tilman):
The cause is this:
{code}
/Title (ILIANE160721142(0A7011106.pdf)
{code}
overwriting the "(" allows PDFBox to handle the file. The code in BaseParser 
has this:
{code}
else if( ch == openBrace )
{
braces++;
out.write(ch);
}
{code}
The specification mentions
{quote}
Balanced pairs of parentheses within a string require no special treatment.
{quote}

> IOException "Invalid dictionary, found: 'r' but expected: '/' at offset 1148" 
> on a valid PDF
> 
>
> Key: PDFBOX-3536
> URL: https://issues.apache.org/jira/browse/PDFBOX-3536
> Project: PDFBox
>  Issue Type: Bug
>  Components: Parsing
>Affects Versions: 2.0.3
> Environment: Windows 7 x64, JVM 1.8.0_101
>Reporter: Seva Alekseyev
> Attachments: resulprovao.pdf
>
>
> On the attached file, which loads fine with Adobe Reader, the 
> PDDocument.load() methpod throws the following error:
> java.io.IOException: Unknown dir object c='>' cInt=62 peek='>' peekInt=62 at 
> offset 1196
>   at 
> org.apache.pdfbox.pdfparser.BaseParser.parseDirObject(BaseParser.java:982)
>   at 
> org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionaryValue(BaseParser.java:153)
>   at 
> org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionaryNameValuePair(BaseParser.java:277)
>   at 
> org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionary(BaseParser.java:210)
>   at 
> org.apache.pdfbox.pdfparser.BaseParser.parseDirObject(BaseParser.java:885)
>   at 
> org.apache.pdfbox.pdfparser.COSParser.parseFileObject(COSParser.java:757)
>   at 
> org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:726)
>   at 
> org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:657)
>   at 
> org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2092)
>   at 
> org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:203)
>   at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:252)
>   at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:957)
>   at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:913)
>   at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:861)
>   at Temp.PDFTemp.App.main(App.java:19)



--
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-3536) IOException "Invalid dictionary, found: 'r' but expected: '/' at offset 1148" on a valid PDF

2016-10-20 Thread Tilman Hausherr (JIRA)

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

Tilman Hausherr commented on PDFBOX-3536:
-

The cause is this:
{code}
/Title (ILIANE160721142(0A7011106.pdf)
{code}
overwriting the "(" allows PDFBox to handle the file. The code in BaseParser 
has this:
{code}
else if( ch == openBrace )
{
braces++;
out.write(ch);
}
{code}
The specification mentions
{quote}
Balanced pairs of parentheses within a string require no special treatment.
{quote}

> IOException "Invalid dictionary, found: 'r' but expected: '/' at offset 1148" 
> on a valid PDF
> 
>
> Key: PDFBOX-3536
> URL: https://issues.apache.org/jira/browse/PDFBOX-3536
> Project: PDFBox
>  Issue Type: Bug
>  Components: Parsing
>Affects Versions: 2.0.3
> Environment: Windows 7 x64, JVM 1.8.0_101
>Reporter: Seva Alekseyev
> Attachments: resulprovao.pdf
>
>
> On the attached file, which loads fine with Adobe Reader, the 
> PDDocument.load() methpod throws the following error:
> java.io.IOException: Unknown dir object c='>' cInt=62 peek='>' peekInt=62 at 
> offset 1196
>   at 
> org.apache.pdfbox.pdfparser.BaseParser.parseDirObject(BaseParser.java:982)
>   at 
> org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionaryValue(BaseParser.java:153)
>   at 
> org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionaryNameValuePair(BaseParser.java:277)
>   at 
> org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionary(BaseParser.java:210)
>   at 
> org.apache.pdfbox.pdfparser.BaseParser.parseDirObject(BaseParser.java:885)
>   at 
> org.apache.pdfbox.pdfparser.COSParser.parseFileObject(COSParser.java:757)
>   at 
> org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:726)
>   at 
> org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:657)
>   at 
> org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2092)
>   at 
> org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:203)
>   at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:252)
>   at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:957)
>   at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:913)
>   at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:861)
>   at Temp.PDFTemp.App.main(App.java:19)



--
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 » Apache Preflight #260

2016-10-20 Thread Apache Jenkins Server
See 


--
[INFO] 
[INFO] 
[INFO] Building Apache Preflight 2.0.4-SNAPSHOT
[INFO] 
[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)
at hudson.remoting.UserRequest.perform(UserRequest.java:50)
at 

Build failed in Jenkins: PDFBox 2.0.x #260

2016-10-20 Thread Apache Jenkins Server
See 

Changes:

[tilman] PDFBOX-3534: avoid NPE if AcroForm field's child cosdict is null, as 
suggested by Tim Allison

--
[...truncated 1752 lines...]
[INFO] 
[INFO] 
[INFO] Building Apache Preflight 2.0.4-SNAPSHOT
[INFO] 
[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)
at 

[jira] [Commented] (PDFBOX-3534) NPE if an AcroForm field's child cosdict is null

2016-10-20 Thread Tim Allison (JIRA)

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

Tim Allison commented on PDFBOX-3534:
-

Y, the cost in code and bytes for the test file didn't seem worth it.  Thank 
you!

> NPE if an AcroForm field's child cosdict is null
> 
>
> Key: PDFBOX-3534
> URL: https://issues.apache.org/jira/browse/PDFBOX-3534
> Project: PDFBox
>  Issue Type: Bug
>  Components: AcroForm
>Affects Versions: 2.0.3
>Reporter: Tim Allison
>Priority: Trivial
> Fix For: 2.0.4, 2.1.0
>
> Attachments: PDFBOX-3534.patch
>
>
> [~sevaa] raised this issue on TIKA-2117.  I confirmed that it is still 
> happening on trunk



--
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-3534) NPE if an AcroForm field's child cosdict is null

2016-10-20 Thread Tilman Hausherr (JIRA)

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

Tilman Hausherr commented on PDFBOX-3534:
-

That would be a multiple of the work compared to the fix... the real problem is 
that there is a lot of existing code that is too "optimistic".

> NPE if an AcroForm field's child cosdict is null
> 
>
> Key: PDFBOX-3534
> URL: https://issues.apache.org/jira/browse/PDFBOX-3534
> Project: PDFBox
>  Issue Type: Bug
>  Components: AcroForm
>Affects Versions: 2.0.3
>Reporter: Tim Allison
>Priority: Trivial
> Fix For: 2.0.4, 2.1.0
>
> Attachments: PDFBOX-3534.patch
>
>
> [~sevaa] raised this issue on TIKA-2117.  I confirmed that it is still 
> happening on trunk



--
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-3534) NPE if an AcroForm field's child cosdict is null

2016-10-20 Thread Tilman Hausherr (JIRA)

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

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

> NPE if an AcroForm field's child cosdict is null
> 
>
> Key: PDFBOX-3534
> URL: https://issues.apache.org/jira/browse/PDFBOX-3534
> Project: PDFBox
>  Issue Type: Bug
>  Components: AcroForm
>Affects Versions: 2.0.3
>Reporter: Tim Allison
>Priority: Trivial
> Fix For: 2.0.4, 2.1.0
>
> Attachments: PDFBOX-3534.patch
>
>
> [~sevaa] raised this issue on TIKA-2117.  I confirmed that it is still 
> happening on trunk



--
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-2852) Improve code quality (2)

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

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

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

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

PDFBOX-2852: avoid potential ClassCastException

> Improve code quality (2)
> 
>
> Key: PDFBOX-2852
> URL: https://issues.apache.org/jira/browse/PDFBOX-2852
> Project: PDFBox
>  Issue Type: Task
>Affects Versions: 2.0.0
>Reporter: Tilman Hausherr
> Attachments: PDNameTreeNode.java.patch, XMPSchema.java.patch, 
> explicit_array_creation.patch, fix_javadoc.patch, foreach.patch, 
> noarray.patch, semicolon.patch, stringbuilder.patch, 
> unnecessary_type_casting.patch, unused_imports.patch, usestatic.patch, 
> winansiencoding.patch, winansiencoding2.patch
>
>
> This is a longterm issue for the task to improve code quality, by using the 
> [SonarQube 
> report|https://analysis.apache.org/dashboard/index/org.apache.pdfbox:pdfbox-reactor],
>  hints in different IDEs, the FindBugs tool and other code quality tools.
> This is a follow-up of PDFBOX-2576, which was getting too long.



--
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-2852) Improve code quality (2)

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

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

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

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

PDFBOX-2852: avoid potential ClassCastException

> Improve code quality (2)
> 
>
> Key: PDFBOX-2852
> URL: https://issues.apache.org/jira/browse/PDFBOX-2852
> Project: PDFBox
>  Issue Type: Task
>Affects Versions: 2.0.0
>Reporter: Tilman Hausherr
> Attachments: PDNameTreeNode.java.patch, XMPSchema.java.patch, 
> explicit_array_creation.patch, fix_javadoc.patch, foreach.patch, 
> noarray.patch, semicolon.patch, stringbuilder.patch, 
> unnecessary_type_casting.patch, unused_imports.patch, usestatic.patch, 
> winansiencoding.patch, winansiencoding2.patch
>
>
> This is a longterm issue for the task to improve code quality, by using the 
> [SonarQube 
> report|https://analysis.apache.org/dashboard/index/org.apache.pdfbox:pdfbox-reactor],
>  hints in different IDEs, the FindBugs tool and other code quality tools.
> This is a follow-up of PDFBOX-2576, which was getting too long.



--
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-3534) NPE if an AcroForm field's child cosdict is null

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

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

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

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

PDFBOX-3534: avoid NPE if AcroForm field's child cosdict is null, as suggested 
by Tim Allison

> NPE if an AcroForm field's child cosdict is null
> 
>
> Key: PDFBOX-3534
> URL: https://issues.apache.org/jira/browse/PDFBOX-3534
> Project: PDFBox
>  Issue Type: Bug
>  Components: AcroForm
>Affects Versions: 2.0.3
>Reporter: Tim Allison
>Priority: Trivial
> Attachments: PDFBOX-3534.patch
>
>
> [~sevaa] raised this issue on TIKA-2117.  I confirmed that it is still 
> happening on trunk



--
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-3534) NPE if an AcroForm field's child cosdict is null

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

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

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

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

PDFBOX-3534: avoid NPE if AcroForm field's child cosdict is null, as suggested 
by Tim Allison

> NPE if an AcroForm field's child cosdict is null
> 
>
> Key: PDFBOX-3534
> URL: https://issues.apache.org/jira/browse/PDFBOX-3534
> Project: PDFBox
>  Issue Type: Bug
>  Components: AcroForm
>Affects Versions: 2.0.3
>Reporter: Tim Allison
>Priority: Trivial
> Attachments: PDFBOX-3534.patch
>
>
> [~sevaa] raised this issue on TIKA-2117.  I confirmed that it is still 
> happening on trunk



--
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-2941) Improve PDFDebugger (2)

2016-10-20 Thread Tilman Hausherr (JIRA)

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

Tilman Hausherr updated PDFBOX-2941:

Description: 
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

  was:
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

*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


> 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-3535) ClassCastException in PDAnnotationLink.getAction()

2016-10-20 Thread Tilman Hausherr (JIRA)

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

Tilman Hausherr edited comment on PDFBOX-3535 at 10/20/16 5:41 PM:
---

That's weird that it doesn't happen in the trunk, I fixed the same bug.

Update: I see why from another remark by Tim, you just ran the PDFBox extract 
text, that one doesn't touch the annotations.


was (Author: tilman):
That's weird that it doesn't happen in the trunk, I fixed the same bug.

> ClassCastException in PDAnnotationLink.getAction()
> --
>
> Key: PDFBOX-3535
> URL: https://issues.apache.org/jira/browse/PDFBOX-3535
> Project: PDFBox
>  Issue Type: Bug
>  Components: PDModel
>Affects Versions: 2.0.3
>Reporter: Tim Allison
>Assignee: Tilman Hausherr
>Priority: Trivial
> Fix For: 2.0.4, 2.1.0
>
>
> {noformat}
> Caused by: java.lang.ClassCastException: org.apache.pdfbox.cos.COSString 
> cannot be cast to org.apache.pdfbox.cos.COSDictionary
>   at 
> org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationLink.getAction(PDAnnotationLink.java:88)
> {noformat}
> [~sevaa] raised this issue on TIKA-2121.  I confirmed that it happens with 
> PDFBox 2.0.3.  I haven't confirmed trunk yet.



--
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-3535) ClassCastException in PDAnnotationLink.getAction()

2016-10-20 Thread Tilman Hausherr (JIRA)

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

Tilman Hausherr edited comment on PDFBOX-3535 at 10/20/16 5:39 PM:
---

I won't reproduce the behavior of Adobe, as it has no advantage for TIKA. The 
destination is an internal destination, not an URL, so TIKA users lose nothing.


was (Author: tilman):
I won't reproduce the behavior of Adobe, as it has no advantage for TIKA. The 
destination is an internal destination, bot an URL, so TIKA users lose nothing.

> ClassCastException in PDAnnotationLink.getAction()
> --
>
> Key: PDFBOX-3535
> URL: https://issues.apache.org/jira/browse/PDFBOX-3535
> Project: PDFBox
>  Issue Type: Bug
>  Components: PDModel
>Affects Versions: 2.0.3
>Reporter: Tim Allison
>Assignee: Tilman Hausherr
>Priority: Trivial
> Fix For: 2.0.4, 2.1.0
>
>
> {noformat}
> Caused by: java.lang.ClassCastException: org.apache.pdfbox.cos.COSString 
> cannot be cast to org.apache.pdfbox.cos.COSDictionary
>   at 
> org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationLink.getAction(PDAnnotationLink.java:88)
> {noformat}
> [~sevaa] raised this issue on TIKA-2121.  I confirmed that it happens with 
> PDFBox 2.0.3.  I haven't confirmed trunk yet.



--
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-3535) ClassCastException in PDAnnotationLink.getAction()

2016-10-20 Thread Tilman Hausherr (JIRA)

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

Tilman Hausherr commented on PDFBOX-3535:
-

I won't reproduce the behavior of Adobe, as it has no advantage for TIKA. The 
destination is an internal destination, bot an URL, so TIKA users lose nothing.

> ClassCastException in PDAnnotationLink.getAction()
> --
>
> Key: PDFBOX-3535
> URL: https://issues.apache.org/jira/browse/PDFBOX-3535
> Project: PDFBox
>  Issue Type: Bug
>  Components: PDModel
>Affects Versions: 2.0.3
>Reporter: Tim Allison
>Priority: Trivial
> Fix For: 2.0.4, 2.1.0
>
>
> {noformat}
> Caused by: java.lang.ClassCastException: org.apache.pdfbox.cos.COSString 
> cannot be cast to org.apache.pdfbox.cos.COSDictionary
>   at 
> org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationLink.getAction(PDAnnotationLink.java:88)
> {noformat}
> [~sevaa] raised this issue on TIKA-2121.  I confirmed that it happens with 
> PDFBox 2.0.3.  I haven't confirmed trunk yet.



--
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-3535) ClassCastException in PDAnnotationLink.getAction()

2016-10-20 Thread Tilman Hausherr (JIRA)

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

Tilman Hausherr resolved PDFBOX-3535.
-
Resolution: Fixed
  Assignee: Tilman Hausherr

> ClassCastException in PDAnnotationLink.getAction()
> --
>
> Key: PDFBOX-3535
> URL: https://issues.apache.org/jira/browse/PDFBOX-3535
> Project: PDFBox
>  Issue Type: Bug
>  Components: PDModel
>Affects Versions: 2.0.3
>Reporter: Tim Allison
>Assignee: Tilman Hausherr
>Priority: Trivial
> Fix For: 2.0.4, 2.1.0
>
>
> {noformat}
> Caused by: java.lang.ClassCastException: org.apache.pdfbox.cos.COSString 
> cannot be cast to org.apache.pdfbox.cos.COSDictionary
>   at 
> org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationLink.getAction(PDAnnotationLink.java:88)
> {noformat}
> [~sevaa] raised this issue on TIKA-2121.  I confirmed that it happens with 
> PDFBox 2.0.3.  I haven't confirmed trunk yet.



--
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 #259

2016-10-20 Thread Apache Jenkins Server
See 

Changes:

[tilman] PDFBOX-3535: avoid ClassCastException, remove super(), set constant

--
[...truncated 3702 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 851.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 2074.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 #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 

[jira] [Commented] (PDFBOX-3535) ClassCastException in PDAnnotationLink.getAction()

2016-10-20 Thread Tilman Hausherr (JIRA)

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

Tilman Hausherr commented on PDFBOX-3535:
-

That's weird that it doesn't happen in the trunk, I fixed the same bug.

> ClassCastException in PDAnnotationLink.getAction()
> --
>
> Key: PDFBOX-3535
> URL: https://issues.apache.org/jira/browse/PDFBOX-3535
> Project: PDFBox
>  Issue Type: Bug
>  Components: PDModel
>Affects Versions: 2.0.3
>Reporter: Tim Allison
>Priority: Trivial
> Fix For: 2.0.4, 2.1.0
>
>
> {noformat}
> Caused by: java.lang.ClassCastException: org.apache.pdfbox.cos.COSString 
> cannot be cast to org.apache.pdfbox.cos.COSDictionary
>   at 
> org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationLink.getAction(PDAnnotationLink.java:88)
> {noformat}
> [~sevaa] raised this issue on TIKA-2121.  I confirmed that it happens with 
> PDFBox 2.0.3.  I haven't confirmed trunk yet.



--
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 » Apache Preflight #259

2016-10-20 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 851.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 2074.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 #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 

[jira] [Commented] (PDFBOX-3535) ClassCastException in PDAnnotationLink.getAction()

2016-10-20 Thread Tilman Hausherr (JIRA)

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

Tilman Hausherr commented on PDFBOX-3535:
-

Never mind, I found it: it is on page 5 (753). Instead of an action dictionary, 
it has the name of a destination. This is NOT in the specification, but Adobe 
Reader understands it. PDF.js doesn't.

> ClassCastException in PDAnnotationLink.getAction()
> --
>
> Key: PDFBOX-3535
> URL: https://issues.apache.org/jira/browse/PDFBOX-3535
> Project: PDFBox
>  Issue Type: Bug
>  Components: PDModel
>Affects Versions: 2.0.3
>Reporter: Tim Allison
>Priority: Trivial
> Fix For: 2.0.4, 2.1.0
>
>
> {noformat}
> Caused by: java.lang.ClassCastException: org.apache.pdfbox.cos.COSString 
> cannot be cast to org.apache.pdfbox.cos.COSDictionary
>   at 
> org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationLink.getAction(PDAnnotationLink.java:88)
> {noformat}
> [~sevaa] raised this issue on TIKA-2121.  I confirmed that it happens with 
> PDFBox 2.0.3.  I haven't confirmed trunk yet.



--
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 #3092

2016-10-20 Thread Apache Jenkins Server
See 

Changes:

[tilman] PDFBOX-3535: avoid ClassCastException, remove super(), set constant

--
[...truncated 3907 lines...]
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.6/plexus-io-2.6.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.6/plexus-io-2.6.pom
 (4 KB at 550.8 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/iq80/snappy/snappy/0.3/snappy-0.3.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/iq80/snappy/snappy/0.3/snappy-0.3.pom 
(15 KB at 1562.7 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.4/plexus-utils-1.5.4.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.4/plexus-utils-1.5.4.pom
 (6 KB at 558.5 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-provider-api/2.5/wagon-provider-api-2.5.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-provider-api/2.5/wagon-provider-api-2.5.pom
 (2 KB at 210.7 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon/2.5/wagon-2.5.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon/2.5/wagon-2.5.pom
 (20 KB at 2446.9 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0/maven-reporting-api-2.0.jar
Downloading: 
http://repo.maven.apache.org/maven2/doxia/doxia-sink-api/1.0-alpha-4/doxia-sink-api-1.0-alpha-4.jar
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpclient/4.0-beta2/httpclient-4.0-beta2.jar
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcore/4.0-beta3/httpcore-4.0-beta3.jar
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/3.0.1/plexus-archiver-3.0.1.jar
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0/maven-reporting-api-2.0.jar
 (7 KB at 641.5 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.6/plexus-io-2.6.jar
Downloaded: 
http://repo.maven.apache.org/maven2/doxia/doxia-sink-api/1.0-alpha-4/doxia-sink-api-1.0-alpha-4.jar
 (5 KB at 298.5 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/iq80/snappy/snappy/0.3/snappy-0.3.jar
Downloaded: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.6/plexus-io-2.6.jar
 (83 KB at 3734.3 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.4/plexus-utils-1.5.4.jar
Downloaded: 
http://repo.maven.apache.org/maven2/org/iq80/snappy/snappy/0.3/snappy-0.3.jar 
(48 KB at 5952.6 KB/sec)
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpclient/4.0-beta2/httpclient-4.0-beta2.jar
 (270 KB at 7098.4 KB/sec)
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcore/4.0-beta3/httpcore-4.0-beta3.jar
 (169 KB at 3822.4 KB/sec)
Downloaded: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/3.0.1/plexus-archiver-3.0.1.jar
 (373 KB at 8266.7 KB/sec)
Downloaded: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.4/plexus-utils-1.5.4.jar
 (245 KB at 9771.9 KB/sec)
[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 

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

2016-10-20 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 1040.8 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/sonatype/oss/oss-parent/9/oss-parent-9.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/sonatype/oss/oss-parent/9/oss-parent-9.pom
 (7 KB at 712.8 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 3456.9 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/log4j/log4j/1.2.17/log4j-1.2.17.pom
Downloaded: 
http://repo.maven.apache.org/maven2/log4j/log4j/1.2.17/log4j-1.2.17.pom (22 KB 
at 2123.5 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/log4j/log4j/1.2.17/log4j-1.2.17.jar
Downloaded: 
http://repo.maven.apache.org/maven2/log4j/log4j/1.2.17/log4j-1.2.17.jar (479 KB 
at 25179.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 #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 ---
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpclient/4.0-beta2/httpclient-4.0-beta2.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpclient/4.0-beta2/httpclient-4.0-beta2.pom
 (5 KB at 494.4 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcomponents-client/4.0-beta2/httpcomponents-client-4.0-beta2.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcomponents-client/4.0-beta2/httpcomponents-client-4.0-beta2.pom
 (8 KB at 961.3 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcore/4.0-beta3/httpcore-4.0-beta3.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcore/4.0-beta3/httpcore-4.0-beta3.pom
 (5 KB at 577.3 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcomponents-core/4.0-beta3/httpcomponents-core-4.0-beta3.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/httpcomponents/httpcomponents-core/4.0-beta3/httpcomponents-core-4.0-beta3.pom
 (7 KB at 965.8 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/3.0.1/plexus-archiver-3.0.1.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/3.0.1/plexus-archiver-3.0.1.pom
 (6 KB at 706.3 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.6/plexus-io-2.6.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.6/plexus-io-2.6.pom
 (4 KB at 550.8 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/iq80/snappy/snappy/0.3/snappy-0.3.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/iq80/snappy/snappy/0.3/snappy-0.3.pom 

[jira] [Updated] (PDFBOX-3533) IOException "expected number, actual=COSArray{...}" on a valid PDF

2016-10-20 Thread Seva Alekseyev (JIRA)

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

Seva Alekseyev updated PDFBOX-3533:
---
Description: 
On the attached PDF file, which opens fine with Adobe Reader, the 
PDDocument.load() method errors with the following message:
{code}
"expected number, actual=COSArray{[COSObject{7, 0}, COSName{XYZ}, COSNull{}, 
COSNull{}, COSNull{}]} at offset 497"
{code}

  was:
On the following PDF file that open with Acrobat:

https://dl.dropboxusercontent.com/u/92341073/097-allowed_claims.pdf

the PDDocument.load() method errors with the following message:
{code}
"expected number, actual=COSArray{[COSObject{7, 0}, COSName{XYZ}, COSNull{}, 
COSNull{}, COSNull{}]} at offset 497"
{code}


> IOException "expected number, actual=COSArray{...}" on a valid PDF
> --
>
> Key: PDFBOX-3533
> URL: https://issues.apache.org/jira/browse/PDFBOX-3533
> Project: PDFBox
>  Issue Type: Bug
>  Components: Parsing
>Affects Versions: 2.1.0
> Environment: Windows 7 x64, JVM 1.8.0_101
>Reporter: Seva Alekseyev
> Attachments: 097-allowed_claims.pdf
>
>
> On the attached PDF file, which opens fine with Adobe Reader, the 
> PDDocument.load() method errors with the following message:
> {code}
> "expected number, actual=COSArray{[COSObject{7, 0}, COSName{XYZ}, COSNull{}, 
> COSNull{}, COSNull{}]} at offset 497"
> {code}



--
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-3533) IOException "expected number, actual=COSArray{...}" on a valid PDF

2016-10-20 Thread Seva Alekseyev (JIRA)

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

Seva Alekseyev updated PDFBOX-3533:
---
Attachment: 097-allowed_claims.pdf

> IOException "expected number, actual=COSArray{...}" on a valid PDF
> --
>
> Key: PDFBOX-3533
> URL: https://issues.apache.org/jira/browse/PDFBOX-3533
> Project: PDFBox
>  Issue Type: Bug
>  Components: Parsing
>Affects Versions: 2.1.0
> Environment: Windows 7 x64, JVM 1.8.0_101
>Reporter: Seva Alekseyev
> Attachments: 097-allowed_claims.pdf
>
>
> On the following PDF file that open with Acrobat:
> https://dl.dropboxusercontent.com/u/92341073/097-allowed_claims.pdf
> the PDDocument.load() method errors with the following message:
> {code}
> "expected number, actual=COSArray{[COSObject{7, 0}, COSName{XYZ}, COSNull{}, 
> COSNull{}, COSNull{}]} at offset 497"
> {code}



--
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-3535) ClassCastException in PDAnnotationLink.getAction()

2016-10-20 Thread Seva Alekseyev (JIRA)

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

Seva Alekseyev commented on PDFBOX-3535:


It doesn't happen in the PDFBox trunk, I've checked. In 2.0.3 (which ships with 
Tika 1.13), however, the exception happens when the value of currentPage in 
pdftextStripper.processPages() is 4.

> ClassCastException in PDAnnotationLink.getAction()
> --
>
> Key: PDFBOX-3535
> URL: https://issues.apache.org/jira/browse/PDFBOX-3535
> Project: PDFBox
>  Issue Type: Bug
>  Components: PDModel
>Affects Versions: 2.0.3
>Reporter: Tim Allison
>Priority: Trivial
> Fix For: 2.0.4, 2.1.0
>
>
> {noformat}
> Caused by: java.lang.ClassCastException: org.apache.pdfbox.cos.COSString 
> cannot be cast to org.apache.pdfbox.cos.COSDictionary
>   at 
> org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationLink.getAction(PDAnnotationLink.java:88)
> {noformat}
> [~sevaa] raised this issue on TIKA-2121.  I confirmed that it happens with 
> PDFBox 2.0.3.  I haven't confirmed trunk yet.



--
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-3536) IOException "Invalid dictionary, found: 'r' but expected: '/' at offset 1148" on a valid PDF

2016-10-20 Thread Seva Alekseyev (JIRA)

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

Seva Alekseyev updated PDFBOX-3536:
---
Summary: IOException "Invalid dictionary, found: 'r' but expected: '/' at 
offset 1148" on a valid PDF  (was: IOException "" on a valid PDF)

> IOException "Invalid dictionary, found: 'r' but expected: '/' at offset 1148" 
> on a valid PDF
> 
>
> Key: PDFBOX-3536
> URL: https://issues.apache.org/jira/browse/PDFBOX-3536
> Project: PDFBox
>  Issue Type: Bug
>  Components: Parsing
>Affects Versions: 2.0.3
> Environment: Windows 7 x64, JVM 1.8.0_101
>Reporter: Seva Alekseyev
> Attachments: resulprovao.pdf
>
>
> On the attached file, which loads fine with Adobe Reader, the 
> PDDocument.load() methpod throws the following error:
> java.io.IOException: Unknown dir object c='>' cInt=62 peek='>' peekInt=62 at 
> offset 1196
>   at 
> org.apache.pdfbox.pdfparser.BaseParser.parseDirObject(BaseParser.java:982)
>   at 
> org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionaryValue(BaseParser.java:153)
>   at 
> org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionaryNameValuePair(BaseParser.java:277)
>   at 
> org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionary(BaseParser.java:210)
>   at 
> org.apache.pdfbox.pdfparser.BaseParser.parseDirObject(BaseParser.java:885)
>   at 
> org.apache.pdfbox.pdfparser.COSParser.parseFileObject(COSParser.java:757)
>   at 
> org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:726)
>   at 
> org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:657)
>   at 
> org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2092)
>   at 
> org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:203)
>   at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:252)
>   at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:957)
>   at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:913)
>   at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:861)
>   at Temp.PDFTemp.App.main(App.java:19)



--
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-3535) ClassCastException in PDAnnotationLink.getAction()

2016-10-20 Thread Tilman Hausherr (JIRA)

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

Tilman Hausherr commented on PDFBOX-3535:
-

[~sevaa] can you tell on what page it happened? The new code just ignores the 
wrong type. But I'd like to test what Adobe does.

> ClassCastException in PDAnnotationLink.getAction()
> --
>
> Key: PDFBOX-3535
> URL: https://issues.apache.org/jira/browse/PDFBOX-3535
> Project: PDFBox
>  Issue Type: Bug
>  Components: PDModel
>Affects Versions: 2.0.3
>Reporter: Tim Allison
>Priority: Trivial
> Fix For: 2.0.4, 2.1.0
>
>
> {noformat}
> Caused by: java.lang.ClassCastException: org.apache.pdfbox.cos.COSString 
> cannot be cast to org.apache.pdfbox.cos.COSDictionary
>   at 
> org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationLink.getAction(PDAnnotationLink.java:88)
> {noformat}
> [~sevaa] raised this issue on TIKA-2121.  I confirmed that it happens with 
> PDFBox 2.0.3.  I haven't confirmed trunk yet.



--
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-3535) ClassCastException in PDAnnotationLink.getAction()

2016-10-20 Thread Tilman Hausherr (JIRA)

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

Tilman Hausherr updated PDFBOX-3535:

Fix Version/s: 2.1.0
   2.0.4

> ClassCastException in PDAnnotationLink.getAction()
> --
>
> Key: PDFBOX-3535
> URL: https://issues.apache.org/jira/browse/PDFBOX-3535
> Project: PDFBox
>  Issue Type: Bug
>  Components: PDModel
>Affects Versions: 2.0.3
>Reporter: Tim Allison
>Priority: Trivial
> Fix For: 2.0.4, 2.1.0
>
>
> {noformat}
> Caused by: java.lang.ClassCastException: org.apache.pdfbox.cos.COSString 
> cannot be cast to org.apache.pdfbox.cos.COSDictionary
>   at 
> org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationLink.getAction(PDAnnotationLink.java:88)
> {noformat}
> [~sevaa] raised this issue on TIKA-2121.  I confirmed that it happens with 
> PDFBox 2.0.3.  I haven't confirmed trunk yet.



--
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-3535) ClassCastException in PDAnnotationLink.getAction()

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

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

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

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

PDFBOX-3535: avoid ClassCastException, remove super(), set constant

> ClassCastException in PDAnnotationLink.getAction()
> --
>
> Key: PDFBOX-3535
> URL: https://issues.apache.org/jira/browse/PDFBOX-3535
> Project: PDFBox
>  Issue Type: Bug
>  Components: PDModel
>Affects Versions: 2.0.3
>Reporter: Tim Allison
>Priority: Trivial
>
> {noformat}
> Caused by: java.lang.ClassCastException: org.apache.pdfbox.cos.COSString 
> cannot be cast to org.apache.pdfbox.cos.COSDictionary
>   at 
> org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationLink.getAction(PDAnnotationLink.java:88)
> {noformat}
> [~sevaa] raised this issue on TIKA-2121.  I confirmed that it happens with 
> PDFBox 2.0.3.  I haven't confirmed trunk yet.



--
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-3535) ClassCastException in PDAnnotationLink.getAction()

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

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

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

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

PDFBOX-3535: avoid ClassCastException, remove super(), set constant

> ClassCastException in PDAnnotationLink.getAction()
> --
>
> Key: PDFBOX-3535
> URL: https://issues.apache.org/jira/browse/PDFBOX-3535
> Project: PDFBox
>  Issue Type: Bug
>  Components: PDModel
>Affects Versions: 2.0.3
>Reporter: Tim Allison
>Priority: Trivial
>
> {noformat}
> Caused by: java.lang.ClassCastException: org.apache.pdfbox.cos.COSString 
> cannot be cast to org.apache.pdfbox.cos.COSDictionary
>   at 
> org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationLink.getAction(PDAnnotationLink.java:88)
> {noformat}
> [~sevaa] raised this issue on TIKA-2121.  I confirmed that it happens with 
> PDFBox 2.0.3.  I haven't confirmed trunk yet.



--
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-3536) IOException "" on a valid PDF

2016-10-20 Thread Seva Alekseyev (JIRA)

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

Seva Alekseyev updated PDFBOX-3536:
---
Attachment: resulprovao.pdf

> IOException "" on a valid PDF
> -
>
> Key: PDFBOX-3536
> URL: https://issues.apache.org/jira/browse/PDFBOX-3536
> Project: PDFBox
>  Issue Type: Bug
>  Components: Parsing
>Affects Versions: 2.0.3
> Environment: Windows 7 x64, JVM 1.8.0_101
>Reporter: Seva Alekseyev
> Attachments: resulprovao.pdf
>
>
> On the attached file, which loads fine with Adobe Reader, the 
> PDDocument.load() methpod throws the following error:
> java.io.IOException: Unknown dir object c='>' cInt=62 peek='>' peekInt=62 at 
> offset 1196
>   at 
> org.apache.pdfbox.pdfparser.BaseParser.parseDirObject(BaseParser.java:982)
>   at 
> org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionaryValue(BaseParser.java:153)
>   at 
> org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionaryNameValuePair(BaseParser.java:277)
>   at 
> org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionary(BaseParser.java:210)
>   at 
> org.apache.pdfbox.pdfparser.BaseParser.parseDirObject(BaseParser.java:885)
>   at 
> org.apache.pdfbox.pdfparser.COSParser.parseFileObject(COSParser.java:757)
>   at 
> org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:726)
>   at 
> org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:657)
>   at 
> org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2092)
>   at 
> org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:203)
>   at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:252)
>   at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:957)
>   at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:913)
>   at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:861)
>   at Temp.PDFTemp.App.main(App.java:19)



--
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] [Created] (PDFBOX-3536) IOException "" on a valid PDF

2016-10-20 Thread Seva Alekseyev (JIRA)
Seva Alekseyev created PDFBOX-3536:
--

 Summary: IOException "" on a valid PDF
 Key: PDFBOX-3536
 URL: https://issues.apache.org/jira/browse/PDFBOX-3536
 Project: PDFBox
  Issue Type: Bug
  Components: Parsing
Affects Versions: 2.0.3
 Environment: Windows 7 x64, JVM 1.8.0_101
Reporter: Seva Alekseyev
 Attachments: resulprovao.pdf

On the attached file, which loads fine with Adobe Reader, the PDDocument.load() 
methpod throws the following error:

java.io.IOException: Unknown dir object c='>' cInt=62 peek='>' peekInt=62 at 
offset 1196
at 
org.apache.pdfbox.pdfparser.BaseParser.parseDirObject(BaseParser.java:982)
at 
org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionaryValue(BaseParser.java:153)
at 
org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionaryNameValuePair(BaseParser.java:277)
at 
org.apache.pdfbox.pdfparser.BaseParser.parseCOSDictionary(BaseParser.java:210)
at 
org.apache.pdfbox.pdfparser.BaseParser.parseDirObject(BaseParser.java:885)
at 
org.apache.pdfbox.pdfparser.COSParser.parseFileObject(COSParser.java:757)
at 
org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:726)
at 
org.apache.pdfbox.pdfparser.COSParser.parseObjectDynamically(COSParser.java:657)
at 
org.apache.pdfbox.pdfparser.COSParser.parseTrailerValuesDynamically(COSParser.java:2092)
at 
org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:203)
at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:252)
at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:957)
at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:913)
at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:861)
at Temp.PDFTemp.App.main(App.java:19)



--
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-3457) Glyphs rendered in wrong width

2016-10-20 Thread Tilman Hausherr (JIRA)

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

Tilman Hausherr commented on PDFBOX-3457:
-

No regressions, but the two improvements from yesterday
{quote}
PDFBOX-2950.pdf (lower left ")
PDFBOX-122.pdf (the !)
{quote}
are lost. 

> Glyphs rendered in wrong width
> --
>
> Key: PDFBOX-3457
> URL: https://issues.apache.org/jira/browse/PDFBOX-3457
> Project: PDFBox
>  Issue Type: Bug
>Affects Versions: 2.0.2, 2.0.3, 2.1.0
>Reporter: Tilman Hausherr
> Attachments: PDFBOX-2642-HACK.pdf, PDFBOX_3457.patch, 
> PDFBOX_3457_v2.patch, PDFJS-5550.pdf, PDFJS-7523.pdf, bug864847.pdf, 
> gs-bugzilla693663-p9-stretchdisabled.png, gs-bugzilla693663-p9.pdf, 
> gs-bugzilla693663-p91_part.png, osx.png, overlapping.png
>
>
> Fonts rendered in wrong size. The cause is related to wrong values in the 
> /WIDTHS table and this code in PageDrawer:
> {code}
> // stretch non-embedded glyph if it does not match the width 
> contained in the PDF
> if (!font.isEmbedded())
> {
> float fontWidth = font.getWidthFromFont(code);
> if (fontWidth > 0 && // ignore spaces
> Math.abs(fontWidth - displacement.getX() * 1000) > 
> 0.0001)
> {
> float pdfWidth = displacement.getX() * 1000;
> at.scale(pdfWidth / fontWidth, 1);
> }
> }
> {code}
> I suspect that there must be another condition to skip the stretching, but I 
> didn't find out which one.



--
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