Hi Jake,
It appears the tests are broken. I just merged in your fork, the
only thing I've added is a pom.xml, which isn't functional to match
the ant task yet. I receive error this with every test case. Is
there some initialization that I need to perform before running the
"ant test" target?
[junit] 17:37:21,225 INFO SolandraCoreContainer:72 - Loading Solandra
core:
[junit] 17:37:21,236 ERROR SolrCore:139 -
java.lang.NullPointerException
[junit] at org.apache.cassandra.db.Table.<init>(Table.java:241)
[junit] at org.apache.cassandra.db.Table.open(Table.java:113)
[junit] at
org.apache.cassandra.service.StorageService.getNaturalEndpoints(StorageService.java:
1414)
[junit] at
org.apache.cassandra.service.StorageService.getNaturalEndpoints(StorageService.java:
1402)
[junit] at
org.apache.cassandra.service.StorageService.findSuitableEndpoint(StorageService.java:
1448)
[junit] at
org.apache.cassandra.service.StorageProxy.weakRead(StorageProxy.java:
244)
[junit] at
org.apache.cassandra.service.StorageProxy.readProtocol(StorageProxy.java:
223)
[junit] at lucandra.CassandraUtils.robustRead(CassandraUtils.java:
390)
[junit] at
lucandra.LucandraTermEnum.loadTerms(LucandraTermEnum.java:255)
[junit] at lucandra.LucandraTermEnum.skipTo(LucandraTermEnum.java:
83)
[junit] at lucandra.IndexReader.docFreq(IndexReader.java:166)
[junit] at
org.apache.solr.search.SolrIndexReader.docFreq(SolrIndexReader.java:
308)
[junit] at
org.apache.lucene.search.IndexSearcher.docFreq(IndexSearcher.java:147)
[junit] at
org.apache.lucene.search.Similarity.idfExplain(Similarity.java:765)
[junit] at org.apache.lucene.search.TermQuery
$TermWeight.<init>(TermQuery.java:46)
[junit] at
org.apache.lucene.search.TermQuery.createWeight(TermQuery.java:146)
[junit] at org.apache.lucene.search.Query.weight(Query.java:99)
[junit] at
org.apache.lucene.search.Searcher.createWeight(Searcher.java:230)
[junit] at org.apache.lucene.search.Searcher.search(Searcher.java:
171)
[junit] at
org.apache.solr.search.SolrIndexSearcher.getDocListNC(SolrIndexSearcher.java:
988)
[junit] at
org.apache.solr.search.SolrIndexSearcher.getDocListC(SolrIndexSearcher.java:
884)
[junit] at
org.apache.solr.search.SolrIndexSearcher.search(SolrIndexSearcher.java:
341)
[junit] at
org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:
182)
[junit] at
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:
195)
[junit] at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:
131)
[junit] at org.apache.solr.core.SolrCore.execute(SolrCore.java:
1316)
[junit] at
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:
338)
[junit] at
solandra.SolandraDispatchFilter.execute(SolandraDispatchFilter.java:
169)
[junit] at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:
241)
[junit] at
solandra.SolandraDispatchFilter.doFilter(SolandraDispatchFilter.java:
133)
[junit] at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1084)
[junit] at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
360)
[junit] at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
181)
[junit] at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
722)
[junit] at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
139)
[junit] at org.mortbay.jetty.Server.handle(Server.java:324)
[junit] at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
505)
[junit] at org.mortbay.jetty.HttpConnection
$RequestHandler.headerComplete(HttpConnection.java:828)
[junit] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:
514)
[junit] at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
[junit] at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
[junit] at org.mortbay.jetty.bio.SocketConnector
$Connection.run(SocketConnector.java:228)
[junit] at org.mortbay.thread.BoundedThreadPool
$PoolThread.run(BoundedThreadPool.java:450)
On Nov 14, 2:16 pm, Jake Luciani <
jak...@gmail.com> wrote:
> Fixed.
>
> On Sat, Nov 13, 2010 at 6:21 PM, Jake Luciani <
jak...@gmail.com> wrote:
> > Ah. I probably need to update this. Thx.
>