[
http://jira.codehaus.org/browse/XFIRE-684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tomasz Sztelak closed XFIRE-684.
--------------------------------
Resolution: Cannot Reproduce
> When parsing incoming message, I get: Fault occurred!
> java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
> -------------------------------------------------------------------------------------------------------------
>
> Key: XFIRE-684
> URL: http://jira.codehaus.org/browse/XFIRE-684
> Project: XFire
> Issue Type: Bug
> Affects Versions: 1.2.1
> Environment: Weblogic Express 9.1, Windows XP
> Reporter: Larry Taylor
> Assigned To: Dan Diephouse
>
> Hello, I'm seeing an issue similar to the one reported in:
> http://jira.codehaus.org/browse/XFIRE-312
> I've contacted both posters about how they solved the issue, but they can't
> seem to remember.
> Here is the configuration for my Service:
> <bean name="CoreServiceBean"
> class="org.codehaus.xfire.spring.ServiceBean">
> <property name="serviceBean" ref="CoreService"/>
> <property name="serviceClass" value="com.ltij.service.Core"/>
> <property name="name" value="CoreService"/>
> <!--<property name="serviceFactory">-->
> <!--<ref bean="myServiceFactory"/>-->
> <!--</property>-->
> <property name="inHandlers">
> <list>
> <ref bean="addressingHandler"/>
> </list>
> </property>
> <property name="properties">
> <map>
> <entry>
> <key><value>writeXsiType</value></key>
> <value>true</value>
> </entry>
> <entry>
> <key><value>wsdlBuilder.generateImports</value></key>
> <value>true</value>
> </entry>
> <entry>
> <key><value>wsdlBuilder.cleanImports</value></key>
> <value>true</value>
> </entry>
> <entry>
> <key><value>overrideTypesList</value></key>
> <list>
>
> <value>com.ltij.core.product.dto.ProductSummaryDTO</value>
>
> <value>com.ltij.core.ui.dto.AssetListContentBlockDTO</value>
> </list>
> </entry>
> </map>
> </property>
> </bean>
> Here is the method I'm calling:
> public HeartbeatResponseDTO invokeHeartBeat(HeartbeatRequestDTO
> heartbeatRequestDTO, MessageContext messageContext) throws RemoteException
> {
> HeartbeatResponseDTO responseDTO = null;
> try
> {
> responseDTO =
> heartbeatService.invokeHeartBeat(heartbeatRequestDTO, messageContext);
> }
> catch (Throwable e)
> {
> logger.error("Error with heartbeat ", e);
> }
> return responseDTO;
> }
> And here is the Exception I'm seeing:
> <Sep 29 13:35:36 PM EDT> <ERROR> <DefaultFaultHandler> - Fault occurred!
> java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
> at java.util.LinkedList.entry(LinkedList.java:368)
> at java.util.LinkedList.get(LinkedList.java:313)
> at java.util.Collections$UnmodifiableList.get(Collections.java:1155)
> at org.codehaus.xfire.service.binding.AbstractBinding.read(AbstractBin
> ng.java:191)
> at org.codehaus.xfire.service.binding.WrappedBinding.readMessage(Wrapp
> Binding.java:50)
> at org.codehaus.xfire.soap.handler.SoapBodyHandler.invoke(SoapBodyHand
> r.java:42)
> at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.j
> a:131)
> at org.codehaus.xfire.transport.DefaultEndpoint.onReceive(DefaultEndpo
> t.java:64)
> at org.codehaus.xfire.transport.AbstractChannel.receive(AbstractChanne
> java:38)
> at org.codehaus.xfire.transport.http.XFireServletController.invoke(XFi
> ServletController.java:287)
> at org.codehaus.xfire.transport.http.XFireServletController.doService(
> ireServletController.java:130)
> at org.codehaus.xfire.transport.http.XFireServlet.doPost(XFireServlet.
> va:116)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.r
> (StubSecurityHelper.java:225)
> at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecu
> tyHelper.java:127)
> at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.j
> a:272)
> at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.j
> a:165)
> at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAct
> n.run(WebAppServletContext.java:3153)
> at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authentica
> dSubject.java:321)
> at weblogic.security.service.SecurityManager.runAs(SecurityManager.jav
> 121)
> at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAp
> ervletContext.java:1973)
> at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServle
> ontext.java:1880)
> at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl
> ava:1310)
> at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
> at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
> Here are the xfire jars I'm using:
> <property name="xfire.jars"
> value="${xfire.lib}/XmlSchema-1.0.3.jar:
> ${xfire.lib}/jaxb-impl-2.0.1.jar:
> ${xfire.lib}/xfire-jsr181-api-1.0-M1.jar:
> ${xfire.lib}/activation-1.1.jar:
> ${xfire.lib}/mail-1.4.jar:
> ${xfire.lib}/jaxen-1.1-beta-9.jar:
> ${xfire.lib}/jdom-1.0.jar:
> ${xfire.lib}/wstx-asl-2.9.3.jar:
> ${xfire.lib}/xbean-spring-2.5.jar:
> ${xfire.lib}/stax-api-1.0.1.jar:
> ${xfire.lib}/xfire-generator-1.2.1.jar:
> ${xfire.lib}/xfire-aegis-1.2.1.jar:
> ${xfire.lib}/xfire-core-1.2.1.jar:
> ${xfire.lib}/xfire-jaxb2-1.2.1.jar:
> ${xfire.lib}/xfire-java5-1.2.1.jar:
> ${xfire.lib}/xfire-jaxws-1.2.1.jar:
> ${xfire.lib}/xfire-annotations-1.2.1.jar:
> ${xfire.lib}/wsdl4j-1.5.2.jar:
> ${xfire.lib}/jaxb-xjc-2.0.1.jar:
> ${xfire.lib}/jaxb-api-2.0.jar"/>
> Any ideas? Any help you can provide would be greatly appreciated.
> Thanks,
> Matt
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email