[ 
https://issues.apache.org/jira/browse/STANBOL-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13585752#comment-13585752
 ] 

Oak Ninja commented on STANBOL-957:
-----------------------------------

Yes, it seems to be the same error as STANBOL-811. See below for stacktrace.

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:483)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
        at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
        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:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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)
        ... 35 more
Caused by: java.lang.RuntimeException: 
org.apache.lucene.index.IndexNotFoundException: no segments* file found in 
org.apache.lucene.store.SimpleFSDirectory@C:\Users\Esse\AppData\Local\Temp\stanbol-evaluation-folder-6798239234465224100.tmp\evaluationclassifierserver\default-topic-model\data\index
 lockFactory=org.apache.lucene.store.NativeFSLockFactory@ac8360: 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)
        ... 38 more
Caused by: org.apache.lucene.index.IndexNotFoundException: no segments* file 
found in 
org.apache.lucene.store.SimpleFSDirectory@C:\Users\Esse\AppData\Local\Temp\stanbol-evaluation-folder-6798239234465224100.tmp\evaluationclassifierserver\default-topic-model\data\index
 lockFactory=org.apache.lucene.store.NativeFSLockFactory@ac8360: 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)
        ... 39 more
</error>
    <system-out>10:26:53,219  INFO TopicEngineTest:101 - Topic Enigne Test 
Folder : C:\Dev\Stanbol\enhancement-engines\topic\engine\target\enginetest-files
10:26:53,688  WARN SolrConfig:148 - &lt;indexDefaults&gt; and &lt;mainIndex&gt; 
configuration sections are deprecated (but still work). Please use 
&lt;indexConfig&gt; instead.
10:26:54,295  WARN SolrCore:395 - [test-topic-model] Solr index directory 
&apos;C:\Dev\Stanbol\enhancement-engines\topic\engine\target\enginetest-files\test1\classifierserver\test-topic-model\data\index&apos;
 doesn&apos;t exist. Creating new index...
10:26:55,107  WARN SolrConfig:148 - &lt;indexDefaults&gt; and &lt;mainIndex&gt; 
configuration sections are deprecated (but still work). Please use 
&lt;indexConfig&gt; instead.
10:26:55,387  WARN SolrCore:395 - [test-topic-trainingset] Solr index directory 
&apos;C:\Dev\Stanbol\enhancement-engines\topic\engine\target\enginetest-files\test1\trainingsetserver\test-topic-trainingset\data\index&apos;
 doesn&apos;t exist. Creating new index...
10:27:08,336  INFO TopicClassificationEngine:1070 - Performing evaluation 
3-fold CV iteration 1/3 on classifier test-engine
10:27:08,383  WARN SolrConfig:148 - &lt;indexDefaults&gt; and &lt;mainIndex&gt; 
configuration sections are deprecated (but still work). Please use 
&lt;indexConfig&gt; instead.
10:27:08,632  WARN SolrCore:395 - [default-topic-model] Solr index directory 
&apos;C:\Users\Esse\AppData\Local\Temp\stanbol-evaluation-folder-6798239234465224100.tmp\evaluationclassifierserver\default-topic-model\data\index&apos;
 doesn&apos;t exist. Creating new index...
