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

Atlassian JIRA | Konstantin Fadeyev | 6 years ago
  1. 0

    I get the following error when trying to create a review upon commit from Intellij IDEA, seems like crucible sends malformed xml: com.atlassian.theplugin.commons.remoteapi.RemoteApiException: http://localhost:8060: Server returned malformed response at com.atlassian.theplugin.commons.crucible.api.rest.CrucibleSessionImpl.throwMalformedResponseReturned(CrucibleSessionImpl.java:1609) at com.atlassian.theplugin.commons.crucible.api.rest.CrucibleSessionImpl.createReviewFromRevision(CrucibleSessionImpl.java:1347) at com.atlassian.theplugin.commons.crucible.CrucibleServerFacadeImpl.createReviewFromRevision(CrucibleServerFacadeImpl.java:219) at com.atlassian.connector.intellij.crucible.IntelliJCrucibleServerFacade.createReviewFromRevision(IntelliJCrucibleServerFacade.java:232) at com.atlassian.theplugin.idea.crucible.AbstractCrucibleCreatePostCommitReviewForm.createReviewImpl(AbstractCrucibleCreatePostCommitReviewForm.java:69) at com.atlassian.theplugin.idea.crucible.CrucibleCreatePostCommitReviewDelayedForm.createReview(CrucibleCreatePostCommitReviewDelayedForm.java:81) at com.atlassian.theplugin.idea.crucible.CrucibleReviewCreateForm$9.run(CrucibleReviewCreateForm.java:856) at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:428) at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:198) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:223) at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:189) at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:343) at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:331) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:125) Caused by: org.jdom.input.JDOMParseException: Error on line 1: Content is not allowed in prolog. at org.jdom.input.SAXBuilder.build(SAXBuilder.java:504) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:807) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponseInternalImpl(AbstractHttpSession.java:410) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponseInternal(AbstractHttpSession.java:343) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:334) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:329) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:322) at com.atlassian.theplugin.commons.crucible.api.rest.CrucibleSessionImpl.createReviewFromRevision(CrucibleSessionImpl.java:1335) ... 18 more Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog. 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.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.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.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:489) ... 25 more

    Atlassian JIRA | 6 years ago | Konstantin Fadeyev
    com.atlassian.theplugin.commons.remoteapi.RemoteApiException: http://localhost:8060: Server returned malformed response
  2. 0

    I get the following error when trying to create a review upon commit from Intellij IDEA, seems like crucible sends malformed xml: com.atlassian.theplugin.commons.remoteapi.RemoteApiException: http://localhost:8060: Server returned malformed response at com.atlassian.theplugin.commons.crucible.api.rest.CrucibleSessionImpl.throwMalformedResponseReturned(CrucibleSessionImpl.java:1609) at com.atlassian.theplugin.commons.crucible.api.rest.CrucibleSessionImpl.createReviewFromRevision(CrucibleSessionImpl.java:1347) at com.atlassian.theplugin.commons.crucible.CrucibleServerFacadeImpl.createReviewFromRevision(CrucibleServerFacadeImpl.java:219) at com.atlassian.connector.intellij.crucible.IntelliJCrucibleServerFacade.createReviewFromRevision(IntelliJCrucibleServerFacade.java:232) at com.atlassian.theplugin.idea.crucible.AbstractCrucibleCreatePostCommitReviewForm.createReviewImpl(AbstractCrucibleCreatePostCommitReviewForm.java:69) at com.atlassian.theplugin.idea.crucible.CrucibleCreatePostCommitReviewDelayedForm.createReview(CrucibleCreatePostCommitReviewDelayedForm.java:81) at com.atlassian.theplugin.idea.crucible.CrucibleReviewCreateForm$9.run(CrucibleReviewCreateForm.java:856) at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:428) at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:198) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:223) at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:189) at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:343) at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:331) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:125) Caused by: org.jdom.input.JDOMParseException: Error on line 1: Content is not allowed in prolog. at org.jdom.input.SAXBuilder.build(SAXBuilder.java:504) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:807) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponseInternalImpl(AbstractHttpSession.java:410) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponseInternal(AbstractHttpSession.java:343) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:334) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:329) at com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:322) at com.atlassian.theplugin.commons.crucible.api.rest.CrucibleSessionImpl.createReviewFromRevision(CrucibleSessionImpl.java:1335) ... 18 more Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog. 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.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.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.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:489) ... 25 more

    Atlassian JIRA | 6 years ago | Konstantin Fadeyev
    com.atlassian.theplugin.commons.remoteapi.RemoteApiException: http://localhost:8060: Server returned malformed response
  3. 0

    Maximo endpoint testing errors. Content is not aloud in prolog

    Stack Overflow | 3 months ago | Nicholas Siegmundt
    org.jdom.input.JDOMParseException: Error on line 1: Content is not allowed in prolog.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Reading/Parsing RSS and Atom feeds with Rome | Codingpedia.org

    codingpedia.org | 11 months ago
    com.sun.syndication.io.ParsingFeedException: Invalid XML: Error on line 1: Content is not allowed in prolog.
  6. 0

    Redmine connectivity

    YouTrack | 6 years ago
    org.jdom.input.JDOMParseException: Error on line -1: Premature end of file.

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

      Content is not allowed in prolog.

      at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException()
    2. Xerces2-j
      SAXParserImpl$JAXPSAXParser.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.XMLErrorReporter.reportError(Unknown Source)
      6. org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
      7. org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source)
      8. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      9. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      10. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      11. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      12. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      13. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      13 frames
    3. jOpenDocument
      SAXBuilder.build
      1. org.jdom.input.SAXBuilder.build(SAXBuilder.java:489)
      2. org.jdom.input.SAXBuilder.build(SAXBuilder.java:807)
      2 frames
    4. com.atlassian.theplugin
      CrucibleServerFacadeImpl.createReviewFromRevision
      1. com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponseInternalImpl(AbstractHttpSession.java:410)
      2. com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponseInternal(AbstractHttpSession.java:343)
      3. com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:334)
      4. com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:329)
      5. com.atlassian.theplugin.commons.remoteapi.rest.AbstractHttpSession.retrievePostResponse(AbstractHttpSession.java:322)
      6. com.atlassian.theplugin.commons.crucible.api.rest.CrucibleSessionImpl.createReviewFromRevision(CrucibleSessionImpl.java:1335)
      7. com.atlassian.theplugin.commons.crucible.CrucibleServerFacadeImpl.createReviewFromRevision(CrucibleServerFacadeImpl.java:219)
      7 frames
    5. com.atlassian.connector
      IntelliJCrucibleServerFacade.createReviewFromRevision
      1. com.atlassian.connector.intellij.crucible.IntelliJCrucibleServerFacade.createReviewFromRevision(IntelliJCrucibleServerFacade.java:232)
      1 frame
    6. com.atlassian.theplugin
      CrucibleReviewCreateForm$9.run
      1. com.atlassian.theplugin.idea.crucible.AbstractCrucibleCreatePostCommitReviewForm.createReviewImpl(AbstractCrucibleCreatePostCommitReviewForm.java:69)
      2. com.atlassian.theplugin.idea.crucible.CrucibleCreatePostCommitReviewDelayedForm.createReview(CrucibleCreatePostCommitReviewDelayedForm.java:81)
      3. com.atlassian.theplugin.idea.crucible.CrucibleReviewCreateForm$9.run(CrucibleReviewCreateForm.java:856)
      3 frames
    7. IDEA
      ApplicationImpl$5.run
      1. com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:428)
      2. com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:198)
      3. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:223)
      4. com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:189)
      5. com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:343)
      6. com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:331)
      6 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      6. java.lang.Thread.run(Thread.java:619)
      6 frames
    9. IDEA
      ApplicationImpl$1$1.run
      1. com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:125)
      1 frame