lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rafalovitch <arafa...@gmail.com>
Subject Re: Trying to understand error
Date Thu, 18 Dec 2014 17:01:37 GMT
Your description and your stacktrace seem to mismatch.

You say you upload a plan text file, yet the stacktrace is for sending
a zip file to an Extract (Tika) update handler. And the error is most
probably for some meta fields that Tika generates in the process.

Regards,
   Alex.
----
Sign up for my Solr resources newsletter at http://www.solr-start.com/


On 18 December 2014 at 02:40, Joel Stobart <joel@stobart.co.uk> wrote:
> When I try to upload a solr item by the index:
>
> <site>/solr/#/collection1/documents
>
> When I upload a simple text file via the interface:
>
> Response:
>
> {
>   "error": {
>     "msg": "java.lang.NoSuchFieldError: LFH_SIG",
>     "trace": "java.lang.RuntimeException: java.lang.NoSuchFieldError:
> LFH_SIG\n\tat org.apache.solr.servlet.SolrDispatchFilter.sendError(SolrDispatchFilter.java:790)\n\tat
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:439)\n\tat
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)\n\tat
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\n\tat
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)\n\tat
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)\n\tat
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)\n\tat
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)\n\tat
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)\n\tat
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)\n\tat
> org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193)\n\tat
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)\n\tat
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)\n\tat
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\n\tat
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\n\tat
> java.lang.Thread.run(Thread.java:745)\nCaused by:
> java.lang.NoSuchFieldError: LFH_SIG\n\tat
> org.apache.commons.compress.archivers.zip.ZipArchiveInputStream.<clinit>(ZipArchiveInputStream.java:766)\n\tat
> org.apache.commons.compress.archivers.ArchiveStreamFactory.createArchiveInputStream(ArchiveStreamFactory.java:280)\n\tat
> org.apache.tika.parser.pkg.ZipContainerDetector.detectArchiveFormat(ZipContainerDetector.java:113)\n\tat
> org.apache.tika.parser.pkg.ZipContainerDetector.detect(ZipContainerDetector.java:77)\n\tat
> org.apache.tika.detect.CompositeDetector.detect(CompositeDetector.java:61)\n\tat
> org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:113)\n\tat
> org.apache.solr.handler.extraction.ExtractingDocumentLoader.load(ExtractingDocumentLoader.java:219)\n\tat
> org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:74)\n\tat
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)\n\tat
> org.apache.solr.core.SolrCore.execute(SolrCore.java:1952)\n\tat
> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:774)\n\tat
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418)\n\t...
> 15 more\n",
>     "code": 500
>   }
> }
> I've tried new version of common compress - to no avail - any ideas
> kind regards,Joel

Mime
View raw message