0 Replies Latest reply on Oct 14, 2015 5:56 AM by Chethan TM

    java.lang.RuntimeException: RESTEASY005000: Could find no Content-Disposition header within part

    Chethan TM Newbie

      Encountered below exception while uploading a file when picketlink jboss modules and "org.picketlink.identity.federation.bindings.tomcat.sp.ServiceProviderAuthenticator" valve is being configured in the application. And file uploading works fine if i remove the ServiceProviderAuthenticator valve from the application.


      [com.alu.mdm.rest.ThrowableExceptionMapper] (http-localhost/127.0.0.1:8081-3) [U:] [I:] [D:] [N:] [S:] [J:] [A:] Converting unexpected exception: java.lang.RuntimeException: RESTEASY005000: Could find no Content-Disposition header within part

        at org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataInputImpl.extractPart(MultipartFormDataInputImpl.java:70)

        at org.jboss.resteasy.plugins.providers.multipart.MultipartInputImpl.extractParts(MultipartInputImpl.java:230)

        at org.jboss.resteasy.plugins.providers.multipart.MultipartInputImpl.parse(MultipartInputImpl.java:199)

        at org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataReader.readFrom(MultipartFormDataReader.java:55)

        at org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataReader.readFrom(MultipartFormDataReader.java:23)

        at org.jboss.resteasy.core.interception.MessageBodyReaderContextImpl.proceed(MessageBodyReaderContextImpl.java:106)

        at org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor.read(GZIPDecodingInterceptor.java:63)

        at org.jboss.resteasy.core.interception.MessageBodyReaderContextImpl.proceed(MessageBodyReaderContextImpl.java:109)

        at org.jboss.resteasy.core.MessageBodyParameterInjector.inject(MessageBodyParameterInjector.java:168)

        at org.jboss.resteasy.core.MethodInjectorImpl.injectArguments(MethodInjectorImpl.java:137)

        at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:160)

        at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:269)

        at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:227)

        at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:216)

        at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:541)

        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:523)

        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:125)

        at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)

        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)

        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:832)

        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:620)

        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:553)

        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:482)

        at com.alu.mdm.uiservice.rest.RestProxy.service(RestProxy.java:25)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)

        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:512)

        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:512)

        at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)

        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854)

        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926)

        at java.lang.Thread.run(Thread.java:745)