Serialization of Dom4J QName fails
Issue
Serialization of Dom4J QName fails with
java.lang.IllegalStateException: putFields may not be called in this context
or
Caused by: java.io.NotActiveException: writeFields() may only be called when the fields have not yet been written
at org.jboss.marshalling.river.RiverObjectOutputStream.defaultWriteObject(RiverObjectOutputStream.java:162)
at org.dom4j.QName.writeObject(QName.java:239) [dom4j.jar:1.6.1]
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
