lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Miller <mark.mil...@lucidimagination.com>
Subject Possible problem with SimpleFacetsTest in Solr trunk?
Date Thu, 26 Aug 2010 14:21:24 GMT
 The latest solr tests are spitting out the exception below. Expected?
Looking at the test, it doesn't look expected - though I'm not sure why
the test doesn't fail:

 [junit] SEVERE: Exception during facet
counts:java.lang.NegativeArraySizeException
    [junit]     at
org.apache.solr.request.UnInvertedField.getCounts(UnInvertedField.java:603)
    [junit]     at
org.apache.solr.request.SimpleFacets.getTermCounts(SimpleFacets.java:278)
    [junit]     at
org.apache.solr.request.SimpleFacets.getFacetFieldCounts(SimpleFacets.java:332)
    [junit]     at
org.apache.solr.request.SimpleFacets.getFacetCounts(SimpleFacets.java:188)
    [junit]     at
org.apache.solr.handler.component.FacetComponent.process(FacetComponent.java:72)
    [junit]     at
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:206)
    [junit]     at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
    [junit]     at org.apache.solr.core.SolrCore.execute(SolrCore.java:1323)
    [junit]     at
org.apache.solr.util.TestHarness.queryAndResponse(TestHarness.java:334)
    [junit]     at
org.apache.solr.util.TestHarness.query(TestHarness.java:321)
    [junit]     at
org.apache.solr.util.TestHarness.query(TestHarness.java:307)
    [junit]     at
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:317)
    [junit]     at
org.apache.solr.request.SimpleFacetsTest.doFacetPrefix(SimpleFacetsTest.java:1561)
    [junit]     at
org.apache.solr.request.SimpleFacetsTest.testFacetPrefixMultiValued(SimpleFacetsTest.java:1303)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
    [junit]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [junit]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:597)
    [junit]     at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    [junit]     at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    [junit]     at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    [junit]     at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    [junit]     at
org.junit.rules.TestWatchman$1.evaluate(TestWatchman.java:48)
    [junit]     at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit]     at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit]     at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
    [junit]     at
org.apache.lucene.util.LuceneTestCaseJ4$LuceneTestCaseRunner.runChild(LuceneTestCaseJ4.java:730)
    [junit]     at
org.apache.lucene.util.LuceneTestCaseJ4$LuceneTestCaseRunner.runChild(LuceneTestCaseJ4.java:725)
    [junit]     at
org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    [junit]     at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    [junit]     at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    [junit]     at
org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    [junit]     at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    [junit]     at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit]     at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit]     at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    [junit]     at
junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit]     at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
    [junit] ------------- ---------------- ---------------

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message