Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HTTP Status 500 -
- type Exception report
- message
- description The server encountered an internal error () that prevented it from fulfilling this request.
- exception
- org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResult: 1 errors
- Field error in object 'sceneryEditForm' on field 'screenshot[1]': rejected value []; codes [typeMismatch.sceneryEditForm.screenshot[1],typeMismatch.sceneryEditForm.screenshot,typeMismatch.screenshot[1],typeMismatch.screenshot,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [sceneryEditForm.screenshot[1],screenshot[1]]; arguments []; default message [screenshot[1]]]; default message [Failed to convert property value of type 'java.lang.String' to required type 'org.springframework.web.multipart.MultipartFile' for property 'screenshot[1]'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [java.lang.String] to required type [org.springframework.web.multipart.MultipartFile] for property 'screenshot[1]': no matching editors or conversion strategy found]
- org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:681)
- org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585)
- javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
- javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
- root cause
- org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResult: 1 errors
- Field error in object 'sceneryEditForm' on field 'screenshot[1]': rejected value []; codes [typeMismatch.sceneryEditForm.screenshot[1],typeMismatch.sceneryEditForm.screenshot,typeMismatch.screenshot[1],typeMismatch.screenshot,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [sceneryEditForm.screenshot[1],screenshot[1]]; arguments []; default message [screenshot[1]]]; default message [Failed to convert property value of type 'java.lang.String' to required type 'org.springframework.web.multipart.MultipartFile' for property 'screenshot[1]'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [java.lang.String] to required type [org.springframework.web.multipart.MultipartFile] for property 'screenshot[1]': no matching editors or conversion strategy found]
- org.springframework.web.bind.annotation.support.HandlerMethodInvoker.doBind(HandlerMethodInvoker.java:810)
- org.springframework.web.bind.annotation.support.HandlerMethodInvoker.resolveHandlerArguments(HandlerMethodInvoker.java:359)
- org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:171)
- org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
- org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
- org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
- org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
- org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
- org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585)
- javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
- javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
- note The full stack trace of the root cause is available in the Apache Tomcat/7.0.25 logs.
- Apache Tomcat/7.0.25
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement