-
Bug
-
Resolution: Done
-
Major
-
3.1.2.Final
-
None
-
None
When issuing Repository.login();
javax.jcr.RepositoryException: Error while starting 'test' repository: null at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:613) [modeshape-jcr-3.1.2.Final.jar:3.1.2.Final] at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:570) [modeshape-jcr-3.1.2.Final.jar:3.1.2.Final] at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:149) [modeshape-jcr-3.1.2.Final.jar:3.1.2.Final] at com.sunnylabs.dshell.bootstrap.ApplicationInitializer.importData(ApplicationInitializer.java:93) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_24] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.6.0_24] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.6.0_24] at java.lang.reflect.Method.invoke(Method.java:616) [rt.jar:1.6.0_24] at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:264) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31] at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31] at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31] at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:260) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31] at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:170) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31] at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:51) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31] at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:154) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31] at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:241) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31] at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:229) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31] at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:207) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31] at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:569) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31] at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:559) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31] at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:554) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31] at org.jboss.solder.servlet.event.AbstractServletEventBridge.fireEvent(AbstractServletEventBridge.java:45) [solder-impl-3.1.0.Final.jar:3.1.0.Final] at org.jboss.solder.servlet.event.ServletEventBridgeListener.contextInitialized(ServletEventBridgeListener.java:64) [solder-impl-3.1.0.Final.jar:3.1.0.Final] at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar:] at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.6.0_24] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.6.0_24] at java.lang.Thread.run(Thread.java:679) [rt.jar:1.6.0_24] Caused by: java.lang.NullPointerException at org.modeshape.jcr.RepositoryQueryManager.reindexContent(RepositoryQueryManager.java:358) [modeshape-jcr-3.1.2.Final.jar:3.1.2.Final] at org.modeshape.jcr.RepositoryQueryManager.reindexContent(RepositoryQueryManager.java:236) [modeshape-jcr-3.1.2.Final.jar:3.1.2.Final] at org.modeshape.jcr.RepositoryQueryManager.reindexContent(RepositoryQueryManager.java:188) [modeshape-jcr-3.1.2.Final.jar:3.1.2.Final] at org.modeshape.jcr.JcrRepository$RunningState.postInitialize(JcrRepository.java:1291) [modeshape-jcr-3.1.2.Final.jar:3.1.2.Final] at org.modeshape.jcr.JcrRepository.doStart(JcrRepository.java:358) [modeshape-jcr-3.1.2.Final.jar:3.1.2.Final] at org.modeshape.jcr.JcrRepository.login(JcrRepository.java:611) [modeshape-jcr-3.1.2.Final.jar:3.1.2.Final] ... 30 more