Hi,
after deploying the latest nightly built 2009-07-14 I get an error calling a pdf. On our app: java.lang.Integer cannot be cast to org.orbeon.saxon.om.ValueRepresentation and no stack trace, on orbeon.com demo's, government form: org/bouncycastle/asn1/ASN1OctetString Cheers -- einar -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Einar,
I don't see this here when loading the "Government Forms" example. Where is it you see this error? What should I do to reproduce this? Alex |
Alex,
I tested the pdf forms again with the latest nightly built and have the same errors in calling the pdf files. I double checked with an older version of April with the same result. This did not happen before, so I thought it was the result of my Adobe pdf reader config. I just tested on safary, firefox, IE, chrome with same errors showing. Then I tested the examples on orbeon.com on various browsers on a Mac and PC. Oddly, the DMV form throws the error "org/bouncycastle/asn1/ASN1OctetString" but the G-325A produces the pdf without problem! All the rather heavy pdf forms of our app throw "java.lang.Integer cannot be cast to org.orbeon.saxon.om.ValueRepresentation" errors. Still investigating, since I'm upgrading our production app, this is urgent... Thanks for any input. -- einar |
Administrator
|
Einar,
It seems that this is due to a more recent version of iText, the authors of which were forced by Adobe to implement password protection out of the box. Lots of people have similar issues: http://tinyurl.com/n5e8t6 I got there by adding two missing JAR files, bcmail-jdk14-138.jar and bcprov-jdk14-138.jar, which deal with encryption. It seems that this will occur only with PDF files which have an owner password, whatever that means. Some people have issues with PDF files they created themselves. In short, it is a mess. One option is to downgrade to iText 2.0.2. -Erik On Thu, Jul 23, 2009 at 1:27 AM, parisiana<[hidden email]> wrote: > > Alex, > > I tested the pdf forms again with the latest nightly built and have the same > errors in calling the pdf files. I double checked with an older version of > April with the same result. This did not happen before, so I thought it was > the result of my Adobe pdf reader config. > > I just tested on safary, firefox, IE, chrome with same errors showing. Then > I tested the examples on orbeon.com on various browsers on a Mac and PC. > Oddly, the DMV form throws the error > > "org/bouncycastle/asn1/ASN1OctetString" > > but the G-325A produces the pdf without problem! > > All the rather heavy pdf forms of our app throw "java.lang.Integer cannot be > cast to org.orbeon.saxon.om.ValueRepresentation" errors. > > Still investigating, since I'm upgrading our production app, this is > urgent... > > Thanks for any input. > > -- einar > > -- > View this message in context: http://www.nabble.com/pdf-error-in-2009-07-14-tp24481495p24621421.html > Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com. > > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Thanks. I will further investigate next week.
Cheers -- einar On Tue, Jul 28, 2009 at 10:05 PM, Erik Bruchez <[hidden email]> wrote: Einar, -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |