Hi, I tried it locally with the same version of OpenJDK, only on Ubuntu 14.04, I get the same error.
Dominik. On Wed, Nov 5, 2014 at 12:29 PM, Aram Mirzadeh <[email protected]> wrote: > I think this is the same bug that throws off the XSSF column autosizer ... > we never came up with a test that actually failed on it -- or at least it's > in the same method/class. > > On Wed, Nov 5, 2014 at 5:28 AM, Nick Burch <[email protected]> wrote: > >> On Wed, 5 Nov 2014, Dominik Stadler wrote: >> >>> The CI builds at https://builds.apache.org/job/POI/ run with JDK 6 and >>> don't run into this failure: >>> >>> Using Java: 1.6.0_27/1.6.0_27-b07/20.2-b06/Java HotSpot(TM) 64-Bit >>>>> Server VM from Sun Microsystems Inc. on Windows Server 2008: 6.0 >>>>> >>>> >> Hmm, it's still failing on my machine, which both means I can't build the >> 3.11 beta 3 release candidate, and that other users out there might hit the >> problem too :( At this point, I'd probably be happy if the code just >> detected it and threw a "your JVM is just too broken" exception which the >> test warned about but didn't fail with >> >> Latest failure below >> >> Thanks >> Nick >> >> >> Testsuite: org.apache.poi.poifs.crypt.TestSignatureInfo >> Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.847 sec >> Testcase: testCertChain took 0.463 sec >> Testcase: testManipulation took 0.429 sec >> Testcase: testSignSpreadsheet took 0.075 sec >> Testcase: getSigner took 0.611 sec >> Testcase: testSignSpreadsheetWithSignatureInfo took 0.067 sec >> Testcase: testSignEnvelopingDocument took 0.555 sec >> Testcase: testNonSha1 took 0.041 sec >> Caused an ERROR >> null >> java.lang.ArrayIndexOutOfBoundsException >> at sun.security.provider.ByteArrayAccess.i2bBig( >> ByteArrayAccess.java:318) >> at sun.security.provider.SHA2.implDigest(SHA2.java:104) >> at sun.security.provider.DigestBase.engineDigest( >> DigestBase.java:173) >> at sun.security.provider.DigestBase.engineDigest( >> DigestBase.java:152) >> at java.security.MessageDigest$Delegate.engineDigest( >> MessageDigest.java:563) >> at java.security.MessageDigest.digest(MessageDigest.java:340) >> at sun.security.rsa.RSASignature.getDigestValue(RSASignature. >> java:148) >> at sun.security.rsa.RSASignature.engineSign(RSASignature.java:172) >> at java.security.Signature$Delegate.engineSign(Signature. >> java:1166) >> at java.security.Signature.sign(Signature.java:539) >> at org.apache.jcp.xml.dsig.internal.dom.DOMSignatureMethod.sign( >> DOMSignatureMethod.java:285) >> at org.apache.jcp.xml.dsig.internal.dom.DOMXMLSignature. >> sign(DOMXMLSignature.java:398) >> at org.apache.poi.poifs.crypt.dsig.SignatureInfo.preSign( >> SignatureInfo.java:476) >> at org.apache.poi.poifs.crypt.dsig.SignatureInfo.confirmSignature( >> SignatureInfo.java:292) >> at org.apache.poi.poifs.crypt.TestSignatureInfo.testNonSha1( >> TestSignatureInfo.java:465) >> >> Testcase: getMultiSigners took 0.042 sec >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
