java.lang.RuntimeException: Encode failed for _Feature. Cause: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.

tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Writing GML causes XML encoding error?

    Geographic Information Systems | 8 months ago | Francesco
    java.lang.RuntimeException: Encode failed for _Feature. Cause: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.

    Root Cause Analysis

    1. java.lang.RuntimeException

      Encode failed for _Feature. Cause: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.

      at org.geotools.xml.impl.ElementEncodeExecutor.visit()
    2. org.geotools.xml
      Encoder.encode
      1. org.geotools.xml.impl.ElementEncodeExecutor.visit(ElementEncodeExecutor.java:132)
      2. org.geotools.xml.impl.BindingWalker$BindingExecutionChain.execute(BindingWalker.java:215)
      3. org.geotools.xml.impl.BindingWalker.walk(BindingWalker.java:181)
      4. org.geotools.xml.impl.BindingVisitorDispatch.walk(BindingVisitorDispatch.java:44)
      5. org.geotools.xml.impl.ElementEncoder.encode(ElementEncoder.java:83)
      6. org.geotools.xml.Encoder.encode(Encoder.java:1100)
      7. org.geotools.xml.Encoder.encode(Encoder.java:836)
      8. org.geotools.xml.Encoder.encode(Encoder.java:564)
      8 frames