Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6022

GZIPOutInterceptor - Exception when using headers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.0.1
    • None
    • Bus, Core, JAX-WS Runtime
    • None
    • Unknown

    Description

      GZIPOutInterceptor seems to have some serious problems.
      I already posted a bug last week (CXF-6004) concerning the gzip feature.
      And there is another bug when connecting to a webservice using the header feature (-exsh = true):

      SpringBus bus = new SpringBus();
      MyWebService service = new MyWebService(bus);

      bus.getInInterceptors().add(new GZIPInInterceptor());
      bus.getOutInterceptors().add(new GZIPOutInterceptor());

      java.lang.UnsupportedOperationException
      at java.util.AbstractList.set(AbstractList.java:132) ~[?:1.7.0_51]
      at org.apache.cxf.transport.common.gzip.GZIPOutInterceptor.addHeader(GZIPOutInterceptor.java:333) ~[cxf-core-3.0.1.jar:3.0.1]
      at org.apache.cxf.transport.common.gzip.GZIPOutInterceptor.gzipPermitted(GZIPOutInterceptor.java:182) ~[cxf-core-3.0.1.jar:3.0.1]
      at org.apache.cxf.transport.common.gzip.GZIPOutInterceptor.handleMessage(GZIPOutInterceptor.java:134) ~[cxf-core-3.0.1.jar:3.0.1]
      at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307) [cxf-core-3.0.1.jar:3.0.1]
      at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514) [cxf-core-3.0.1.jar:3.0.1]
      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423) [cxf-core-3.0.1.jar:3.0.1]
      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:326) [cxf-core-3.0.1.jar:3.0.1]
      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:279) [cxf-core-3.0.1.jar:3.0.1]
      at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96) [cxf-rt-frontend-simple-3.0.1.jar:3.0.1]
      at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:137) [cxf-rt-frontend-jaxws-3.0.1.jar:3.0.1]

      Attachments

        Activity

          People

            Unassigned Unassigned
            membersound member sound
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: