Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 33316 invoked from network); 9 Sep 2010 18:44:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Sep 2010 18:44:56 -0000 Received: (qmail 70436 invoked by uid 500); 9 Sep 2010 18:44:54 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 70335 invoked by uid 500); 9 Sep 2010 18:44:54 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 70323 invoked by uid 99); 9 Sep 2010 18:44:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 18:44:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 18:44:53 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o89IiX8l023410 for ; Thu, 9 Sep 2010 18:44:33 GMT Message-ID: <25543394.100331284057873064.JavaMail.jira@thor> Date: Thu, 9 Sep 2010 14:44:33 -0400 (EDT) From: "Yonik Seeley (JIRA)" To: dev@lucene.apache.org Subject: [jira] Updated: (SOLR-2109) NPE thrown from TermsComponent when index is empty In-Reply-To: <17832956.70271283925752907.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-2109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yonik Seeley updated SOLR-2109: ------------------------------- Summary: NPE thrown from TermsComponent when index is empty (was: NPE throws in /solr/browse page) Component/s: search (was: web gui) > NPE thrown from TermsComponent when index is empty > -------------------------------------------------- > > Key: SOLR-2109 > URL: https://issues.apache.org/jira/browse/SOLR-2109 > Project: Solr > Issue Type: Bug > Components: search > Affects Versions: 4.0 > Environment: java1.6.0_17/windowsxp/tomcat6.0.29 > Reporter: tom liu > Fix For: 4.0 > > > in solradmin, i use solr/browse, but see NPE in console: > 2010-9-8 13:50:25 org.apache.solr.core.SolrCore execute > INFO: [] webapp=/solr path=/terms params={timestamp=1283925025672&limit=10&terms.fl=name&q=solr&wt=velocity&terms.sort=count&v.template=suggest&terms.prefix=solr} status=500 QTime=0 > 2010-9-8 13:53:08 org.apache.solr.common.SolrException log > Fatal: java.io.IOException: Can't find resource '/terms.vm' in classpath or 'D:\apps\solr\solrhome\.\conf/', cwd=D:\apps\apache-tomcat-6.0.29\bin > at org.apache.solr.response.VelocityResponseWriter.getTemplate(VelocityResponseWriter.java:169) > at org.apache.solr.response.VelocityResponseWriter.write(VelocityResponseWriter.java:42) > at org.apache.solr.servlet.SolrDispatchFilter.writeResponse(SolrDispatchFilter.java:324) > at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:253) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) > at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > 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:298) > at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861) > at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579) > at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584) > at java.lang.Thread.run(Thread.java:619) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org