lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kerry Wilson <kwil...@wmsco.com>
Subject Re: Error posting document
Date Tue, 20 Jun 2006 18:51:03 GMT
It is happening on all documents but just for fun here is one I have used:

<html>
  <head>
    <title>Post to SOLR</title>
  </head>
  <body>
    <form action="http://localhost:8080/solr/update" method="POST">
      <input type="file" name="">
      <input type="submit"/>
    </form>
  </body>
</html>

It happens to be the form I am submitting it from, here is the output:

<result status="1">org.xmlpull.v1.XmlPullParserException: only whitespace content allowed
before start tag and not = (position: START_DOCUMENT seen =... @1:1) 
	at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1519)
	at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395)
	at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
	at org.xmlpull.mxp1.MXParser.nextTag(MXParser.java:1078)
	at org.apache.solr.core.SolrCore.update(SolrCore.java:642)
	at org.apache.solr.servlet.SolrUpdateServlet.doPost(SolrUpdateServlet.java:52)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
	at java.lang.Thread.run(Unknown Source)
</result>


Yonik Seeley wrote:
> On 6/20/06, Kerry Wilson <kwilson@wmsco.com> wrote:
>> I am getting the following error when trying to post any document.
>
> Hi Kerry, could you provide an example document that show this?
>
> -Yonik
>


-- 
Kerry Wilson
Lead Developer
Williams Web
kwilson@wmsco.com | 423.485.4747


Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message