java.lang.IllegalStateException: Can't read file part

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Unknown author, 7 months ago
Can't read file part
via Google Groups by Unknown author, 1 year ago
via Stack Overflow by Fosfor
, 6 months ago
java.lang.IllegalStateException: Can't read file part
at org.apache.tomcat.util.http.fileupload.FileUploadBase$FileItemIteratorImpl.(FileUploadBase.java:811)
at org.apache.tomcat.util.http.fileupload.FileUploadBase.getItemIterator(FileUploadBase.java:256)
at org.apache.tomcat.util.http.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:280)
at org.apache.catalina.connector.Request.parseParts(Request.java:2776)
at org.apache.catalina.connector.Request.parseParameters(Request.java:3151)
at org.apache.catalina.connector.Request.getParameter(Request.java:1108)
at org.sonar.server.ws.ServletRequest.readParam(ServletRequest.java:71)
at org.sonar.api.server.ws.internal.ValidatingRequest.readParamOrDefaultValue(ValidatingRequest.java:134)
at org.sonar.api.server.ws.internal.ValidatingRequest.param(ValidatingRequest.java:86)
at org.sonar.api.server.ws.internal.ValidatingRequest.param(ValidatingRequest.java:68)
at org.sonar.server.ce.ws.SubmitAction.handle(SubmitAction.java:81)
at org.sonar.server.ws.WebServiceEngine.execute(WebServiceEngine.java:109)
at org.sonar.server.ws.WebServiceFilter.doFilter(WebServiceFilter.java:74)
at org.sonar.server.platform.MasterServletFilter$GodFilterChain.doFilter(MasterServletFilter.java:125)
at org.sonar.server.platform.MasterServletFilter.doFilter(MasterServletFilter.java:94)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.sonar.server.user.UserSessionFilter.doFilter(UserSessionFilter.java:56)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.sonar.server.platform.RoutesFilter.doFilter(RoutesFilter.java:55)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.sonar.server.platform.ProfilingFilter.doFilter(ProfilingFilter.java:84)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:868)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Once, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Know the solutions? Share your knowledge to help other developers to debug faster.