Details
-
Bug
-
Resolution: Duplicate
-
Medium
-
None
-
1.6.0Beta2
-
None
-
None
Description
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
Attachments
Issue Links
- duplicates
-
CRUC-624 XML Parsing Error from Crucible Review Service using allReviews filter
- Closed