You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erik Hatcher (JIRA)" <ji...@apache.org> on 2010/09/09 20:05:35 UTC

[jira] Issue Comment Edited: (SOLR-2109) NPE throws in /solr/browse page

    [ https://issues.apache.org/jira/browse/SOLR-2109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907700#action_12907700 ] 

Erik Hatcher edited comment on SOLR-2109 at 9/9/10 2:04 PM:
------------------------------------------------------------

On trunk with an empty index (rm -Rf solr/data before starting Solr) this causes the NPE: http://localhost:8983/solr/terms?terms.fl=name&terms.prefix=anything

      was (Author: ehatcher):
    On trunk with an empty ended (rm -Rf solr/data before starting Solr) this causes the NPE: http://localhost:8983/solr/terms?terms.fl=name&terms.prefix=anything
  
> NPE throws in /solr/browse page
> -------------------------------
>
>                 Key: SOLR-2109
>                 URL: https://issues.apache.org/jira/browse/SOLR-2109
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>    Affects Versions: 4.0
>         Environment: java1.6.0_17/windowsxp/tomcat6.0.29
>            Reporter: tom liu
>
> 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