<cfset stcStruct = StructNew()/>
<cfset xmlDoc = "<myxml><name>Kevin Penny</name></myxml>">
<cfset stcStruct.xml = xmlParse(xmlDoc)/>
<cfset stcStruct.id = 1>
<cfwddx action="cfml2wddx" input="#stcStruct#" output="tmp"/>
This takes a Structure, adds a key of 'xml' and places a parsed xml object in it's position. I'm then serializing the data into wddx via cfwddx as cfml2wddx.
I originally thought it was the date fields that I had in the structure, so I removed those, but the problem was the xml object's serialization.
Here's the error I get along with a partial dump:
java.lang.StackOverflowError
....
at java.beans.Introspector.instantiate(Introspector.java:1438)
at java.beans.Introspector.findExplicitBeanInfo(Introspector.java:410)
at java.beans.Introspector.
at java.beans.Introspector.getBeanInfo(Introspector.java:222)
at java.beans.Introspector.
at java.beans.Introspector.getBeanInfo(Introspector.java:222)
at java.beans.Introspector.
at java.beans.Introspector.getBeanInfo(Introspector.java:222)
at java.beans.Introspector.
at java.beans.Introspector.getBeanInfo(Introspector.java:222)
at java.beans.Introspector.
at java.beans.Introspector.getBeanInfo(Introspector.java:222)
at java.beans.Introspector.
at java.beans.Introspector.getBeanInfo(Introspector.java:222)
at java.beans.Introspector.getBeanInfo(Introspector.java:208)
at coldfusion.wddx.BeanSerializer.writeObject(BeanSerializer.java:48)
at coldfusion.wddx.WddxOutputStream.writeObject(WddxOutputStream.java:310)
at coldfusion.wddx.BeanSerializer.writeObject(BeanSerializer.java:120)
at coldfusion.wddx.WddxOutputStream.writeObject(WddxOutputStream.java:310)
at coldfusion.wddx.BeanSerializer.writeObject(BeanSerializer.java:120)
at coldfusion.wddx.WddxOutputStream.writeObject(WddxOutputStream.java:310)
I've submitted this as a bug to Adobe #75230.