axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty (JIRA)" <>
Subject [jira] Created: (AXIS2-4649) MTOMXMLStreamWriter caching throws StackException
Date Mon, 08 Mar 2010 16:23:27 GMT
MTOMXMLStreamWriter caching throws StackException

                 Key: AXIS2-4649
             Project: Axis2
          Issue Type: Bug
          Components: om
    Affects Versions: 1.5.1
         Environment: JDK 1.6.0_16

            Reporter: Martin Gainty

when using the standard MTOMXMLStreamWriter with cache enabled i see StackOverflow errors
i noticed the logic was implementing cache logic 
disabling caching routed around the cache logic and I no longer see StackOverflow errors;                 = factory.createOMNamespace("","tns"); new_envelope_element=factory.createOMElement("envelope",omNs); new_child_to_add=factory.createOMElement("newChild",omNs);

new_envelope_element.getBuilder().setCache(false); //setting cache to false bypasses MTOMXMLStreamWriter
logic which cause StackOverflow error

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message