org.jdom.input.JDOMParseException: Error on line 1: Content is not allowed in prolog.

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

    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
  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.XMLScanner.reportFatalError(Unknown Source)
      6. org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.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)
      12. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      12 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. psdi.iface.util
      XMLUtils.convertBytesToDocument
      1. psdi.iface.util.XMLUtils.convertBytesToDocument(XMLUtils.java:309)
      1 frame
    5. psdi.iface.app
      MaxEndPointTestSet.execute
      1. psdi.iface.app.endpoint.MaxEndPointTestSet.execute(MaxEndPointTestSet.java:108)
      1 frame
    6. psdi.webclient.beans
      EndPointTestBean.testxml
      1. psdi.webclient.beans.endpoint.EndPointTestBean.testxml(EndPointTestBean.java:59)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
      4. java.lang.reflect.Method.invoke(Method.java:620)
      4 frames
    8. psdi.webclient.system
      RequestManager.manageRequest
      1. psdi.webclient.system.session.WebClientSession.defaultHandler(WebClientSession.java:1502)
      2. psdi.webclient.system.session.WebClientSession.handleEvent(WebClientSession.java:1395)
      3. psdi.webclient.system.session.WebClientSession.processRequestEvent(WebClientSession.java:6075)
      4. psdi.webclient.system.session.WebClientSession.handleClientSideQueueRequest(WebClientSession.java:6031)
      5. psdi.webclient.system.session.WebClientSession.handleRequest(WebClientSession.java:884)
      6. psdi.webclient.system.session.AsyncRequestManager.handleRequest(AsyncRequestManager.java:555)
      7. psdi.webclient.system.session.AsyncRequestManager.manageRequest(AsyncRequestManager.java:253)
      8. psdi.webclient.system.controller.RequestManager.manageRequest(RequestManager.java:214)
      8 frames
    9. psdi.webclient.servlet
      WebClientServlet.doPost
      1. psdi.webclient.servlet.WebClientServlet.handleRequest(WebClientServlet.java:141)
      2. psdi.webclient.servlet.WebClientServlet.doPost(WebClientServlet.java:52)
      2 frames
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
      2 frames
    11. WebSphere
      WebAppFilterChain.doFilter
      1. com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1232)
      2. com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:781)
      3. com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:480)
      4. com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
      5. com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
      6. com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
      6 frames
    12. psdi.webclient.system
      HttpCrossSiteScriptingSecurity.doFilter
      1. psdi.webclient.system.filter.HttpCrossSiteScriptingSecurity.doFilter(HttpCrossSiteScriptingSecurity.java:66)
      1 frame
    13. WebSphere
      WebAppFilterChain.doFilter
      1. com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
      2. com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
      2 frames
    14. psdi.webclient.system
      MXCorrelationFilter.doFilter
      1. psdi.webclient.system.filter.MXCorrelationFilter.doFilter(MXCorrelationFilter.java:137)
      1 frame
    15. WebSphere
      WebAppFilterChain.doFilter
      1. com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
      2. com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
      2 frames
    16. psdi.webclient.system
      PerformanceMonitor.doFilter
      1. psdi.webclient.system.filter.PerformanceMonitor.doFilter(PerformanceMonitor.java:126)
      1 frame
    17. WebSphere
      WebAppFilterChain.doFilter
      1. com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
      2. com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
      2 frames
    18. psdi.webclient.system
      HttpXFrameOptionsFilter.doFilter
      1. psdi.webclient.system.filter.HttpXFrameOptionsFilter.doFilter(HttpXFrameOptionsFilter.java:38)
      1 frame
    19. WebSphere
      WebAppFilterChain.doFilter
      1. com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
      2. com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
      2 frames
    20. psdi.webclient.system
      MTContextFilter.doFilter
      1. psdi.webclient.system.filter.MTContextFilter.doFilter(MTContextFilter.java:53)
      1 frame
    21. WebSphere
      WSWebContainer.handleRequest
      1. com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
      2. com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
      3. com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)
      4. com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)
      5. com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
      6. com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:940)
      7. com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
      7 frames
    22. com.ibm.ws
      WCChannelLink.ready
      1. com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
      1 frame
    23. WebSphere
      HttpICLReadCallback.complete
      1. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
      2. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
      3. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
      4. com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
      4 frames
    24. com.ibm.ws
      SSLReadServiceContext$SSLReadCompletedCallback.complete
      1. com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818)
      1 frame
    25. WebSphere
      AioReadCompletionListener.futureCompleted
      1. com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
      1 frame
    26. com.ibm.io
      ResultHandler$2.run
      1. com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
      2. com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
      3. com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
      4. com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
      5. com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
      6. com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
      6 frames
    27. com.ibm.ws
      ThreadPool$Worker.run
      1. com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1881)
      1 frame