I've got a couple of tests that are failing trying to build a vanilla
3.3-RC3 using Maven 2.0.9 and JDK 1.6.05 under Win32. I saw these same
errors reported for 3.3-RC2, but didn't see a fix posted. (I might have
missed the response)
Anyway, here are the errors. Please let me know if I'm doing something
stupid. :)
Thanks,
Hugh
----------------------------------------------------------------------------
---
Test set: org.jasig.cas.web.support.GoogleAccountsArgumentExtractorTests
----------------------------------------------------------------------------
---
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.008 sec
<<< FAILURE!
testNoService(org.jasig.cas.web.support.GoogleAccountsArgumentExtractorTests
) Time elapsed: 0.002 sec <<< ERROR!
java.security.spec.InvalidKeySpecException: Inappropriate key specification:
IOException: algid parse error, not a sequence
at
sun.security.provider.DSAKeyFactory.engineGeneratePublic(DSAKeyFactory.java:
104)
at java.security.KeyFactory.generatePublic(KeyFactory.java:304)
at
org.jasig.cas.util.PublicKeyFactoryBean.createInstance(PublicKeyFactoryBean.
java:39)
at
org.springframework.beans.factory.config.AbstractFactoryBean.afterProperties
Set(AbstractFactoryBean.java:128)
at
org.jasig.cas.web.support.GoogleAccountsArgumentExtractorTests.setUp(GoogleA
ccountsArgumentExtractorTests.java:43)
at junit.framework.TestCase.runBare(TestCase.java:125)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(Ab
stractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractD
irectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireB
ooter.java:338)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997
)
----------------------------------------------------------------------------
---
Test set: org.jasig.cas.authentication.principal.GoogleAccountsServiceTests
----------------------------------------------------------------------------
---
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.077 sec
<<< FAILURE!
testResponse(org.jasig.cas.authentication.principal.GoogleAccountsServiceTes
ts) Time elapsed: 0.068 sec <<< ERROR!
java.security.spec.InvalidKeySpecException: Inappropriate key specification:
IOException: algid parse error, not a sequence
at
sun.security.provider.DSAKeyFactory.engineGeneratePublic(DSAKeyFactory.java:
104)
at java.security.KeyFactory.generatePublic(KeyFactory.java:304)
at
org.jasig.cas.util.PublicKeyFactoryBean.createInstance(PublicKeyFactoryBean.
java:39)
at
org.springframework.beans.factory.config.AbstractFactoryBean.afterProperties
Set(AbstractFactoryBean.java:128)
at
org.jasig.cas.authentication.principal.GoogleAccountsServiceTests.getGoogleA
ccountsService(GoogleAccountsServiceTests.java:44)
at
org.jasig.cas.authentication.principal.GoogleAccountsServiceTests.setUp(Goog
leAccountsServiceTests.java:59)
at junit.framework.TestCase.runBare(TestCase.java:125)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(Ab
stractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractD
irectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireB
ooter.java:338)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997
)
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas