org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was try ing to deserialize.

JIRA | Tom Kielty | 5 years ago
  1. 0

    I am trying to run some simple command by the CLI interface, and keep running into errors which I cannot find a solution for. I am running this on my test system which is an exact copy of my production system. JIRA: 4.4.4 CLI: 2.5.0 {code:xml} C:\Program Files (x86)\Atlassian\atlassian-cli-2.5.0>jira --action getServerInfo 0 [main] ERROR org.apache.axis.client.Call - Exception: org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was try ing to deserialize. at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369) at org.apache.axis.encoding.ser.BeanDeserializer.startElement(BeanDeserializer.java:154) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236) at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384) at org.apache.axis.client.Call.invoke(Call.java:2467) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at org.swift.common.soap.jira.JirasoapserviceV2SoapBindingStub.getServerInfo(JirasoapserviceV2SoapBindingStub.ja va:3763) at org.swift.jira.cli.JiraClient.getRemoteServerInfo(JiraClient.java:257) at org.swift.jira.cli.JiraClient.getServerInfo(JiraClient.java:1004) at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:431) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:119) at org.swift.common.cli.CliClient.doWork(CliClient.java:299) at org.swift.jira.cli.JiraClient.main(JiraClient.java:146) Remote error: ; nested exception is: org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize. C:\Program Files (x86)\Atlassian\atlassian-cli-2.5.0> {code}

    JIRA | 5 years ago | Tom Kielty
    org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was try ing to deserialize.
  2. 0

    I am trying to run some simple command by the CLI interface, and keep running into errors which I cannot find a solution for. I am running this on my test system which is an exact copy of my production system. JIRA: 4.4.4 CLI: 2.5.0 {code:xml} C:\Program Files (x86)\Atlassian\atlassian-cli-2.5.0>jira --action getServerInfo 0 [main] ERROR org.apache.axis.client.Call - Exception: org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was try ing to deserialize. at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369) at org.apache.axis.encoding.ser.BeanDeserializer.startElement(BeanDeserializer.java:154) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236) at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384) at org.apache.axis.client.Call.invoke(Call.java:2467) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at org.swift.common.soap.jira.JirasoapserviceV2SoapBindingStub.getServerInfo(JirasoapserviceV2SoapBindingStub.ja va:3763) at org.swift.jira.cli.JiraClient.getRemoteServerInfo(JiraClient.java:257) at org.swift.jira.cli.JiraClient.getServerInfo(JiraClient.java:1004) at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:431) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:119) at org.swift.common.cli.CliClient.doWork(CliClient.java:299) at org.swift.jira.cli.JiraClient.main(JiraClient.java:146) Remote error: ; nested exception is: org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize. C:\Program Files (x86)\Atlassian\atlassian-cli-2.5.0> {code}

    JIRA | 5 years ago | Tom Kielty
    org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was try ing to deserialize.
  3. 0

    Add Product Link - SAXException: Bad Types

    GitHub | 3 years ago | ghost
    org.xml.sax.SAXException: Bad types (boolean -> class java.lang.String)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error when consuming webservice in java

    Stack Overflow | 4 years ago | Renier
    org.xml.sax.SAXException: Invalid element in iseries.wsbeans.createbiditem.xsd.CreateBidItemResponse - BidItem
  6. 0

    How to solve SAXException: Invalid element in

    Stack Overflow | 4 years ago | Jeremy Knees
    org.xml.sax.SAXException: Invalid element in librarysearch.soft.Book - book

    8 unregistered visitors
    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. org.xml.sax.SAXException

      SimpleDeserializer encountered a child element, which is NOT expected, in something it was try ing to deserialize.

      at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild()
    2. Axis Web Services
      Call.invoke
      1. org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145)
      2. org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
      3. org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
      4. org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
      5. org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369)
      6. org.apache.axis.encoding.ser.BeanDeserializer.startElement(BeanDeserializer.java:154)
      7. org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
      8. org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
      9. org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
      10. org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
      11. org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
      12. org.apache.axis.client.Call.invoke(Call.java:2467)
      13. org.apache.axis.client.Call.invoke(Call.java:2366)
      14. org.apache.axis.client.Call.invoke(Call.java:1812)
      14 frames
    3. org.swift.common
      JirasoapserviceV2SoapBindingStub.getServerInfo
      1. org.swift.common.soap.jira.JirasoapserviceV2SoapBindingStub.getServerInfo(JirasoapserviceV2SoapBindingStub.java:3763)
      1 frame
    4. org.swift.jira
      JiraClient.handleRequest
      1. org.swift.jira.cli.JiraClient.getRemoteServerInfo(JiraClient.java:257)
      2. org.swift.jira.cli.JiraClient.getServerInfo(JiraClient.java:1004)
      3. org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:431)
      3 frames
    5. org.swift.common
      CliClient.doWork
      1. org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:119)
      2. org.swift.common.cli.CliClient.doWork(CliClient.java:299)
      2 frames
    6. org.swift.jira
      JiraClient.main
      1. org.swift.jira.cli.JiraClient.main(JiraClient.java:146)
      1 frame