Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 50237 invoked from network); 26 Feb 2010 12:51:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Feb 2010 12:51:40 -0000 Received: (qmail 75398 invoked by uid 500); 26 Feb 2010 12:51:38 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 75370 invoked by uid 500); 26 Feb 2010 12:51:38 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 75360 invoked by uid 99); 26 Feb 2010 12:51:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 12:51:38 +0000 X-ASF-Spam-Status: No, hits=-8.0 required=10.0 tests=RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of David.Dankwerth@ubs.com designates 139.149.1.205 as permitted sender) Received: from [139.149.1.205] (HELO dmz-vsgate2.ldn.ibb.ubs.com) (139.149.1.205) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 12:51:28 +0000 Received: from localhost (localhost [127.0.0.1]) by postfix.amavisd (Postfix) with ESMTP id A1B4B8C5EE for ; Fri, 26 Feb 2010 12:50:51 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ubs.com; h=from :references:in-reply-to:message-id:date:subject :content-transfer-encoding:content-type:mime-version :content-class:received:received:received:received:received :received; s=srsa; t=1267188651; bh=Vr8nqArBM/ej3SICA7wW6B5eYqQi OmXKcAqzfe6P8yk=; b=pZDtXdPxTqnQq2peNDgV9hztlITc00rp0DR3IlE57ZH6 SiPKcSiGWUI4BqZnpldKUXXborWr/bcdgie1666A4euT+bmhMaXcc1xFx2kOrLEq SGGHn5aWPAsjxpCJ8HHJeb1GR2YeYNm2AWlCydTG6zy4DkNkrkr7hHkoKYj543w= Received: from dmz-vsgate2.ldn.ibb.ubs.com ([127.0.0.1]) by localhost (sldn0848xmh.ldn.swissbank.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ze2WfKu58N+o for ; Fri, 26 Feb 2010 12:50:51 +0000 (GMT) Received: by dmz-vsgate2.ldn.ibb.ubs.com (Postfix, from userid 103) id 6FF558C7F4; Fri, 26 Feb 2010 12:50:51 +0000 (GMT) Received: from sldn3028pmh.ldn.swissbank.com (unknown [139.149.96.13]) by dmz-vsgate2.ldn.ibb.ubs.com (Postfix) with ESMTP id 448378C5EE for ; Fri, 26 Feb 2010 12:50:51 +0000 (GMT) Received: from sldn3028pmh.ldn.swissbank.com (localhost [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 39A7E9B for ; Fri, 26 Feb 2010 12:50:51 +0000 (GMT) Received: from nldn2382pap.ubsw.net (nldn2382pap.ldn.swissbank.com [139.149.219.135]) by sldn3028pmh.ldn.swissbank.com (Postfix) with ESMTP id 36E5398 for ; Fri, 26 Feb 2010 12:50:51 +0000 (GMT) Received: from NLDNC106PEX1.ubsw.net ([139.149.82.147]) by nldn2382pap.ubsw.net with Microsoft SMTPSVC(6.0.3790.1830); Fri, 26 Feb 2010 12:50:50 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: Solr Cell RTF Woes Date: Fri, 26 Feb 2010 12:50:50 -0000 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Solr Cell RTF Woes Thread-Index: Acq2Tguk9iWst3xHRrSIfEzl693KkwAk/H2g References: From: To: X-OriginalArrivalTime: 26 Feb 2010 12:50:50.0695 (UTC) FILETIME=[531FFD70:01CAB6E2] X-UBS-Disclaimer: Version $Revision: 1.33 (postfix edition)$ Are you running on a Linux/Unix box that has no X ... Did you try with headless options ? http://java.sun.com/developer/technicalArticles/J2SE/Desktop/headless/ Tika's RTF is using Swing and AWT to analyze the rtf, these in turn will attempt to use Graphics libraries, unless you use headless. -----Original Message----- From: Bill Engle [mailto:billengledev@gmail.com]=20 Sent: 25 February 2010 19:09 To: solr-user@lucene.apache.org Subject: Solr Cell RTF Woes Any RTF file I tried to index in Solr 1.4 throws these errors out. I have no issues with doc, pdf. Any thoughts? Thanks. Apache Tomcat/6.0.18 - Error report

HTTP Status 500 - Could not initialize class java.awt.EventQueue java.lang.NoClassDefFoundError: Could not initialize class java.awt.EventQueue at javax.swing.SwingUtilities.isEventDispatchThread(SwingUtilities.java:133 3) at javax.swing.text.StyleContext.reclaim(StyleContext.java:437) at javax.swing.text.StyleContext.addAttribute(StyleContext.java:294) at javax.swing.text.StyleContext$NamedStyle.addAttribute(StyleContext.java: 1488) at javax.swing.text.StyleContext$NamedStyle.setName(StyleContext.java:1298) at javax.swing.text.StyleContext$NamedStyle.<init>(StyleContext.java: 1245) at javax.swing.text.StyleContext.addStyle(StyleContext.java:90) at javax.swing.text.StyleContext.<init>(StyleContext.java:70) at javax.swing.text.DefaultStyledDocument.<init>(DefaultStyledDocumen t.java:95) at org.apache.tika.parser.rtf.RTFParser.parse(RTFParser.java:42) at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:119) at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:105) at org.apache.solr.handler.extraction.ExtractingDocumentLoader.load(Extract ingDocumentLoader.java:190) at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(Conte ntStreamHandlerBase.java:54) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerB ase.java:131) at org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleReq uest(RequestHandlers.java:233) at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.ja va:338) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.j ava:241) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2 86) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84 5) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process( Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:637)


