You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Andriy Nikolov (JIRA)" <ji...@apache.org> on 2012/11/21 09:23:58 UTC

[jira] [Created] (STANBOL-811) TopicEngineTest fails: complains about missing index in the temp folder

Andriy Nikolov created STANBOL-811:
--------------------------------------

             Summary: TopicEngineTest fails: complains about missing index in the temp folder
                 Key: STANBOL-811
                 URL: https://issues.apache.org/jira/browse/STANBOL-811
             Project: Stanbol
          Issue Type: Bug
          Components: Engine - Topic
         Environment: Windows, JDK 1.7
            Reporter: Andriy Nikolov


TopicEngineTest fails with the following stack trace (copied from the TopicEngineTest.txt):

testCrossValidation(org.apache.stanbol.enhancer.engine.topic.TopicEngineTest)  Time elapsed: 27.362 sec  <<< ERROR!
org.apache.stanbol.enhancer.topic.ClassifierException: org.apache.solr.common.SolrException
	at org.apache.stanbol.enhancer.engine.topic.TopicClassificationEngine.performCVFold(TopicClassificationEngine.java:1087)
	at org.apache.stanbol.enhancer.engine.topic.TopicClassificationEngine.updatePerformanceEstimates(TopicClassificationEngine.java:1043)
	at org.apache.stanbol.enhancer.engine.topic.TopicEngineTest.testCrossValidation(TopicEngineTest.java:446)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:234)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Caused by: org.apache.solr.common.SolrException
	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:600)
	at org.apache.solr.core.CoreContainer.create(CoreContainer.java:480)
	at org.apache.stanbol.enhancer.topic.EmbeddedSolrHelper.makeEmbeddedSolrServer(EmbeddedSolrHelper.java:84)
	at org.apache.stanbol.enhancer.engine.topic.TopicClassificationEngine.performCVFold(TopicClassificationEngine.java:1082)
	... 33 more
Caused by: java.lang.RuntimeException: org.apache.lucene.index.IndexNotFoundException: no segments* file found in org.apache.lucene.store.MMapDirectory@C:\Users\Andriy.Nikolov\AppData\Local\Temp\stanbol-evaluation-folder-1699208339030076392.tmp\evaluationclassifierserver\default-topic-model\data\index lockFactory=org.apache.lucene.store.NativeFSLockFactory@517c51fe: files: [_b.fdt, _b.fdx, _b.frq, _b.prx, _b.tis, _b.tvd, _b.tvf, _b.tvx]
	at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1104)
	at org.apache.solr.core.SolrCore.<init>(SolrCore.java:585)
	... 36 more
Caused by: org.apache.lucene.index.IndexNotFoundException: no segments* file found in org.apache.lucene.store.MMapDirectory@C:\Users\Andriy.Nikolov\AppData\Local\Temp\stanbol-evaluation-folder-1699208339030076392.tmp\evaluationclassifierserver\default-topic-model\data\index lockFactory=org.apache.lucene.store.NativeFSLockFactory@517c51fe: files: [_b.fdt, _b.fdx, _b.frq, _b.prx, _b.tis, _b.tvd, _b.tvf, _b.tvx]
	at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:667)
	at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:72)
	at org.apache.lucene.index.IndexReader.open(IndexReader.java:375)
	at org.apache.solr.core.StandardIndexReaderFactory.newReader(StandardIndexReaderFactory.java:38)
	at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1093)
	... 37 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira