lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Heba Farouk" <Heba.Far...@bibalex.org>
Subject RE: a problem with SimplePostTool
Date Wed, 02 Jan 2008 14:20:50 GMT
Actually it was not a problem with the xml, I ran all the xmls using one
thread and I found no problem at all.
But when I changed the solr version (I was using nightly) with version
1.2, all the threads run safely.

-----Original Message-----
From: Ryan McKinley [mailto:ryantxu@gmail.com] 
Sent: Sunday, December 30, 2007 7:48 PM
To: solr-user@lucene.apache.org
Subject: Re: a problem with SimplePostTool

check the character at row 6, column 44 of the xml you are sending... it

is probably some invalid character.

 > SimplePostTool: FATAL: Solr returned an error: ParseError at
 > [row,col]:[6,44]

ryan


Heba Farouk wrote:
> Hello there,
> 
>  
> 
> I got this problem while running multiple instances of a solr indexer,
> only one instance succeeds but the others fail with the following
> exception, can u help me in solving it?
> 
>  
> 
> SimplePostTool: FATAL: Solr returned an error: ParseError at
> [row,col]:[6,44] Me
> 
> ssage: An invalid XML character (Unicode: 0x1f) was found in the
element
> content
> 
>  of the document.  javax.xml.stream.XMLStreamException: ParseError at
> [row,col]:
> 
> [6,44] Message: An invalid XML character (Unicode: 0x1f) was found in
> the elemen
> 
> t content of the document.   at
> com.sun.org.apache.xerces.internal.impl.XMLStrea
> 
> mReaderImpl.next(XMLStreamReaderImpl.java:588)   at
> org.apache.solr.handler.XmlU
> 
> pdateRequestHandler.readDoc(XmlUpdateRequestHandler.java:318)   at
> org.apache.so
> 
>
lr.handler.XmlUpdateRequestHandler.processUpdate(XmlUpdateRequestHandler
> .java:19
> 
> 5)   at
>
org.apache.solr.handler.XmlUpdateRequestHandler.handleRequestBody(XmlUpd
> 
> ateRequestHandler.java:123)   at
> org.apache.solr.handler.RequestHandlerBase.hand
> 
> leRequest(RequestHandlerBase.java:78)   at
> org.apache.solr.core.SolrCore.execute
> 
> (SolrCore.java:807)   at
> org.apache.solr.servlet.SolrDispatchFilter.execute(Solr
> 
> DispatchFilter.java:206)   at
> org.apache.solr.servlet.SolrDispatchFilter.doFilte
> 
> r(SolrDispatchFilter.java:174)   at
> org.apache.catalina.core.ApplicationFilterCh
> 
> ain.internalDoFilter(ApplicationFilterChain.java:215)   at
> org.apache.catalina.c
> 
> ore.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> at org.ap
> 
>
ache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java
> :210)
> 
> at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.jav
> 
> a:174)   at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.
> 
> java:127)   at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportVal
> 
> ve.java:117)   at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> 
> gineValve.java:108)   at
> org.apache.catalina.connector.CoyoteAdapter.service(Coy
> 
> oteAdapter.java:151)   at
> org.apache.coyote.http11.Http11Processor.process(Http1
> 
> 1Processor.java:870)   at
> org.apache.coyote.http11.Http11BaseProtocol$Http11Conn
> 
> ectionHandler.processConnection(Http11BaseProtocol.java:665)   at
> org.apache.tom
> 
> cat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
> at org.ap
> 
>
ache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWork
> erThread
> 
> .java:81)   at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Thr
> 
> eadPool.java:685)   at java.lang.Thread.run(Thread.java:619)
> 
>  
> 
>  
> 
> Thanks in advance
> 
>  
> 
> Heba Farouk
> 
> 


Mime
View raw message