-
Bug
-
Resolution: Done
-
Blocker
-
3.5.0.Final
-
None
My Code is working fine with 3.2 and 3.1 but it is not working with 3.5
javax.jcr.RepositoryException: Error while starting 'KRepository' repository: null at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:607 at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:607) ) at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:576 at org.modeshape.jcr.JcrRepository.login() JcrRepository.java:576) at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:155 at org.modeshape.jcr.JcrRepository.login() JcrRepository.java:155) at UserJUnitTest.printNode(UserJUnitTest.java:83 at UserJUnitTest.printNode() UserJUnitTest.java:83) at UserJUnitTest.hello(UserJUnitTest.java:72 at UserJUnitTest.hello() UserJUnitTest.java:72) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 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:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30) at org.junit.runners.ParentRunner.run(ParentRunner.java:300) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:520) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1060) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:911) Caused by: java.lang.NullPointerException at org.modeshape.jcr.cache.RepositoryCache.refreshRepositoryMetadata(RepositoryCache.java:443) at org.modeshape.jcr.cache.RepositoryCache.<init>(RepositoryCache.java:229) at org.modeshape.jcr.JcrRepository$RunningState.<init>(JcrRepository.java:1063) at org.modeshape.jcr.JcrRepository$RunningState.<init>(JcrRepository.java:928) at org.modeshape.jcr.JcrRepository.doStart(JcrRepository.java:361) at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:605) ... 29 more