com.atlassian.theplugin.commons.remoteapi.RemoteApiException: http://localhost:8060: Server returned malformed response

Atlassian JIRA | Erik van Zijst [Atlassian] | 8 years ago
  1. 0

    The text of some reviews contains characters that cannot be parsed by xerces (used in the IDEA plugin): java -Dresturl=http://localhost:8060 -Drestuser=joe -Drestpass=joe -jar target/restclient-1.0-SNAPSHOT-jar-with-dependencies.jar filter AllClosed com.atlassian.theplugin.commons.remoteapi.RemoteApiException: http://localhost:8060: Server returned malformed response at com.atlassian.theplugin.commons.crucible.api.rest.CrucibleSessionImpl.getReviewsForFilter(CrucibleSessionImpl.java:297) at com.atlassian.theplugin.commons.crucible.CrucibleServerFacadeImpl.getReviewsForFilter(CrucibleServerFacadeImpl.java:413) at com.atlassian.crucible.restclient.PredefinedFilter.run(PredefinedFilter.java:64) at com.atlassian.crucible.restclient.Launcher.main(Launcher.java:60) Caused by: org.jdom.input.JDOMParseException: Error on line 1181: An invalid XML character (Unicode: 0x10) was found in the element content of the document. at org.jdom.input.SAXBuilder.build(SAXBuilder.java:468) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:770) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrieveGetResponse(AbstractHttpSession.java:122) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrieveGetResponse(AbstractHttpSession.java:88) at com.atlassian.theplugin.commons.crucible.api.rest.CrucibleSessionImpl.getReviewsForFilter(CrucibleSessionImpl.java:269) ... 3 more Caused by: org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x10) was found in the element content of the document. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453) ... 7 more

    Atlassian JIRA | 8 years ago | Erik van Zijst [Atlassian]
    com.atlassian.theplugin.commons.remoteapi.RemoteApiException: http://localhost:8060: Server returned malformed response
  2. 0

    The text of some reviews contains characters that cannot be parsed by xerces (used in the IDEA plugin): java -Dresturl=http://localhost:8060 -Drestuser=joe -Drestpass=joe -jar target/restclient-1.0-SNAPSHOT-jar-with-dependencies.jar filter AllClosed com.atlassian.theplugin.commons.remoteapi.RemoteApiException: http://localhost:8060: Server returned malformed response at com.atlassian.theplugin.commons.crucible.api.rest.CrucibleSessionImpl.getReviewsForFilter(CrucibleSessionImpl.java:297) at com.atlassian.theplugin.commons.crucible.CrucibleServerFacadeImpl.getReviewsForFilter(CrucibleServerFacadeImpl.java:413) at com.atlassian.crucible.restclient.PredefinedFilter.run(PredefinedFilter.java:64) at com.atlassian.crucible.restclient.Launcher.main(Launcher.java:60) Caused by: org.jdom.input.JDOMParseException: Error on line 1181: An invalid XML character (Unicode: 0x10) was found in the element content of the document. at org.jdom.input.SAXBuilder.build(SAXBuilder.java:468) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:770) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrieveGetResponse(AbstractHttpSession.java:122) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrieveGetResponse(AbstractHttpSession.java:88) at com.atlassian.theplugin.commons.crucible.api.rest.CrucibleSessionImpl.getReviewsForFilter(CrucibleSessionImpl.java:269) ... 3 more Caused by: org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x10) was found in the element content of the document. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453) ... 7 more

    Atlassian JIRA | 8 years ago | Erik van Zijst [Atlassian]
    com.atlassian.theplugin.commons.remoteapi.RemoteApiException: http://localhost:8060: Server returned malformed response
  3. 0

    XML complained

    Oracle Community | 10 years ago | 843841
    org.jdom.input.JDOMParseException: Error on line 19 of document file:///C:/..../Java/watij/hierarchy/login.xml: The reference to entity "search_case_number" must end with the ';' delimiter.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.io.IOException: Server returned HTTP response code: 500 for URL

    Stack Overflow | 4 years ago | chetan
    org.jdom.input.JDOMParseException: Error on line -1: Premature end of file.
  6. 0

    ¼ÆËã»ú¿ÆѧÂÛ̳--»ùÓÚJDOM£¬ÓÃSchemaÑéÖ¤XMLµÄÓÐЧÐÔÀÏÊdzöÏÖÕâÑùµÄÒì³££¬°ï°ï棡

    org.cn | 1 year ago
    org.jdom.input.JDOMParseException: Error on line 3 of document file:///C:/WorkRoom/test.xml: cvc-elt.1: Cannot find the declaration of element 'Questions'.

    4 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.SAXParseException

      An invalid XML character (Unicode: 0x10) was found in the element content of the document.

      at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException()
    2. Xerces2-j
      AbstractSAXParser.parse
      1. org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
      2. org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
      3. org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      4. org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      5. org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
      6. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      7. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      8. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      9. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      10. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      11. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      11 frames
    3. jOpenDocument
      SAXBuilder.build
      1. org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)
      2. org.jdom.input.SAXBuilder.build(SAXBuilder.java:770)
      2 frames
    4. com.atlassian.theplugin
      CrucibleServerFacadeImpl.getReviewsForFilter
      1. com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrieveGetResponse(AbstractHttpSession.java:122)
      2. com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrieveGetResponse(AbstractHttpSession.java:88)
      3. com.atlassian.theplugin.commons.crucible.api.rest.CrucibleSessionImpl.getReviewsForFilter(CrucibleSessionImpl.java:269)
      4. com.atlassian.theplugin.commons.crucible.CrucibleServerFacadeImpl.getReviewsForFilter(CrucibleServerFacadeImpl.java:413)
      4 frames
    5. com.atlassian.crucible
      Launcher.main
      1. com.atlassian.crucible.restclient.PredefinedFilter.run(PredefinedFilter.java:64)
      2. com.atlassian.crucible.restclient.Launcher.main(Launcher.java:60)
      2 frames