Build: #106 failed Scheduled

Build result summary

Details

Completed
Duration
54 seconds
Labels
None
Agent
bamboo-07.af.pivotal.io
Revision
0f732e48f2ec967756003758c6134bb1230671e2 0f732e48f2ec967756003758c6134bb1230671e2
Total tests
721

Responsible

No one has taken responsibility for this failure

Tests

New test failures 1
Status Test View job Duration
Collapse Failed OAuth2ErrorHandlerTests testHandleErrorWithMissingHeader History
Default Job < 1 sec
java.lang.AssertionError:  Expected: an instance of org.springframework.web.client.HttpClientErrorException      but: <org.springframework.web.client.UnknownHttpStatusCodeException: Unknown status code [0] 400> is a org.springframework.web.client.UnknownHttpStatusCodeException Stacktrace was: org.springframework.web.client.UnknownHttpStatusCodeException: Unknown status code [0] 400  at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:75)  at org.springframework.security.oauth2.client.http.OAuth2ErrorHandler.handleError(OAuth2ErrorHandler.java:158)  at org.springframework.security.oauth2.client.http.OAuth2ErrorHandlerTests.testHandleErrorWithMissingHeader(OAuth2ErrorHandlerTests.java:247)  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  at java.lang.reflect.Method.invoke(Method.java:498)  at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)  at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)  at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)  at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)  at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:239)  at org.junit.rules.RunRules.evaluate(RunRules.java:20)  at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)  at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)  at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)  at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)  at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)  at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)  at org.junit.runners.ParentRunner.run(ParentRunner.java:363)  at org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37)  at org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62)  at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  at java.lang.reflect.Method.invoke(Method.java:498)  at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)  at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)  at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) 
java.lang.AssertionError: 
Expected: an instance of org.springframework.web.client.HttpClientErrorException
     but: <org.springframework.web.client.UnknownHttpStatusCodeException: Unknown status code [0] 400> is a org.springframework.web.client.UnknownHttpStatusCodeException
Stacktrace was: org.springframework.web.client.UnknownHttpStatusCodeException: Unknown status code [0] 400
	at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:75)
	at org.springframework.security.oauth2.client.http.OAuth2ErrorHandler.handleError(OAuth2ErrorHandler.java:158)
	at org.springframework.security.oauth2.client.http.OAuth2ErrorHandlerTests.testHandleErrorWithMissingHeader(OAuth2ErrorHandlerTests.java:247)
(65 more lines...)