1. Explore
  2. »
  3. Spring TestContext Framework
  4. »
  5. org.springframework.test.web.servlet

org.springframework.test.web.servlet errorsSpring TestContext Framework

Error patternsClassesMethodsExceptions
DescriptionException TypeEntry MethodWeb pages

MockMvc$1.andExpect() has thrown an AssertionError

java.lang.AssertionError
3 frames hidden
org.springframework.test.web.servlet.MockMvc$1.andExpect
44Web pages
AssertionErrorMockMvc$1.andExpect()44

MockMvc$1.andExpect() has thrown an AssertionError

java.lang.AssertionError
3 frames hidden
org.springframework.test.web.servlet.MockMvc$1.andExpect
16Web pages
AssertionErrorMockMvc$1.andExpect()16

MockMvc$1.andExpect() has thrown an AssertionError

java.lang.AssertionError
3 frames hidden
org.springframework.test.web.servlet.MockMvc$1.andExpect
8Web pages
AssertionErrorMockMvc$1.andExpect()8

MockMvc$1.andExpect() has thrown an AssertionError

java.lang.AssertionError
3 frames hidden
org.springframework.test.web.servlet.MockMvc$1.andExpect
8Web pages
AssertionErrorMockMvc$1.andExpect()8

MockMvc.perform() has thrown a NestedServletException

org.springframework.web.util.NestedServletException
8 frames hidden
org.springframework.test.web.servlet.MockMvc.perform
6Web pages
NestedServletExceptionMockMvc.perform()6

MockMvc$1.andExpect() has thrown an AssertionError

java.lang.AssertionError
3 frames hidden
org.springframework.test.web.servlet.MockMvc$1.andExpect
5Web pages
AssertionErrorMockMvc$1.andExpect()5

MockMvc.perform() has thrown a NestedServletException

org.springframework.web.util.NestedServletException
8 frames hidden
org.springframework.test.web.servlet.MockMvc.perform
5Web pages
NestedServletExceptionMockMvc.perform()5

MockMvc failed waiting on async call

java.lang.IllegalStateException
org.springframework.test.web.servlet.DefaultMvcResult.getAsyncResult
4Web pages
1Solution
IllegalStateExceptionDefaultMvcResult.getAsyncResult()4

MockMvc$1.andExpect() has thrown an AssertionError

java.lang.AssertionError
3 frames hidden
org.springframework.test.web.servlet.MockMvc$1.andExpect
4Web pages
AssertionErrorMockMvc$1.andExpect()4

DefaultMvcResult.getAsyncResult() has thrown an IllegalStateException

java.lang.IllegalStateException
1 frames hidden
org.springframework.test.web.servlet.DefaultMvcResult.getAsyncResult
3Web pages
IllegalStateExceptionDefaultMvcResult.getAsyncResult()3

MockMvc.perform() has thrown a ServletException

javax.servlet.ServletException
16 frames hidden
org.springframework.test.web.servlet.MockMvc.perform
3Web pages
ServletExceptionMockMvc.perform()3

MockMvc$1.andExpect() has thrown an AssertionError

java.lang.AssertionError
3 frames hidden
org.springframework.test.web.servlet.MockMvc$1.andExpect
3Web pages
AssertionErrorMockMvc$1.andExpect()3

MockMvc$1.andDo() has thrown a SnippetException

org.springframework.restdocs.snippet.SnippetException
5 frames hidden
org.springframework.test.web.servlet.MockMvc$1.andDo
3Web pages
SnippetExceptionMockMvc$1.andDo()3

MockMvc$1.andExpect() has thrown an AssertionError

java.lang.AssertionError
2 frames hidden
org.springframework.test.web.servlet.MockMvc$1.andExpect
3Web pages
AssertionErrorMockMvc$1.andExpect()3

MockMvc.perform() has thrown a NestedServletException

java.lang.IllegalStateException
16 frames hidden
org.springframework.test.web.servlet.MockMvc.perform
3Web pages
NestedServletExceptionMockMvc.perform()3

MockMvc.perform() has thrown a HttpMediaTypeNotSupportedException

org.springframework.web.HttpMediaTypeNotSupportedException
16 frames hidden
org.springframework.test.web.servlet.MockMvc.perform
2Web pages
HttpMediaTypeNotSupportedExceptionMockMvc.perform()2

MockMvc.perform() has thrown a RestDocumentationGenerationException

org.springframework.restdocs.generate.RestDocumentationGenerationException
9 frames hidden
org.springframework.test.web.servlet.MockMvc.perform
2Web pages
RestDocumentationGenerationExceptionMockMvc.perform()2

MockMvc$1.andExpect() has thrown an AssertionError

java.lang.AssertionError
3 frames hidden
org.springframework.test.web.servlet.MockMvc$1.andExpect
2Web pages
AssertionErrorMockMvc$1.andExpect()2

DefaultMvcResult.getAsyncResult() has thrown an IllegalStateException

java.lang.IllegalStateException
1 frames hidden
org.springframework.test.web.servlet.DefaultMvcResult.getAsyncResult
2Web pages
IllegalStateExceptionDefaultMvcResult.getAsyncResult()2

MockMvc$1.andExpect() has thrown an AssertionError

java.lang.AssertionError
3 frames hidden
org.springframework.test.web.servlet.MockMvc$1.andExpect
2Web pages
AssertionErrorMockMvc$1.andExpect()2

MockMvc$1.andDo() has thrown a RestDocumentationGenerationException

org.springframework.restdocs.generate.RestDocumentationGenerationException
8 frames hidden
org.springframework.test.web.servlet.MockMvc$1.andDo
2Web pages
RestDocumentationGenerationExceptionMockMvc$1.andDo()2

MockMvc$1.andExpect() has thrown an AssertionError

java.lang.AssertionError
3 frames hidden
org.springframework.test.web.servlet.MockMvc$1.andExpect
2Web pages
AssertionErrorMockMvc$1.andExpect()2
Nothing to list here.
Nothing to list here.
Nothing to list here.