On 08/01/2013 09:38, Rupert Westenthaler wrote:
On Mon, Jan 7, 2013 at 6:54 PM, <[email protected]> wrote:Caused by: org.apache.lucene.index.IndexNotFoundException: no segments* file found in org.apache.lucene.store.SimpleFSDirectory@C:\Users\aa8752\AppData\Local\Temp\stanbol-evaluation-folder-4253495313362640435.tmp\evaluationclassifierserver\default-topic-model\data\index lockFactory=org.apache.lucene.store.NativeFSLockFactory@fe0ce1: 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)Can you check that the referenced folder does exist at all? It is much more likely that something in the initialization of the tests is broken as Solr having a problem under Windows.
I was able to check this yesterday. Indeed, on Windows only the _b.* files are present. When I re-ran tests under Linux again, two segments* files (segments.gen and segments_d) were also there.
By the way, here are my Windows specs: Apache Maven 3.0.4 (r1232337; 2012-01-17 08:44:56+0000) Maven home: C:\Program Files\Apache\apache-maven-3.0.4\bin\.. Java version: 1.6.0_31, vendor: Sun Microsystems Inc. Java home: C:\Program Files\Java\jdk1.6.0_31\jre Default locale: en_GB, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "x86", family: "windows" Best Alessandro