type Status report

message Could not initialize class java.awt.EventQueue java.lang.NoClassDefFoundError: Could not initialize class java.awt.EventQueue at javax.swing.SwingUtilities.isEventDispatchThread(SwingUtilities.java:133 3) at javax.swing.text.StyleContext.reclaim(StyleContext.java:437) at javax.swing.text.StyleContext.addAttribute(StyleContext.java:294) at javax.swing.text.StyleContext$NamedStyle.addAttribute(StyleContext.java: 1488) at javax.swing.text.StyleContext$NamedStyle.setName(StyleContext.java:1298) at javax.swing.text.StyleContext$NamedStyle.<init>(StyleContext.java: 1245) at javax.swing.text.StyleContext.addStyle(StyleContext.java:90) at javax.swing.text.StyleContext.<init>(StyleContext.java:70) at javax.swing.text.DefaultStyledDocument.<init>(DefaultStyledDocumen t.java:95) at org.apache.tika.parser.rtf.RTFParser.parse(RTFParser.java:42) at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:119) at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:105) at org.apache.solr.handler.extraction.ExtractingDocumentLoader.load(Extract ingDocumentLoader.java:190) at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(Conte ntStreamHandlerBase.java:54) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerB ase.java:131) at org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleReq uest(RequestHandlers.java:233) at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.ja va:338) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.j ava:241) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2 86) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84 5) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process( Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:637)

description The server encountered an internal error (Could not initialize class java.awt.EventQueue java.lang.NoClassDefFoundError: Could not initialize class java.awt.EventQueue at javax.swing.SwingUtilities.isEventDispatchThread(SwingUtilities.java:133 3) at javax.swing.text.StyleContext.reclaim(StyleContext.java:437) at javax.swing.text.StyleContext.addAttribute(StyleContext.java:294) at javax.swing.text.StyleContext$NamedStyle.addAttribute(StyleContext.java: 1488) at javax.swing.text.StyleContext$NamedStyle.setName(StyleContext.java:1298) at javax.swing.text.StyleContext$NamedStyle.<init>(StyleContext.java: 1245) at javax.swing.text.StyleContext.addStyle(StyleContext.java:90) at javax.swing.text.StyleContext.<init>(StyleContext.java:70) at javax.swing.text.DefaultStyledDocument.<init>(DefaultStyledDocumen t.java:95) at org.apache.tika.parser.rtf.RTFParser.parse(RTFParser.java:42) at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:119) at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:105) at org.apache.solr.handler.extraction.ExtractingDocumentLoader.load(Extract ingDocumentLoader.java:190) at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(Conte ntStreamHandlerBase.java:54) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerB ase.java:131) at org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleReq uest(RequestHandlers.java:233) at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.ja va:338) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.j ava:241) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2 86) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84 5) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process( Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:637) ) that prevented it from fulfilling this request.


Apache Tomcat/6.0.18

Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mails are not encrypted and cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. UBS Limited is a company registered in England & Wales under company number 2035362, whose registered office is at 1 Finsbury Avenue, London, EC2M 2PP, United Kingdom. UBS AG (London Branch) is registered as a branch of a foreign company under number BR004507, whose registered office is at 1 Finsbury Avenue, London, EC2M 2PP, United Kingdom. UBS Clearing and Execution Services Limited is a company registered in England & Wales under company number 03123037, whose registered office is at 1 Finsbury Avenue, London, EC2M 2PP, United Kingdom. UBS reserves the right to retain all messages. Messages are protected and accessed only in legally justified cases.