java.lang.NullPointerException

Exception #2464711

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4

  • via Unknown by pch,
  • via Unknown by pch,
  • via Unknown by pch,
  • Stack trace

    • java.lang.NullPointerException at org.apache.jackrabbit.core.query.lucene.CachingIndexReader$CacheInitializer$2.collect(CachingIndexReader.java:362)[jackrabbit-core-1.4.9.jar:na] at org.apache.jackrabbit.core.query.lucene.CachingIndexReader$CacheInitializer.collectTermDocs(CachingIndexReader.java:426)[jackrabbit-core-1.4.9.jar:na] at org.apache.jackrabbit.core.query.lucene.CachingIndexReader$CacheInitializer.initializeParents(CachingIndexReader.java:356)[jackrabbit-core-1.4.9.jar:na] at org.apache.jackrabbit.core.query.lucene.CachingIndexReader$CacheInitializer.run(CachingIndexReader.java:306)[jackrabbit-core-1.4.9.jar:na] at org.apache.jackrabbit.core.query.lucene.CachingIndexReader.<init>(CachingIndexReader.java:109)[jackrabbit-core-1.4.9.jar:na] at org.apache.jackrabbit.core.query.lucene.AbstractIndex.getReadOnlyIndexReader(AbstractIndex.java:276)[jackrabbit-core-1.4.9.jar:na] at org.apache.jackrabbit.core.query.lucene.MultiIndex.getIndexReader(MultiIndex.java:731)[jackrabbit-core-1.4.9.jar:na] at org.apache.jackrabbit.core.query.lucene.MultiIndex.<init>(MultiIndex.java:303)[jackrabbit-core-1.4.9.jar:na] at org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:454)[jackrabbit-core-1.4.9.jar:na] at org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:53)[jackrabbit-core-1.4.9.jar:na] at org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:583)[jackrabbit-core-1.4.9.jar:na] at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:265)[jackrabbit-core-1.4.9.jar:na] at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1600)[jackrabbit-core-1.4.9.jar:na] at org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:606)[jackrabbit-core-1.4.9.jar:na] at org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:415)[jackrabbit-core-1.4.9.jar:na] at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:305)[jackrabbit-core-1.4.9.jar:na] at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557)[jackrabbit-core-1.4.9.jar:na] at org.artifactory.jcr.InitJcrRepoStrategy.createJcrRepository(InitJcrRepoStrategy.java:82)[artifactory-core-2.0.5.jar:na] at org.artifactory.jcr.JcrServiceImpl.basicInit(JcrServiceImpl.java:612)[artifactory-core-2.0.5.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.5.0_05] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.5.0_05] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.5.0_05] at java.lang.reflect.Method.invoke(Method.java:585)[na:1.5.0_05] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:297)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:250)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:144)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:350)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1330)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)[spring-beans-2.5.5.jar:2.5.5] at java.security.AccessController.doPrivileged(Native Method)[na:1.5.0_05] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:671)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:610)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:412)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.annotation.InjectionMetadata.injectFields(InjectionMetadata.java:105)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessAfterInstantiation(AutowiredAnnotationBeanPostProcessor.java:240)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:959)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)[spring-beans-2.5.5.jar:2.5.5] at java.security.AccessController.doPrivileged(Native Method)[na:1.5.0_05] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:671)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:610)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:412)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.annotation.InjectionMetadata.injectFields(InjectionMetadata.java:105)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessAfterInstantiation(AutowiredAnnotationBeanPostProcessor.java:240)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:959)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)[spring-beans-2.5.5.jar:2.5.5] at java.security.AccessController.doPrivileged(Native Method)[na:1.5.0_05] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:671)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:610)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:412)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.annotation.InjectionMetadata.injectFields(InjectionMetadata.java:105)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessAfterInstantiation(AutowiredAnnotationBeanPostProcessor.java:240)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:959)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)[spring-beans-2.5.5.jar:2.5.5] at java.security.AccessController.doPrivileged(Native Method)[na:1.5.0_05] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:671)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:610)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:412)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.annotation.InjectionMetadata.injectFields(InjectionMetadata.java:105)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessAfterInstantiation(AutowiredAnnotationBeanPostProcessor.java:240)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:959)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)[spring-beans-2.5.5.jar:2.5.5] at java.security.AccessController.doPrivileged(Native Method)[na:1.5.0_05] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)[spring-beans-2.5.5.jar:2.5.5] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)[spring-context-2.5.5.jar:2.5.5] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)[spring-context-2.5.5.jar:2.5.5] at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:118)[artifactory-core-2.0.5.jar:na] at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:80)[artifactory-core-2.0.5.jar:na] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.5.0_05] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)[na:1.5.0_05] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)[na:1.5.0_05] at java.lang.reflect.Constructor.newInstance(Constructor.java:494)[na:1.5.0_05] at org.artifactory.webapp.servlet.ArtifactoryContextConfigurer.contextInitialized(ArtifactoryContextConfigurer.java:80)[classes/:na] at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1234)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:460)[jetty-6.1.14.jar:6.1.14] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)[jetty-util-6.1.14.jar:6.1.14] at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)[jetty-6.1.14.jar:6.1.14] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)[jetty-util-6.1.14.jar:6.1.14] at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)[jetty-6.1.14.jar:6.1.14] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)[jetty-util-6.1.14.jar:6.1.14] at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.Server.doStart(Server.java:222)[jetty-6.1.14.jar:6.1.14] at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)[jetty-util-6.1.14.jar:6.1.14] at org.artifactory.standalone.main.Main.main(Main.java:72)[artifactory.jar:na]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.