Last active
December 17, 2015 21:40
-
-
Save eyedol/5676719 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". | |
SLF4J: Defaulting to no-operation (NOP) logger implementation | |
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building SwiftRiver API 1.0-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ swiftriver-api --- | |
[debug] execute contextualize | |
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! | |
[INFO] Copying 38 resources | |
[INFO] | |
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ swiftriver-api --- | |
[INFO] Nothing to compile - all classes are up to date | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ swiftriver-api --- | |
[debug] execute contextualize | |
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! | |
[INFO] Copying 3 resources | |
[INFO] | |
[INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ swiftriver-api --- | |
[INFO] Nothing to compile - all classes are up to date | |
[INFO] | |
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ swiftriver-api --- | |
[INFO] Surefire report directory: /home/eyedol/Devel/Workspace/SwiftRiver-API/target/surefire-reports | |
------------------------------------------------------- | |
T E S T S | |
------------------------------------------------------- | |
Running com.ushahidi.swiftriver.core.util.GravatarUtilTest | |
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.171 sec | |
Running com.ushahidi.swiftriver.core.util.MD5UtilTest | |
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec | |
Running com.ushahidi.swiftriver.core.util.TextUtilTest | |
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec | |
Running com.ushahidi.swiftriver.core.util.DateUtilTest | |
SLF4J: Class path contains multiple SLF4J bindings. | |
SLF4J: Found binding in [jar:file:/home/eyedol/.m2/repository/ch/qos/logback/logback-classic/1.0.9/logback-classic-1.0.9.jar!/org/slf4j/impl/StaticLoggerBinder.class] | |
SLF4J: Found binding in [jar:file:/home/eyedol/.m2/repository/org/slf4j/slf4j-log4j12/1.6.6/slf4j-log4j12-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class] | |
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. | |
18:05:33,111 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy] | |
18:05:33,112 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback-test.xml] at [file:/home/eyedol/Devel/Workspace/SwiftRiver-API/target/test-classes/logback-test.xml] | |
18:05:33,325 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set | |
18:05:33,423 |-ERROR in ch.qos.logback.core.util.ContextUtil@4f4db0e3 - Failed to get local hostname java.net.UnknownHostException: lenovo-x1c: lenovo-x1c | |
at java.net.UnknownHostException: lenovo-x1c: lenovo-x1c | |
at at java.net.InetAddress.getLocalHost(InetAddress.java:1402) | |
at at ch.qos.logback.core.util.ContextUtil.getLocalHostName(ContextUtil.java:32) | |
at at ch.qos.logback.core.util.ContextUtil.addHostNameAsProperty(ContextUtil.java:41) | |
at at ch.qos.logback.classic.joran.action.ConfigurationAction.begin(ConfigurationAction.java:56) | |
at at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:276) | |
at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:148) | |
at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:130) | |
at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50) | |
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:157) | |
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:143) | |
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:106) | |
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:56) | |
at at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75) | |
at at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148) | |
at at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:85) | |
at at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55) | |
at at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121) | |
at at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111) | |
at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268) | |
at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241) | |
at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254) | |
at at com.ushahidi.swiftriver.core.util.DateUtil.<clinit>(DateUtil.java:26) | |
at at com.ushahidi.swiftriver.core.util.DateUtilTest.formatRFC822WithTimezone(DateUtilTest.java:20) | |
at at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | |
at at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | |
at at java.lang.reflect.Method.invoke(Method.java:597) | |
at at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) | |
at at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) | |
at at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) | |
at at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) | |
at at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) | |
at at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) | |
at at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) | |
at at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) | |
at at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) | |
at at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) | |
at at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) | |
at at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) | |
at at org.junit.runners.ParentRunner.run(ParentRunner.java:300) | |
at at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) | |
at at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) | |
at at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) | |
at at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | |
at at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | |
at at java.lang.reflect.Method.invoke(Method.java:597) | |
at at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) | |
at at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) | |
at at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) | |
at at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) | |
at at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) | |
18:05:33,424 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender] | |
18:05:33,454 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT] | |
18:05:33,525 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property | |
18:05:33,668 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.ushahidi] to DEBUG | |
18:05:33,668 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to WARN | |
18:05:33,669 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT] | |
18:05:33,671 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration. | |
18:05:33,675 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@5a676437 - Registering current configuration as safe fallback point | |
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.787 sec | |
Running com.ushahidi.swiftriver.core.util.ErrorUtilTest | |
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec | |
Running com.ushahidi.swiftriver.core.support.dozer.RuleActionListToStringConverterTest | |
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.785 sec | |
Running com.ushahidi.swiftriver.core.support.dozer.ObjectToStringConverterTest | |
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec | |
Running com.ushahidi.swiftriver.core.support.dozer.RuleConditionListToStringConverterTest | |
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec | |
Running com.ushahidi.swiftriver.core.api.service.FormServiceTest | |
18:05:34.671 [main] WARN org.dozer.config.GlobalSettings - Dozer configuration file not found: dozer.properties. Using defaults for all Dozer global properties. | |
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.009 sec | |
Running com.ushahidi.swiftriver.core.api.service.BucketServiceTest | |
Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.066 sec | |
Running com.ushahidi.swiftriver.core.api.service.AccountServiceTest | |
18:05:38.966 [main] DEBUG com.ushahidi.swiftriver.core.api.service.AccountService - [email protected] successfully created with unique ID 0487fLPSOFKFL9484LAJFJGXBN | |
Tests run: 23, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 3.27 sec <<< FAILURE! | |
Running com.ushahidi.swiftriver.core.api.service.RiverServiceTest | |
Tests run: 29, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.78 sec | |
Running com.ushahidi.swiftriver.core.api.service.DropIndexServiceTest | |
18:05:41.863 [main] DEBUG com.ushahidi.swiftriver.core.api.service.DropIndexService - Performing batch add of drop entities | |
18:05:41.875 [main] DEBUG com.ushahidi.swiftriver.core.api.service.DropIndexService - Successfully added 2 drops to the search index | |
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.124 sec | |
Running com.ushahidi.swiftriver.core.api.service.DropServiceTest | |
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 sec | |
Running com.ushahidi.swiftriver.core.api.controller.AccountsControllerTest | |
log4j:WARN No appenders could be found for logger (org.jboss.logging). | |
log4j:WARN Please initialize the log4j system properly. | |
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. | |
18:06:03.663 [main] DEBUG com.ushahidi.swiftriver.core.api.service.DropIndexService - Flushing search index | |
18:06:04.853 [main] DEBUG com.ushahidi.swiftriver.core.api.service.DropIndexService - Performing batch add of drop entities | |
18:06:05.468 [main] DEBUG com.ushahidi.swiftriver.core.api.service.DropIndexService - Successfully added 10 drops to the search index | |
18:06:11.933 [main] INFO com.ushahidi.swiftriver.core.api.dao.impl.JpaAccountDao - Account associated with default not found | |
18:06:14.087 [main] DEBUG com.ushahidi.swiftriver.core.api.service.AccountService - Invalid token 4f3cf69c18da-f848-5f74-62e0-d9e21081 | |
18:06:14.161 [main] DEBUG com.ushahidi.swiftriver.core.api.service.AccountService - Invalid token this can't be a token | |
18:06:14.292 [main] ERROR com.ushahidi.swiftriver.core.api.controller.AbstractController - java.lang.IllegalArgumentException: Unable to initialize due to invalid secret key | |
at org.springframework.security.crypto.encrypt.CipherUtils.initCipher(CipherUtils.java:110) | |
at org.springframework.security.crypto.encrypt.AesBytesEncryptor.decrypt(AesBytesEncryptor.java:74) | |
at org.springframework.security.crypto.encrypt.HexEncodingTextEncryptor.decrypt(HexEncodingTextEncryptor.java:40) | |
at com.ushahidi.swiftriver.core.api.service.AccountService.decryptClientSecret(AccountService.java:682) | |
at com.ushahidi.swiftriver.core.api.service.AccountService.getClients(AccountService.java:549) | |
at com.ushahidi.swiftriver.core.api.service.AccountService$$FastClassByCGLIB$$3d57fcf3.invoke(<generated>) | |
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) | |
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:698) | |
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) | |
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) | |
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) | |
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:631) | |
at com.ushahidi.swiftriver.core.api.service.AccountService$$EnhancerByCGLIB$$7183468e.getClients(<generated>) | |
at com.ushahidi.swiftriver.core.api.controller.AccountsController.getApps(AccountsController.java:299) | |
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.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219) | |
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) | |
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) | |
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:746) | |
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:687) | |
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) | |
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925) | |
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856) | |
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:915) | |
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:811) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) | |
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:796) | |
at org.springframework.test.web.servlet.TestDispatcherServlet.service(TestDispatcherServlet.java:66) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) | |
at org.springframework.mock.web.MockFilterChain$ServletFilterProxy.doFilter(MockFilterChain.java:168) | |
at org.springframework.mock.web.MockFilterChain.doFilter(MockFilterChain.java:136) | |
at org.springframework.test.web.servlet.MockMvc.perform(MockMvc.java:134) | |
at com.ushahidi.swiftriver.core.api.controller.AccountsControllerTest.getApps(AccountsControllerTest.java:401) | |
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) | |
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) | |
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) | |
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) | |
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) | |
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74) | |
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83) | |
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72) | |
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231) | |
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88) | |
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) | |
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) | |
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) | |
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) | |
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) | |
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) | |
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) | |
at org.junit.runners.ParentRunner.run(ParentRunner.java:300) | |
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174) | |
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) | |
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) | |
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) | |
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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) | |
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) | |
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) | |
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) | |
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) | |
Caused by: java.security.InvalidKeyException: Illegal key size | |
at javax.crypto.Cipher.a(DashoA13*..) | |
at javax.crypto.Cipher.a(DashoA13*..) | |
at javax.crypto.Cipher.a(DashoA13*..) | |
at javax.crypto.Cipher.init(DashoA13*..) | |
at javax.crypto.Cipher.init(DashoA13*..) | |
at org.springframework.security.crypto.encrypt.CipherUtils.initCipher(CipherUtils.java:105) | |
... 70 more | |
18:06:14.520 [main] ERROR com.ushahidi.swiftriver.core.api.controller.AbstractController - java.lang.IllegalArgumentException: Unable to initialize due to invalid secret key | |
at org.springframework.security.crypto.encrypt.CipherUtils.initCipher(CipherUtils.java:110) | |
at org.springframework.security.crypto.encrypt.AesBytesEncryptor.encrypt(AesBytesEncryptor.java:65) | |
at org.springframework.security.crypto.encrypt.HexEncodingTextEncryptor.encrypt(HexEncodingTextEncryptor.java:36) | |
at com.ushahidi.swiftriver.core.api.service.AccountService.resetClientCredentials(AccountService.java:666) | |
at com.ushahidi.swiftriver.core.api.service.AccountService.createClient(AccountService.java:577) | |
at com.ushahidi.swiftriver.core.api.service.AccountService$$FastClassByCGLIB$$3d57fcf3.invoke(<generated>) | |
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) | |
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:698) | |
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) | |
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) | |
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) | |
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:631) | |
at com.ushahidi.swiftriver.core.api.service.AccountService$$EnhancerByCGLIB$$7183468e.createClient(<generated>) | |
at com.ushahidi.swiftriver.core.api.controller.AccountsController.createApp(AccountsController.java:292) | |
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.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219) | |
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) | |
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) | |
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:746) | |
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:687) | |
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) | |
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925) | |
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856) | |
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:915) | |
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:822) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) | |
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:796) | |
at org.springframework.test.web.servlet.TestDispatcherServlet.service(TestDispatcherServlet.java:66) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) | |
at org.springframework.mock.web.MockFilterChain$ServletFilterProxy.doFilter(MockFilterChain.java:168) | |
at org.springframework.mock.web.MockFilterChain.doFilter(MockFilterChain.java:136) | |
at org.springframework.test.web.servlet.MockMvc.perform(MockMvc.java:134) | |
at com.ushahidi.swiftriver.core.api.controller.AccountsControllerTest.createApp(AccountsControllerTest.java:441) | |
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) | |
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) | |
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) | |
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) | |
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) | |
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74) | |
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83) | |
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72) | |
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231) | |
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88) | |
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) | |
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) | |
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) | |
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) | |
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) | |
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) | |
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) | |
at org.junit.runners.ParentRunner.run(ParentRunner.java:300) | |
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174) | |
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) | |
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) | |
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) | |
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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) | |
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) | |
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) | |
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) | |
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) | |
Caused by: java.security.InvalidKeyException: Illegal key size | |
at javax.crypto.Cipher.a(DashoA13*..) | |
at javax.crypto.Cipher.a(DashoA13*..) | |
at javax.crypto.Cipher.a(DashoA13*..) | |
at javax.crypto.Cipher.init(DashoA13*..) | |
at javax.crypto.Cipher.init(DashoA13*..) | |
at org.springframework.security.crypto.encrypt.CipherUtils.initCipher(CipherUtils.java:105) | |
... 70 more | |
18:06:14.875 [main] ERROR com.ushahidi.swiftriver.core.api.controller.AbstractController - java.lang.IllegalArgumentException: Unable to initialize due to invalid secret key | |
at org.springframework.security.crypto.encrypt.CipherUtils.initCipher(CipherUtils.java:110) | |
at org.springframework.security.crypto.encrypt.AesBytesEncryptor.decrypt(AesBytesEncryptor.java:74) | |
at org.springframework.security.crypto.encrypt.HexEncodingTextEncryptor.decrypt(HexEncodingTextEncryptor.java:40) | |
at com.ushahidi.swiftriver.core.api.service.AccountService.decryptClientSecret(AccountService.java:682) | |
at com.ushahidi.swiftriver.core.api.service.AccountService.modifyClient(AccountService.java:645) | |
at com.ushahidi.swiftriver.core.api.service.AccountService$$FastClassByCGLIB$$3d57fcf3.invoke(<generated>) | |
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) | |
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:698) | |
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) | |
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) | |
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) | |
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:631) | |
at com.ushahidi.swiftriver.core.api.service.AccountService$$EnhancerByCGLIB$$7183468e.modifyClient(<generated>) | |
at com.ushahidi.swiftriver.core.api.controller.AccountsController.modifyApp(AccountsController.java:307) | |
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.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219) | |
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) | |
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) | |
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:746) | |
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:687) | |
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) | |
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925) | |
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856) | |
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:915) | |
at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:833) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:650) | |
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:796) | |
at org.springframework.test.web.servlet.TestDispatcherServlet.service(TestDispatcherServlet.java:66) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) | |
at org.springframework.mock.web.MockFilterChain$ServletFilterProxy.doFilter(MockFilterChain.java:168) | |
at org.springframework.mock.web.MockFilterChain.doFilter(MockFilterChain.java:136) | |
at org.springframework.test.web.servlet.MockMvc.perform(MockMvc.java:134) | |
at com.ushahidi.swiftriver.core.api.controller.AccountsControllerTest.modifyApp(AccountsControllerTest.java:531) | |
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) | |
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) | |
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) | |
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) | |
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) | |
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74) | |
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83) | |
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72) | |
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231) | |
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88) | |
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) | |
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) | |
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) | |
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) | |
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) | |
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) | |
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) | |
at org.junit.runners.ParentRunner.run(ParentRunner.java:300) | |
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174) | |
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) | |
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) | |
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) | |
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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) | |
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) | |
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) | |
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) | |
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) | |
Caused by: java.security.InvalidKeyException: Illegal key size | |
at javax.crypto.Cipher.a(DashoA13*..) | |
at javax.crypto.Cipher.a(DashoA13*..) | |
at javax.crypto.Cipher.a(DashoA13*..) | |
at javax.crypto.Cipher.init(DashoA13*..) | |
at javax.crypto.Cipher.init(DashoA13*..) | |
at org.springframework.security.crypto.encrypt.CipherUtils.initCipher(CipherUtils.java:105) | |
... 70 more | |
18:06:15.149 [main] ERROR com.ushahidi.swiftriver.core.api.controller.AbstractController - java.lang.IllegalArgumentException: Unable to initialize due to invalid secret key | |
at org.springframework.security.crypto.encrypt.CipherUtils.initCipher(CipherUtils.java:110) | |
at org.springframework.security.crypto.encrypt.AesBytesEncryptor.decrypt(AesBytesEncryptor.java:74) | |
at org.springframework.security.crypto.encrypt.HexEncodingTextEncryptor.decrypt(HexEncodingTextEncryptor.java:40) | |
at com.ushahidi.swiftriver.core.api.service.AccountService.decryptClientSecret(AccountService.java:682) | |
at com.ushahidi.swiftriver.core.api.service.AccountService.modifyClient(AccountService.java:645) | |
at com.ushahidi.swiftriver.core.api.service.AccountService$$FastClassByCGLIB$$3d57fcf3.invoke(<generated>) | |
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) | |
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:698) | |
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) | |
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) | |
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) | |
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:631) | |
at com.ushahidi.swiftriver.core.api.service.AccountService$$EnhancerByCGLIB$$7183468e.modifyClient(<generated>) | |
at com.ushahidi.swiftriver.core.api.controller.AccountsController.modifyApp(AccountsController.java:307) | |
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.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219) | |
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) | |
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) | |
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:746) | |
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:687) | |
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) | |
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925) | |
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856) | |
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:915) | |
at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:833) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:650) | |
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:796) | |
at org.springframework.test.web.servlet.TestDispatcherServlet.service(TestDispatcherServlet.java:66) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) | |
at org.springframework.mock.web.MockFilterChain$ServletFilterProxy.doFilter(MockFilterChain.java:168) | |
at org.springframework.mock.web.MockFilterChain.doFilter(MockFilterChain.java:136) | |
at org.springframework.test.web.servlet.MockMvc.perform(MockMvc.java:134) | |
at com.ushahidi.swiftriver.core.api.controller.AccountsControllerTest.modifyAppPartially(AccountsControllerTest.java:588) | |
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) | |
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) | |
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) | |
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) | |
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) | |
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74) | |
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83) | |
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72) | |
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231) | |
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88) | |
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) | |
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) | |
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) | |
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) | |
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) | |
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) | |
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) | |
at org.junit.runners.ParentRunner.run(ParentRunner.java:300) | |
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174) | |
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) | |
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) | |
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) | |
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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) | |
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) | |
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) | |
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) | |
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) | |
Caused by: java.security.InvalidKeyException: Illegal key size | |
at javax.crypto.Cipher.a(DashoA13*..) | |
at javax.crypto.Cipher.a(DashoA13*..) | |
at javax.crypto.Cipher.a(DashoA13*..) | |
at javax.crypto.Cipher.init(DashoA13*..) | |
at javax.crypto.Cipher.init(DashoA13*..) | |
at org.springframework.security.crypto.encrypt.CipherUtils.initCipher(CipherUtils.java:105) | |
... 70 more | |
18:06:15.293 [main] ERROR com.ushahidi.swiftriver.core.api.controller.AbstractController - java.lang.IllegalArgumentException: Unable to initialize due to invalid secret key | |
at org.springframework.security.crypto.encrypt.CipherUtils.initCipher(CipherUtils.java:110) | |
at org.springframework.security.crypto.encrypt.AesBytesEncryptor.encrypt(AesBytesEncryptor.java:65) | |
at org.springframework.security.crypto.encrypt.HexEncodingTextEncryptor.encrypt(HexEncodingTextEncryptor.java:36) | |
at com.ushahidi.swiftriver.core.api.service.AccountService.resetClientCredentials(AccountService.java:666) | |
at com.ushahidi.swiftriver.core.api.service.AccountService.modifyClient(AccountService.java:635) | |
at com.ushahidi.swiftriver.core.api.service.AccountService$$FastClassByCGLIB$$3d57fcf3.invoke(<generated>) | |
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) | |
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:698) | |
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) | |
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) | |
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) | |
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:631) | |
at com.ushahidi.swiftriver.core.api.service.AccountService$$EnhancerByCGLIB$$7183468e.modifyClient(<generated>) | |
at com.ushahidi.swiftriver.core.api.controller.AccountsController.modifyApp(AccountsController.java:307) | |
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.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219) | |
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) | |
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) | |
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:746) | |
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:687) | |
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) | |
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925) | |
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856) | |
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:915) | |
at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:833) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:650) | |
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:796) | |
at org.springframework.test.web.servlet.TestDispatcherServlet.service(TestDispatcherServlet.java:66) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) | |
at org.springframework.mock.web.MockFilterChain$ServletFilterProxy.doFilter(MockFilterChain.java:168) | |
at org.springframework.mock.web.MockFilterChain.doFilter(MockFilterChain.java:136) | |
at org.springframework.test.web.servlet.MockMvc.perform(MockMvc.java:134) | |
at com.ushahidi.swiftriver.core.api.controller.AccountsControllerTest.modifyAppResetCredentials(AccountsControllerTest.java:601) | |
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) | |
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) | |
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) | |
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) | |
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) | |
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74) | |
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83) | |
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72) | |
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231) | |
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88) | |
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) | |
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) | |
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) | |
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) | |
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) | |
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) | |
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) | |
at org.junit.runners.ParentRunner.run(ParentRunner.java:300) | |
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174) | |
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) | |
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) | |
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) | |
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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) | |
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) | |
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) | |
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) | |
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) | |
Caused by: java.security.InvalidKeyException: Illegal key size | |
at javax.crypto.Cipher.a(DashoA13*..) | |
at javax.crypto.Cipher.a(DashoA13*..) | |
at javax.crypto.Cipher.a(DashoA13*..) | |
at javax.crypto.Cipher.init(DashoA13*..) | |
at javax.crypto.Cipher.init(DashoA13*..) | |
at org.springframework.security.crypto.encrypt.CipherUtils.initCipher(CipherUtils.java:105) | |
... 70 more | |
Tests run: 49, Failures: 5, Errors: 0, Skipped: 0, Time elapsed: 33.787 sec <<< FAILURE! | |
Running com.ushahidi.swiftriver.core.api.controller.DropsControllerTest | |
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.414 sec | |
Running com.ushahidi.swiftriver.core.api.controller.RiversControllerTest | |
18:06:22.584 [main] DEBUG com.ushahidi.swiftriver.core.api.dao.impl.JpaRiverDao - Drop 9999 does not exist in river 1 | |
Tests run: 76, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.784 sec | |
Running com.ushahidi.swiftriver.core.api.controller.BucketsControllerTest | |
Tests run: 57, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.496 sec | |
Running com.ushahidi.swiftriver.core.api.controller.FormsControllerTest | |
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.719 sec | |
Running com.ushahidi.swiftriver.core.api.controller.SearchControllerTest | |
18:06:28.851 [main] DEBUG com.ushahidi.swiftriver.core.api.service.DropIndexService - No documents found containing "droplet" on page 50 | |
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.924 sec | |
Running com.ushahidi.swiftriver.core.api.dao.impl.JpaSequenceDaoTest | |
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.065 sec | |
Running com.ushahidi.swiftriver.core.api.dao.impl.JpaAccountDaoTest | |
18:06:29.220 [main] INFO com.ushahidi.swiftriver.core.api.dao.impl.JpaAccountDao - Account associated with chris not found | |
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.243 sec | |
Running com.ushahidi.swiftriver.core.api.dao.impl.JpaBucketDaoTest | |
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.87 sec | |
Running com.ushahidi.swiftriver.core.api.dao.impl.JpaActivityDaoTest | |
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.234 sec | |
Running com.ushahidi.swiftriver.core.api.dao.impl.JpaChannelDaoTest | |
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.077 sec | |
Running com.ushahidi.swiftriver.core.api.dao.impl.JpaTagDaoTest | |
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.056 sec | |
Running com.ushahidi.swiftriver.core.api.dao.impl.JpaIdentityDaoTest | |
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec | |
Running com.ushahidi.swiftriver.core.api.dao.impl.JpaLinkDaoTest | |
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.065 sec | |
Running com.ushahidi.swiftriver.core.api.dao.impl.JpaPlaceDaoTest | |
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.065 sec | |
Running com.ushahidi.swiftriver.core.api.dao.impl.JpaRiverDropFormDaoTest | |
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.146 sec | |
Running com.ushahidi.swiftriver.core.api.dao.impl.JpaBucketDropFormDaoTest | |
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.129 sec | |
Running com.ushahidi.swiftriver.core.api.dao.impl.JpaDropDaoTest | |
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.116 sec | |
Running com.ushahidi.swiftriver.core.api.dao.impl.JpaBucketDropDaoTest | |
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.224 sec | |
Running com.ushahidi.swiftriver.core.api.dao.impl.JpaClientDaoTest | |
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec | |
Running com.ushahidi.swiftriver.core.api.dao.impl.JpaUserTokenDaoTest | |
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec | |
Running com.ushahidi.swiftriver.core.api.dao.impl.JpaRiverDaoTest | |
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.198 sec | |
Running com.ushahidi.swiftriver.core.api.dao.impl.JpaFormDaoTest | |
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 sec | |
Running com.ushahidi.swiftriver.core.api.dao.impl.JpaUserDaoTest | |
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.131 sec | |
Running com.ushahidi.swiftriver.core.api.dao.impl.JpaRoleDaoTest | |
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.061 sec | |
Running com.ushahidi.swiftriver.core.api.dao.impl.JpaMediaDaoTest | |
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.149 sec | |
Running com.ushahidi.swiftriver.core.api.dao.impl.JpaRiverDropDaoTest | |
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.52 sec | |
Running com.ushahidi.swiftriver.core.api.auth.AuthenticationSchemeTest | |
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec | |
Running com.ushahidi.swiftriver.core.api.auth.DbClientDetailsServiceTest | |
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.03 sec <<< FAILURE! | |
Running com.ushahidi.swiftriver.core.api.auth.DbUserDetailsServiceTest | |
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec | |
Running com.ushahidi.swiftriver.core.api.auth.crowdmapid.CrowdmapIDClientTest | |
18:06:33.844 [main] DEBUG com.ushahidi.swiftriver.core.api.auth.crowdmapid.CrowdmapIDClient - https://crowdmapid.com/api returned response: {"success": true, "response": "XMDJF50FLP039LPOV048585049MCN85MJFFHSA1039"} | |
18:06:33.853 [main] INFO com.ushahidi.swiftriver.core.api.auth.crowdmapid.CrowdmapIDClient - Checking if [email protected] is registered | |
18:06:33.854 [main] DEBUG com.ushahidi.swiftriver.core.api.auth.crowdmapid.CrowdmapIDClient - https://crowdmapid.com/api returned response: {"success": true, "response": false} | |
18:06:33.864 [main] DEBUG com.ushahidi.swiftriver.core.api.auth.crowdmapid.CrowdmapIDClient - https://crowdmapid.com/api returned response: {"success": true} | |
18:06:33.872 [main] DEBUG com.ushahidi.swiftriver.core.api.auth.crowdmapid.CrowdmapIDClient - https://crowdmapid.com/api returned response: {"success": true} | |
18:06:33.881 [main] DEBUG com.ushahidi.swiftriver.core.api.auth.crowdmapid.CrowdmapIDClient - https://crowdmapid.com/api returned response: {"success": true} | |
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.149 sec | |
Running com.ushahidi.swiftriver.core.api.auth.crowdmapid.CrowdmapIDAuthenticationProviderTest | |
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec | |
Running com.ushahidi.swiftriver.core.mail.EmailHelperTest | |
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.09 sec | |
Running com.ushahidi.swiftriver.core.solr.repository.DropDocumentRepositoryTest | |
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 sec | |
Running com.ushahidi.swiftriver.core.solr.repository.DropDocumentRepositoryImplTest | |
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.087 sec | |
Results : | |
Failed tests: getApps(com.ushahidi.swiftriver.core.api.controller.AccountsControllerTest): Status expected:<200> but was:<500> | |
createApp(com.ushahidi.swiftriver.core.api.controller.AccountsControllerTest): Status expected:<200> but was:<500> | |
modifyApp(com.ushahidi.swiftriver.core.api.controller.AccountsControllerTest): Status expected:<200> but was:<500> | |
modifyAppPartially(com.ushahidi.swiftriver.core.api.controller.AccountsControllerTest): Status expected:<200> but was:<500> | |
modifyAppResetCredentials(com.ushahidi.swiftriver.core.api.controller.AccountsControllerTest): Status expected:<200> but was:<500> | |
Tests in error: | |
getClients(com.ushahidi.swiftriver.core.api.service.AccountServiceTest): Unable to initialize due to invalid secret key | |
createClient(com.ushahidi.swiftriver.core.api.service.AccountServiceTest): Unable to initialize due to invalid secret key | |
loadClientByClientId(com.ushahidi.swiftriver.core.api.auth.DbClientDetailsServiceTest): Unable to initialize due to invalid secret key | |
Tests run: 414, Failures: 5, Errors: 3, Skipped: 0 | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 1:12.310s | |
[INFO] Finished at: Thu May 30 18:06:34 JST 2013 | |
[INFO] Final Memory: 8M/88M | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project swiftriver-api: There are test failures. | |
[ERROR] | |
[ERROR] Please refer to /home/eyedol/Devel/Workspace/SwiftRiver-API/target/surefire-reports for the individual test results. | |
[ERROR] -> [Help 1] | |
[ERROR] | |
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. | |
[ERROR] Re-run Maven using the -X switch to enable full debug logging. | |
[ERROR] | |
[ERROR] For more information about the errors and possible solutions, please read the following articles: | |
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment