com.thoughtworks.xstream.converters.ConversionException: only START_TAG can have attributes END_TAG seen ...ize>\n <serializeMap class="com.google.common.collect.HashBiMap"/>... @2:62 : only START_TAG can have attributes END_TAG seen ...ize>\n <serializeMap class="com.google.common.collect.HashBiMap"/>... @2:62 ---- Debugging information ---- message : only START_TAG can have attributes END_TAG seen ...ize>\n <serializeMap class="com.google.common.collect.HashBiMap"/>... @2:62 cause-exception : java.lang.IndexOutOfBoundsException cause-message : only START_TAG can have attributes END_TAG seen ...ize>\n <serializeMap class="com.google.common.collect.HashBiMap"/>... @2:62 class : com.google.common.collect.HashBiMap required-type : com.google.common.collect.HashBiMap converter-type : BiMapConverter path : /ObjectToSerialize/serializeMap line number : 2 class[1] : ObjectToSerialize converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter version : 1.4.6 -------------------------------

Stack Overflow | crusam | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Serialize BiMap with xStream

    Stack Overflow | 3 years ago | crusam
    com.thoughtworks.xstream.converters.ConversionException: only START_TAG can have attributes END_TAG seen ...ize>\n <serializeMap class="com.google.common.collect.HashBiMap"/>... @2:62 : only START_TAG can have attributes END_TAG seen ...ize>\n <serializeMap class="com.google.common.collect.HashBiMap"/>... @2:62 ---- Debugging information ---- message : only START_TAG can have attributes END_TAG seen ...ize>\n <serializeMap class="com.google.common.collect.HashBiMap"/>... @2:62 cause-exception : java.lang.IndexOutOfBoundsException cause-message : only START_TAG can have attributes END_TAG seen ...ize>\n <serializeMap class="com.google.common.collect.HashBiMap"/>... @2:62 class : com.google.common.collect.HashBiMap required-type : com.google.common.collect.HashBiMap converter-type : BiMapConverter path : /ObjectToSerialize/serializeMap line number : 2 class[1] : ObjectToSerialize converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter version : 1.4.6 -------------------------------
  2. 0

    [JENKINS-18424] NPE while reading config.xml - Jenkins JIRA

    jenkins-ci.org | 2 years ago
    hudson.util.IOException2: Unable to read /var/lib/jenkins/jobs/bioEscorte-Logic/config.xml
  3. 0

    after updateing to this version several jobs are not displayed. everone failing with same error: SEVERE: Failed Loading job bioEscorte-Logic hudson.util.IOException2: Unable to read /var/lib/jenkins/jobs/bioEscorte-Logic/config.xml at hudson.XmlFile.read(XmlFile.java:147) at hudson.model.Items.load(Items.java:220) at jenkins.model.Jenkins$17.run(Jenkins.java:2542) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:893) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: com.thoughtworks.xstream.converters.ConversionException: null : null ---- Debugging information ---- cause-exception : java.lang.NullPointerException cause-message : null class : java.util.LinkedHashSet required-type : java.util.LinkedHashSet converter-type : hudson.util.RobustCollectionConverter path : /maven2-moduleset/properties/job-metadata/values/metadata-tree[2] line number : 113 class[1] : com.sonyericsson.hudson.plugins.metadata.model.MetadataJobProperty converter-type[1] : hudson.util.RobustReflectionConverter class[2] : hudson.util.CopyOnWriteList converter-type[2] : hudson.util.XStream2$AssociatedConverterImpl class[3] : hudson.maven.MavenModuleSet version : null ------------------------------- at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:333) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:275) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:222) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71) at hudson.util.CopyOnWriteList$ConverterImpl.unmarshal(CopyOnWriteList.java:193) at hudson.util.CopyOnWriteList$ConverterImpl.unmarshal(CopyOnWriteList.java:172) at hudson.util.XStream2$AssociatedConverterImpl.unmarshal(XStream2.java:337) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:333) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:275) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:222) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)

    Jenkins JIRA | 4 years ago | Steffen Flemming
    hudson.util.IOException2: Unable to read /var/lib/jenkins/jobs/bioEscorte-Logic/config.xml
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    after updateing to this version several jobs are not displayed. everone failing with same error: SEVERE: Failed Loading job bioEscorte-Logic hudson.util.IOException2: Unable to read /var/lib/jenkins/jobs/bioEscorte-Logic/config.xml at hudson.XmlFile.read(XmlFile.java:147) at hudson.model.Items.load(Items.java:220) at jenkins.model.Jenkins$17.run(Jenkins.java:2542) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:893) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: com.thoughtworks.xstream.converters.ConversionException: null : null ---- Debugging information ---- cause-exception : java.lang.NullPointerException cause-message : null class : java.util.LinkedHashSet required-type : java.util.LinkedHashSet converter-type : hudson.util.RobustCollectionConverter path : /maven2-moduleset/properties/job-metadata/values/metadata-tree[2] line number : 113 class[1] : com.sonyericsson.hudson.plugins.metadata.model.MetadataJobProperty converter-type[1] : hudson.util.RobustReflectionConverter class[2] : hudson.util.CopyOnWriteList converter-type[2] : hudson.util.XStream2$AssociatedConverterImpl class[3] : hudson.maven.MavenModuleSet version : null ------------------------------- at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:333) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:275) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:222) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71) at hudson.util.CopyOnWriteList$ConverterImpl.unmarshal(CopyOnWriteList.java:193) at hudson.util.CopyOnWriteList$ConverterImpl.unmarshal(CopyOnWriteList.java:172) at hudson.util.XStream2$AssociatedConverterImpl.unmarshal(XStream2.java:337) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:333) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:275) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:222) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)

    Jenkins JIRA | 4 years ago | Steffen Flemming
    hudson.util.IOException2: Unable to read /var/lib/jenkins/jobs/bioEscorte-Logic/config.xml
  6. 0

    How to handle cyclic references in XStream?

    Stack Overflow | 2 years ago | mchen
    com.thoughtworks.xstream.converters.ConversionException: Could not call com.google.common.collect.LinkedHashMultimap.readObject() : null ---- Debugging information ---- message : Could not call com.google.common.collect.LinkedHashMultimap.readObject() cause-exception : java.lang.NullPointerException cause-message : null class : com.google.common.collect.LinkedHashMultimap required-type : com.google.common.collect.LinkedHashMultimap converter-type : com.thoughtworks.xstream.converters.reflection.SerializableConverter path : /com.google.common.collect.LinkedHashMultimap/com.google.common.collect.LinkedHashMultimap line number : 15 version : 1.4.7 -------------------------------

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.thoughtworks.xstream.converters.ConversionException

      only START_TAG can have attributes END_TAG seen ...ize>\n <serializeMap class="com.google.common.collect.HashBiMap"/>... @2:62 : only START_TAG can have attributes END_TAG seen ...ize>\n <serializeMap class="com.google.common.collect.HashBiMap"/>... @2:62 ---- Debugging information ---- message : only START_TAG can have attributes END_TAG seen ...ize>\n <serializeMap class="com.google.common.collect.HashBiMap"/>... @2:62 cause-exception : java.lang.IndexOutOfBoundsException cause-message : only START_TAG can have attributes END_TAG seen ...ize>\n <serializeMap class="com.google.common.collect.HashBiMap"/>... @2:62 class : com.google.common.collect.HashBiMap required-type : com.google.common.collect.HashBiMap converter-type : BiMapConverter path : /ObjectToSerialize/serializeMap line number : 2 class[1] : ObjectToSerialize converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter version : 1.4.6 -------------------------------

      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert()
    2. XStream Core
      TreeUnmarshaller.convertAnother
      1. com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
      2. com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
      3. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      3 frames