Error Creating Solr Index on Windows Server 2003 64-bit
I am running ColdFusion 9 Standard on Windows Server 2003 64-bit. When I go to create an index, I receive the error:
- Unable to create collection opinions.
Unable to create Solr collection opinions.
An error occurred while creating the collection: org.apache.solr.common.SolrException. Check the Solr logs for more detail.
The solr error log shows the following:
Sep 19, 2010 11:36:47 PM org.apache.solr.core.SolrCore execute
INFO: [core0] webapp=/solr path=/admin/cores params={action=STATUS&core=&wt=javabin&version=1} status=0 QTime=0
Sep 19, 2010 11:36:53 PM org.apache.solr.core.SolrCore execute
INFO: [core0] webapp=/solr path=/admin/cores params={action=STATUS&core=&wt=javabin&version=1} status=0 QTime=0
Sep 19, 2010 11:36:54 PM org.apache.solr.common.SolrException log
SEVERE: java.lang.NullPointerException
at java.io.File.<init>(File.java:222)
at org.apache.solr.handler.admin.CoreAdminHandler.copyTemplate(CoreAdminHandler.java:251)
at org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:108)
at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1333)
at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:303)
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:232)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:285)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:821)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Sep 19, 2010 11:36:54 PM org.apache.solr.core.SolrCore execute
INFO: [core0] webapp=/solr path=/admin/cores params={template=C:\ColdFusion9\solr\multicore/template&instanceDir=C:/ColdFusion9/collections/opinions&name=opinions&action=CREATE&wt=javabin&version=1} status=500 QTime=0
Sep 19, 2010 11:36:54 PM org.apache.solr.common.SolrException log
SEVERE: java.lang.NullPointerException
at java.io.File.<init>(File.java:222)
at org.apache.solr.handler.admin.CoreAdminHandler.copyTemplate(CoreAdminHandler.java:251)
at org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:108)
at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1333)
at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:303)
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:232)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:285)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:821)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Sep 19, 2010 11:36:56 PM org.apache.solr.core.SolrCore execute
INFO: [core0] webapp=/solr path=/admin/cores params={action=STATUS&core=&wt=javabin&version=1} status=0 QTime=0
I've tried restarting both the Solr service and the application server with no change in the error message. I have also made sure that the permissions are set to full control on the directory that the collection is in.
I've also tried this on my development box (9.0.1 on Windows 7 64-bit) without issue. Any ideas? I appreciate any and all help.
