java.io.IOException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '{' (code 123) in prolog; expected '<' at [row,col {unknown-source}]: [1,1]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by cp2587
, 1 year ago
com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '{' (code 123) in prolog; expected '<' at [row,col {unknown-source}]: [1,1]
via Stack Overflow by Siddharth Trikha
, 1 year ago
com.ctc.wstx.exc.WstxParsingException: Undeclared namespace prefix "prefix" at [row,col {unknown-source}]: [1,9]
via Google Groups by husayt via StackOverflow, 1 month ago
com.ctc.wstx.exc.WstxParsingException: (was java.io.FileNotFoundException) /base/data/home/apps/..../template-schema.dtd (No such file or directory) at [row,col {unknown-source}]: [1,55]
via GitHub by jmaynier
, 1 year ago
com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '{' (code 123) in prolog; expected '<' at [row,col {unknown-source}]: [1,1]
via GitHub by mikaelstaldal
, 2 months ago
com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'f' (code 102) in prolog; expected '<'
via GitHub by pavellishin
, 1 year ago
javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1] Message: Content is not allowed in prolog.
java.io.IOException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '{' (code 123) in prolog; expected '<' at [row,col {unknown-source}]: [1,1]
at com.fasterxml.jackson.dataformat.xml.util.StaxUtil.throwXmlAsIOException(StaxUtil.java:24)
at com.fasterxml.jackson.dataformat.xml.XmlFactory._createParser(XmlFactory.java:583)
at org.xbib.elasticsearch.common.xcontent.xml.XmlXContent.createParser(XmlXContent.java:109)
at org.xbib.elasticsearch.common.xcontent.xml.XmlXContent.createParser(XmlXContent.java:115)
at org.xbib.elasticsearch.rest.xml.XmlFilter$XmlRequest.content(XmlFilter.java:96)
at org.elasticsearch.rest.action.search.RestSearchAction.parseSearchRequest(RestSearchAction.java:88)
at org.elasticsearch.rest.action.search.RestSearchAction.handleRequest(RestSearchAction.java:73)
at org.elasticsearch.rest.RestController.executeHandler(RestController.java:159)
at org.elasticsearch.rest.RestController$RestHandlerFilter.process(RestController.java:234)

Users with the same issue

Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.