You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2010/09/09 20:44:33 UTC
[jira] Updated: (SOLR-2109) NPE thrown from TermsComponent when
index is empty
[ 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