10:27:09,958 DEBUG TopicClassificationEngine:974 - Sucessfully updated topic 
urn:t/001 in 0.062s
10:27:09,974 DEBUG TopicClassificationEngine:974 - Sucessfully updated topic 
urn:t/002 in 0.016s
10:27:09,990 DEBUG TopicClassificationEngine:974 - Sucessfully updated topic 
urn:t/003 in 0.016s
10:27:10,005 DEBUG TopicClassificationEngine:974 - Sucessfully updated topic 
urn:t/004 in 0.015s
10:27:10,036 DEBUG TopicClassificationEngine:974 - Sucessfully updated topic 
urn:t/005 in 0.031s
10:27:10,052 DEBUG TopicClassificationEngine:974 - Sucessfully updated topic 
urn:t/006 in 0.016s
10:27:10,067 DEBUG TopicClassificationEngine:974 - Sucessfully updated topic 
urn:t/007 in 0.015s
10:27:10,083 DEBUG TopicClassificationEngine:974 - Sucessfully updated topic 
urn:t/008 in 0.016s
10:27:10,098 DEBUG TopicClassificationEngine:974 - Sucessfully updated topic 
urn:t/009 in 0.015s
10:27:10,130 DEBUG TopicClassificationEngine:974 - Sucessfully updated topic 
urn:t/010 in 0.032s
10:27:10,208  INFO TopicClassificationEngine:894 - Sucessfully updated 10 
topics in 0.312s
10:27:10,660  INFO TopicClassificationEngine:1281 - Performance for concept 
&apos;urn:t/001&apos;: precision=0.461538, recall=1.000000, positiveSupport=6, 
negativeSupport=28
10:27:10,863  INFO TopicClassificationEngine:1281 - Performance for concept 
&apos;urn:t/002&apos;: precision=1.000000, recall=0.500000, positiveSupport=6, 
negativeSupport=28
10:27:11,035  INFO TopicClassificationEngine:1281 - Performance for concept 
&apos;urn:t/003&apos;: precision=0.714286, recall=1.000000, positiveSupport=5, 
negativeSupport=29
10:27:11,206  INFO TopicClassificationEngine:1281 - Performance for concept 
&apos;urn:t/004&apos;: precision=0.500000, recall=0.666667, positiveSupport=6, 
negativeSupport=28
10:27:11,362  INFO TopicClassificationEngine:1281 - Performance for concept 
&apos;urn:t/005&apos;: precision=1.000000, recall=1.000000, positiveSupport=7, 
negativeSupport=27
10:27:11,565  INFO TopicClassificationEngine:1281 - Performance for concept 
&apos;urn:t/006&apos;: precision=1.000000, recall=0.500000, positiveSupport=4, 
negativeSupport=30
10:27:11,706  INFO TopicClassificationEngine:1281 - Performance for concept 
&apos;urn:t/007&apos;: precision=0.714286, recall=0.833333, positiveSupport=6, 
negativeSupport=28
10:27:11,861  INFO TopicClassificationEngine:1281 - Performance for concept 
&apos;urn:t/008&apos;: precision=1.000000, recall=0.777778, positiveSupport=9, 
negativeSupport=25
10:27:11,986  INFO TopicClassificationEngine:1281 - Performance for concept 
&apos;urn:t/009&apos;: precision=1.000000, recall=1.000000, positiveSupport=7, 
negativeSupport=27
10:27:12,127  INFO TopicClassificationEngine:1281 - Performance for concept 
&apos;urn:t/010&apos;: precision=0.875000, recall=0.875000, positiveSupport=8, 
negativeSupport=26
10:27:12,345  INFO TopicClassificationEngine:1236 - Finished CV iteration 1/3 
on classifier test-engine in 4.009000s.
10:27:12,345  INFO TopicClassificationEngine:1070 - Performing evaluation 
3-fold CV iteration 2/3 on classifier test-engine
10:27:12,392  WARN SolrConfig:148 - &lt;indexDefaults&gt; and &lt;mainIndex&gt; 
configuration sections are deprecated (but still work). Please use 
&lt;indexConfig&gt; instead.
10:27:12,626 ERROR SolrCore:161 - java.lang.NullPointerException
        at org.apache.solr.core.SolrCore.close(SolrCore.java:712)
        at org.apache.solr.core.SolrCore.&lt;init&gt;(SolrCore.java:599)
        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)
        at 
org.apache.stanbol.enhancer.engine.topic.TopicClassificationEngine.updatePerformanceEstimates(TopicClassificationEngine.java:1043)
        at 
org.apache.stanbol.enhancer.engine.topic.TopicEngineTest.testCrossValidation(TopicEngineTest.java:483)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
        at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
        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:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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)
                
> Cannot build Stanbol (Trunk) on Windows 8 / Maven 3.0.4
> -------------------------------------------------------
>
>                 Key: STANBOL-957
>                 URL: https://issues.apache.org/jira/browse/STANBOL-957
>             Project: Stanbol
>          Issue Type: Bug
>          Components: Build
>         Environment: Windows 8, Maven 3.0.4, 
>            Reporter: Oak Ninja
>            Priority: Blocker
>
> Hi!
> Following the Getting Started guide at 
> http://stanbol.apache.org/docs/trunk/tutorial.html, my build fails with the 
> following error:
> C:\lib\stanbol>mvn clean install
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR]   The project 
> org.apache.stanbol:apache-stanbol-enhancement-engines:0.10
> .1-SNAPSHOT (C:\lib\stanbol\enhancement-engines\pom.xml) has 1 error
> [ERROR]     Non-resolvable parent POM: Could not find artifact 
> org.apache.stanbo
> l:stanbol-parent:pom:4-SNAPSHOT and 'parent.relativePath' points at wrong 
> local
> POM @ line 21, column 11 -> [Help 2]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> swit
> ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please 
> rea
> d the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
> gException
> [ERROR] [Help 2] 
> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo
> delException
> C:\lib\stanbol>
> So i tried resolving it by changing the relative path in the affected pom 
> from 
>   <parent>
>     <groupId>org.apache.stanbol</groupId>
>     <artifactId>stanbol-parent</artifactId>
>     <version>4-SNAPSHOT</version>
>   </parent>
> to
>   <parent>
>     <groupId>org.apache.stanbol</groupId>
>     <artifactId>stanbol-parent</artifactId>
>     <version>4-SNAPSHOT</version>
>       <relativePath>../parent/pom.xml</relativePath>
>   </parent>
> and that resolved the specific error, but the next build attempt were 
> followed by the same error in the following pom and i'm thinking i'm missing 
> something trivial here - all the project's paths cannot be erronous, right?

--
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

Reply via email to