axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Resolved: (AXIS-1634) AbstractXMLEncoder blowing up while in middle of serializing an object array of a 1000 elements
Date Mon, 01 Nov 2004 13:49:33 GMT
     [ http://nagoya.apache.org/jira/browse/AXIS-1634?page=history ]
     
Davanum Srinivas resolved AXIS-1634:
------------------------------------

    Resolution: Invalid

Closing as per Tami's comment.

> AbstractXMLEncoder blowing up while in middle of serializing an object array of a 1000
elements
> -----------------------------------------------------------------------------------------------
>
>          Key: AXIS-1634
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1634
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: beta-2
>  Environment: Windows XP/2003 Server, Tomcat 5, j2sdk1.4.2_04
>     Reporter: Tami Wright

>
> While going through the process of serializing a complex object containing an object
array that has over a 1000 elements, the AbstractXMLEncoder blows up during the .encode method.
 It only does this when the array is large... So far it works fine with an array of a 100
elements or so.
> Here is the stack trace:
> org.apache.axis.i18n.ProjectResourceBundle 2004-10-29 14:48:46,346 -- DEBUG -- org.apache.axis.i18n.resource::handleGetObject(invalidXmlCharacter00)
> org.apache.axis.i18n.ProjectResourceBundle 2004-10-29 14:48:46,346 -- DEBUG -- org.apache.axis.i18n.resource::handleGetObject(exception00)
> org.apache.axis.encoding.ser.BeanSerializer 2004-10-29 14:48:46,346 -- ERROR -- Exception:
> java.lang.IllegalArgumentException: The char '0x1b' in '1216-00003' is not a valid
XML character.
> 	at org.apache.axis.components.encoding.AbstractXMLEncoder.encode(AbstractXMLEncoder.java:106)
> 	at org.apache.axis.utils.XMLUtils.xmlEncodeString(XMLUtils.java:99)
> 	at org.apache.axis.encoding.SerializationContextImpl.writeSafeString(SerializationContextImpl.java:1041)
> 	at org.apache.axis.encoding.ser.SimpleSerializer.serialize(SimpleSerializer.java:103)
> 	at org.apache.axis.encoding.SerializationContextImpl.serializeActual(SerializationContextImpl.java:1229)
> 	at org.apache.axis.encoding.SerializationContextImpl.serialize(SerializationContextImpl.java:750)
> 	at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:175)
> 	at org.apache.axis.encoding.SerializationContextImpl.serializeActual(SerializationContextImpl.java:1229)
> 	at org.apache.axis.encoding.SerializationContextImpl.serialize(SerializationContextImpl.java:750)
> 	at org.apache.axis.encoding.SerializationContextImpl.outputMultiRefs(SerializationContextImpl.java:821)
> 	at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:144)
> 	at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:470)
> 	at org.apache.axis.message.MessageElement.output(MessageElement.java:1111)
> 	at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:268)
> 	at org.apache.axis.SOAPPart.getAsString(SOAPPart.java:499)
> 	at org.apache.axis.SOAPPart.getAsBytes(SOAPPart.java:386)
> 	at org.apache.axis.Message.getContentType(Message.java:465)
> 	at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:683)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> 	at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:301)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> 	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> 	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
> 	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> 	at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
> 	at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
> 	at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
> 	at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
> 	at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
> 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> 	at java.lang.Thread.run(Thread.java:534)
> org.apache.axis.i18n.ProjectResourceBundle 2004-10-29 14:48:46,361 -- DEBUG -- org.apache.axis.i18n.resource::handleGetObject(invalidXmlCharacter00)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message