if you see, that - blow away the /repository directory, and the
repository.xml file (both in the drools-repository project).
USually that means that the temporary test copy (whihc is disposable) has
stuffed up.
On 2/14/07, Mark Proctor <mproctor(a)codehaus.org> wrote:
mic,
I'm unable to test any of my work in trunk for drools-repository,
getting the following error. It does this on my local copy I've been
working on, and a fresh checkout.
Mark
ERROR 13-02 17:05:09,890 (RepositoryImpl.java:<init>:258) -Failed to
initialize workspace 'default'
avax.jcr.RepositoryException: already contains: _d: already contains:
_d: already contains: _d
at
org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(
SearchManager.java:526)
at
org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:268)
at
org.apache.jackrabbit.core.RepositoryImpl.getSystemSearchManager(
RepositoryImpl.java:578)
at
org.apache.jackrabbit.core.RepositoryImpl.access$300(RepositoryImpl.java
:90)
at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(
RepositoryImpl.java:1521)
at
org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(
RepositoryImpl.java:558)
at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:255)
at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:498)
at
org.apache.jackrabbit.core.TransientRepository$2.getRepository(
TransientRepository.java:245)
at
org.apache.jackrabbit.core.TransientRepository.startRepository(
TransientRepository.java:265)
at
org.apache.jackrabbit.core.TransientRepository.login(
TransientRepository.java:333)
at
org.apache.jackrabbit.core.TransientRepository.login(
TransientRepository.java:363)
at
org.drools.repository.RepositoryConfigurator.login(
RepositoryConfigurator.java:54)
at
org.drools.repository.RepositorySessionUtil.getRepository(
RepositorySessionUtil.java:28)
at
org.drools.repository.CategoryItemTest.getRepo(CategoryItemTest.java:137)
at
org.drools.repository.CategoryItemTest.testTagItem(CategoryItemTest.java
:17)
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:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:324)
at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java
:210)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(
AbstractDirectoryTestSuite.java:135)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(
AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:324)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(
SurefireBooter.java:225)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java
:747)
aused by: java.lang.IllegalArgumentException: already contains: _d
at
org.apache.jackrabbit.core.query.lucene.IndexInfos.addName(IndexInfos.java
:170)
at
org.apache.jackrabbit.core.query.lucene.MultiIndex.deleteIndex(
MultiIndex.java:717)
at
org.apache.jackrabbit.core.query.lucene.MultiIndex$DeleteIndex.execute(
MultiIndex.java:1554)
at
org.apache.jackrabbit.core.query.lucene.MultiIndex.executeAndLog(
MultiIndex.java:810)
at
org.apache.jackrabbit.core.query.lucene.MultiIndex.flush(MultiIndex.java
:741)
at
org.apache.jackrabbit.core.query.lucene.Recovery.run(Recovery.java:160)
at
org.apache.jackrabbit.core.query.lucene.Recovery.run(Recovery.java:85)
at
org.apache.jackrabbit.core.query.lucene.MultiIndex.<init>(MultiIndex.java
:269)
at
org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(
SearchIndex.java:229)
at
org.apache.jackrabbit.core.query.AbstractQueryHandler.init(
AbstractQueryHandler.java:44)
at
org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(
SearchManager.java:524)
... 41 more
ava.lang.IllegalArgumentException: already contains: _d
at
org.apache.jackrabbit.core.query.lucene.IndexInfos.addName(IndexInfos.java
:170)
at
org.apache.jackrabbit.core.query.lucene.MultiIndex.deleteIndex(
MultiIndex.java:717)
at
org.apache.jackrabbit.core.query.lucene.MultiIndex$DeleteIndex.execute(
MultiIndex.java:1554)
at
org.apache.jackrabbit.core.query.lucene.MultiIndex.executeAndLog(
MultiIndex.java:810)
at
org.apache.jackrabbit.core.query.lucene.MultiIndex.flush(MultiIndex.java
:741)
at
org.apache.jackrabbit.core.query.lucene.Recovery.run(Recovery.java:160)
at
org.apache.jackrabbit.core.query.lucene.Recovery.run(Recovery.java:85)
at
org.apache.jackrabbit.core.query.lucene.MultiIndex.<init>(MultiIndex.java
:269)
at
org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(
SearchIndex.java:229)
at
org.apache.jackrabbit.core.query.AbstractQueryHandler.init(
AbstractQueryHandler.java:44)
at
org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(
SearchManager.java:524)
at
org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:268)
at
org.apache.jackrabbit.core.RepositoryImpl.getSystemSearchManager(
RepositoryImpl.java:578)
at
org.apache.jackrabbit.core.RepositoryImpl.access$300(RepositoryImpl.java
:90)
at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(
RepositoryImpl.java:1521)
at
org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(
RepositoryImpl.java:558)
at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:255)
at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:498)
at
org.apache.jackrabbit.core.TransientRepository$2.getRepository(
TransientRepository.java:245)
at
org.apache.jackrabbit.core.TransientRepository.startRepository(
TransientRepository.java:265)
at
org.apache.jackrabbit.core.TransientRepository.login(
TransientRepository.java:333)
at
org.apache.jackrabbit.core.TransientRepository.login(
TransientRepository.java:363)
at
org.drools.repository.RepositoryConfigurator.login(
RepositoryConfigurator.java:54)
at
org.drools.repository.RepositorySessionUtil.getRepository(
RepositorySessionUtil.java:28)
at
org.drools.repository.CategoryItemTest.getRepo(CategoryItemTest.java:137)
at
org.drools.repository.CategoryItemTest.testTagItem(CategoryItemTest.java
:17)
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:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:324)
at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java
:210)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(
AbstractDirectoryTestSuite.java:135)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(
AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:324)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(
SurefireBooter.java:225)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java
:747)
_______________________________________________
rules-dev mailing list
rules-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev