Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 6th, 2012  |  syntax: None  |  size: 3.65 KB  |  views: 154  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. HTTP Status 500 -
  2.  
  3. type Exception report
  4.  
  5. message
  6.  
  7. description The server encountered an internal error () that prevented it from fulfilling this request.
  8.  
  9. exception
  10.  
  11. org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResult: 1 errors
  12. 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]
  13.         org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:681)
  14.         org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585)
  15.         javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
  16.         javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  17.  
  18. root cause
  19.  
  20. org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResult: 1 errors
  21. 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]
  22.         org.springframework.web.bind.annotation.support.HandlerMethodInvoker.doBind(HandlerMethodInvoker.java:810)
  23.         org.springframework.web.bind.annotation.support.HandlerMethodInvoker.resolveHandlerArguments(HandlerMethodInvoker.java:359)
  24.         org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:171)
  25.         org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
  26.         org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
  27.         org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
  28.         org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
  29.         org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
  30.         org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585)
  31.         javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
  32.         javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  33.  
  34. note The full stack trace of the root cause is available in the Apache Tomcat/7.0.25 logs.
  35. Apache Tomcat/7.0.25
clone this paste RAW Paste Data