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.andExpect44

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.andExpect16

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.andExpect8

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.andExpect8

MockMvc.perform() has thrown a NestedServletException

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

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.andExpect5

MockMvc.perform() has thrown a NestedServletException

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

MockMvc failed waiting on async call

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

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.andExpect4

DefaultMvcResult.getAsyncResult() has thrown an IllegalStateException

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

MockMvc.perform() has thrown a ServletException

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

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.andExpect3

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.andDo3

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.andExpect3

MockMvc.perform() has thrown a NestedServletException

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

MockMvc.perform() has thrown a HttpMediaTypeNotSupportedException

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

MockMvc.perform() has thrown a RestDocumentationGenerationException

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

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.andExpect2

DefaultMvcResult.getAsyncResult() has thrown an IllegalStateException

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

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.andExpect2

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.andDo2

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.andExpect2
Nothing to list here.
Nothing to list here.
Nothing to list here.