camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-9282) IndexOutOfBoundsException if SoapAction parameter is empty
Date Sun, 22 Nov 2015 15:03:10 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-9282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen resolved CAMEL-9282.
--------------------------------
    Resolution: Fixed
      Assignee: Claus Ibsen

> IndexOutOfBoundsException if SoapAction parameter is empty
> ----------------------------------------------------------
>
>                 Key: CAMEL-9282
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9282
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 2.16.0
>         Environment: JDK 1.7, Jboss 7.1.1.Final
>            Reporter: Augus Topor
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.16.2, 2.17.0
>
>
> After upgrade from 1.4.1, I encountered below error when receiving web service message
where SoapAction is blank. Below is the trace log and error log.
> 13:12:39,526 TRACE [org.apache.camel.component.cxf.DefaultCxfBinding] (default-workqueue-2)
Populate header from CXF header=accept-encoding value=[gzip,deflate]
> 13:12:46,769 TRACE [org.apache.camel.component.cxf.DefaultCxfBinding] (default-workqueue-2)
Populate header from CXF header=connection value=[keep-alive]
> 13:12:57,869 TRACE [org.apache.camel.component.cxf.DefaultCxfBinding] (default-workqueue-2)
Populate header from CXF header=content-type value=[text/xml;charset=UTF-8]
> 13:12:59,803 TRACE [org.apache.camel.component.cxf.DefaultCxfBinding] (default-workqueue-2)
Populate header from CXF header=Host value=[localhost:8088]
> 13:13:00,786 TRACE [org.apache.camel.component.cxf.DefaultCxfBinding] (default-workqueue-2)
Populate header from CXF header=SoapAction value=[]
> 13:17:21,407 WARN  [org.apache.cxf.phase.PhaseInterceptorChain] (default-workqueue-2)
Interceptor for {http://member.ws.com}WsMemberService#{http://member.ws.com}receivedMemberMessage
has thrown exception, 
> unwinding now: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> 		at java.util.ArrayList.rangeCheck(ArrayList.java:635) [rt.jar:1.7.0_71]
> 	at java.util.ArrayList.get(ArrayList.java:411) [rt.jar:1.7.0_71]
> 	at org.apache.camel.component.cxf.DefaultCxfBinding.propagateHeadersFromCxfToCamel(DefaultCxfBinding.java:552)
[camel-cxf-2.16.0.jar:2.16.0]
> 	at org.apache.camel.component.cxf.DefaultCxfBinding.populateExchangeFromCxfRequest(DefaultCxfBinding.java:247)
[camel-cxf-2.16.0.jar:2.16.0]
> 	at org.apache.camel.component.cxf.CxfConsumer$1.prepareCamelExchange(CxfConsumer.java:187)
[camel-cxf-2.16.0.jar:2.16.0]
> 	at org.apache.camel.component.cxf.CxfConsumer$1.syncInvoke(CxfConsumer.java:132) [camel-cxf-2.16.0.jar:2.16.0]
> 	at org.apache.camel.component.cxf.CxfConsumer$1.invoke(CxfConsumer.java:78) [camel-cxf-2.16.0.jar:2.16.0]
> 	at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)
[cxf-core-3.1.2.jar:3.1.2]
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_71]
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_71]
> 	at org.apache.cxf.interceptor.ServiceInvokerInterceptor$2.run(ServiceInvokerInterceptor.java:126)
[cxf-core-3.1.2.jar:3.1.2]
> 	at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
[cxf-core-3.1.2.jar:3.1.2]
> 	at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:131)
[cxf-core-3.1.2.jar:3.1.2]
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
[cxf-core-3.1.2.jar:3.1.2]
> 	at org.apache.cxf.phase.PhaseInterceptorChain.resume(PhaseInterceptorChain.java:278)
[cxf-core-3.1.2.jar:3.1.2]
> 	at org.apache.cxf.interceptor.OneWayProcessorInterceptor$1.run(OneWayProcessorInterceptor.java:137)
[cxf-core-3.1.2.jar:3.1.2]
> 	at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$3.run(AutomaticWorkQueueImpl.java:428)
[cxf-core-3.1.2.jar:3.1.2]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_71]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_71]
> 	at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$AWQThreadFactory$1.run(AutomaticWorkQueueImpl.java:353)
[cxf-core-3.1.2.jar:3.1.2]
> 	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_71]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message