Hi,
I try to serialize NormalizedNode with AnyXML attribute and I get
java.lang.IllegalArgumentException: Unknown value type DOMSource. Is there
support for serialization AnyXML?
All stack trace is:
Caused by: java.lang.IllegalArgumentException: Unknown value type DOMSource
at
org.opendaylight.controller.cluster.datastore.node.utils.stream.ValueTypes.getSerializableType(ValueTypes.java:83)[193:org.opendaylight.controller.sal-clustering-commons:1.5.0.SNAPSHOT]
at
org.opendaylight.controller.cluster.datastore.node.utils.stream.AbstractNormalizedNodeDataOutput.writeObject(AbstractNormalizedNodeDataOutput.java:411)[193:org.opendaylight.controller.sal-clustering-commons:1.5.0.SNAPSHOT]
at
org.opendaylight.controller.cluster.datastore.node.utils.stream.AbstractNormalizedNodeDataOutput.anyxmlNode(AbstractNormalizedNodeDataOutput.java:280)[193:org.opendaylight.controller.sal-clustering-commons:1.5.0.SNAPSHOT]
at
org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeWriter.wasProcessAsSimpleNode(NormalizedNodeWriter.java:155)[84:org.opendaylight.yangtools.yang-data-api:1.1.0.SNAPSHOT]
at
org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeWriter.write(NormalizedNodeWriter.java:104)[84:org.opendaylight.yangtools.yang-data-api:1.1.0.SNAPSHOT]
at
org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeWriter.writeChildren(NormalizedNodeWriter.java:171)[84:org.opendaylight.yangtools.yang-data-api:1.1.0.SNAPSHOT]
at
org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeWriter.wasProcessedAsCompositeNode(NormalizedNodeWriter.java:196)[84:org.opendaylight.yangtools.yang-data-api:1.1.0.SNAPSHOT]
at
org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeWriter.write(NormalizedNodeWriter.java:100)[84:org.opendaylight.yangtools.yang-data-api:1.1.0.SNAPSHOT]
If is it bug. Could you fix it or I have to fix it? I need this serialization
for sending between clustered nodes.
Thanks in advance.
Rudolf Brisuda
[logo_Grey]
Rudolf Brisuda
Engineer - Software
[email protected]<mailto:[email protected]>
Tel:
Cisco Systems, Inc.
Slovakia
cisco.com
[http://www.cisco.com/assets/swa/img/thinkbeforeyouprint.gif]Think before you
print.
This email may contain confidential and privileged material for the sole use of
the intended recipient. Any review, use, distribution or disclosure by others
is strictly prohibited. If you are not the intended recipient (or authorized to
receive for the recipient), please contact the sender by reply email and delete
all copies of this message.
Please click
here<http://www.cisco.com/web/about/doing_business/legal/cri/index.html> for
Company Registration Information.
_______________________________________________
controller-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/controller-dev