java.lang.RuntimeException

java.lang.NullPointerException 2013-03-05 10:18:41.767856500 at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:50) 2013-03-05 10:18:41.767857500 at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:66) 2013-03-05 10:18:41.767857500 at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:32) 2013-03-05 10:18:41.767861500 at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:60) 2013-03-05 10:18:41.767865500 at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:152) 2013-03-05 10:18:41.767866500 at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:71) 2013-03-05 10:18:41.767866500 at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.addDirectory(DirectoryManagerGeneric.java:141) 2013-03-05 10:18:41.767868500 at com.atlassian.crowd.embedded.core.CrowdDirectoryServiceImpl.addDirectory(CrowdDirectoryServiceImpl.java:57) 2013-03-05 10:18:41.767869500 at com.atlassian.confluence.user.crowd.ConfluenceCrowdDirectoryService.addDirectory(ConfluenceCrowdDirectoryService.java:39) 2013-03-05 10:18:41.767869500 at com.atlassian.confluence.user.migration.CrowdRepositoryConfigurationMigrator.migrate(CrowdRepositoryConfigurationMigrator.java:87) 2013-03-05 10:18:41.767871500 at com.atlassian.confluence.user.migration.AtlassianUserMigrator.migrate(AtlassianUserMigrator.java:55) 2013-03-05 10:18:41.767871500 at com.atlassian.confluence.upgrade.upgradetask.AtlassianUserToEmbeddedCrowdConfigurationUpgradeTask.doUpgrade(AtlassianUserToEmbeddedCrowdConfigurationUpgradeTask.java:72) 2013-03-05 10:18:41.767872500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-03-05 10:18:41.767874500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2013-03-05 10:18:41.767875500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2013-03-05 10:18:41.767876500 at java.lang.reflect.Method.invoke(Method.java:597) 2013-03-05 10:18:41.767876500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) 2013-03-05 10:18:41.767877500 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) 2013-03-05 10:18:41.767878500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) 2013-03-05 10:18:41.767879500 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) 2013-03-05 10:18:41.767884500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2013-03-05 10:18:41.767885500 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) 2013-03-05 10:18:41.767885500 at $Proxy86.doUpgrade(Unknown Source) 2013-03-05 10:18:41.767886500 at com.atlassian.studio.confluence.startup.ConfluenceInitialData.setupEmbeddedCrowdDetails(ConfluenceInitialData.java:262) 2013-03-05 10:18:41.767889500 at com.atlassian.studio.confluence.startup.ConfluenceInitialData.start(ConfluenceInitialData.java:109) 2013-03-05 10:18:41.767889500 at com.atlassian.startup.StartupExtensionRunner.run(StartupExtensionRunner.java:41) 2013-03-05 10:18:41.767890500 at com.atlassian.startup.StartupExtensionServlet.init(StartupExtensionServlet.java:22) 2013-03-05 10:18:41.767890500 at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173) 2013-03-05 10:18:41.767892500 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993) 2013-03-05 10:18:41.767892500 at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4420) 2013-03-05 10:18:41.767893500 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4733) 2013-03-05 10:18:41.767893500 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) 2013-03-05 10:18:41.767894500 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) 2013-03-05 10:18:41.767895500 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) 2013-03-05 10:18:41.767895500 at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675) 2013-03-05 10:18:41.767896500 at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601) 2013-03-05 10:18:41.767897500 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) 2013-03-05 10:18:41.767899500 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315) 2013-03-05 10:18:41.767900500 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) 2013-03-05 10:18:41.767900500 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) 2013-03-05 10:18:41.767901500 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061) 2013-03-05 10:18:41.767902500 at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) 2013-03-05 10:18:41.767902500 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) 2013-03-05 10:18:41.767903500 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) 2013-03-05 10:18:41.767903500 at org.apache.catalina.core.StandardService.start(StandardService.java:525) 2013-03-05 10:18:41.767904500 at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) 2013-03-05 10:18:41.767905500 at org.apache.catalina.startup.Catalina.start(Catalina.java:595) 2013-03-05 10:18:41.767906500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-03-05 10:18:41.767906500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2013-03-05 10:18:41.767907500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2013-03-05 10:18:41.767909500 at java.lang.reflect.Method.invoke(Method.java:597) 2013-03-05 10:18:41.767909500 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) 2013-03-05 10:18:41.767910500 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) 2013-03-05 10:18:41.767910500 Caused by: java.lang.NullPointerException 2013-03-05 10:18:41.767910500 at com.atlassian.crowd.directory.loader.DbCachingRemoteDirectoryInstanceLoaderImpl.getNewDirectory(DbCachingRemoteDirectoryInstanceLoaderImpl.java:97) 2013-03-05 10:18:41.767912500 at com.atlassian.crowd.directory.loader.CachingDirectoryInstanceLoader.getDirectory(CachingDirectoryInstanceLoader.java:41) 2013-03-05 10:18:41.767913500 at com.atlassian.crowd.directory.loader.DelegatingDirectoryInstanceLoader.getDirectory(DelegatingDirectoryInstanceLoader.java:73) 2013-03-05 10:18:41.767913500 at com.atlassian.confluence.user.crowd.DirectoryCreationListener.isJiraJdbcRemoteDirectory(DirectoryCreationListener.java:68) 2013-03-05 10:18:41.767917500 at com.atlassian.confluence.user.crowd.DirectoryCreationListener.OnDirectoryCreated(DirectoryCreationListener.java:53)

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 web65

  • via Unknown by Robert Massaioli,
  • via Unknown by Robert Massaioli,
  • via Unknown by Franck Wolff,
  • Stack trace

    • java.lang.RuntimeException: java.lang.NullPointerException 2013-03-05 10:18:41.767856500 at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:50) 2013-03-05 10:18:41.767857500 at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:66) 2013-03-05 10:18:41.767857500 at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:32) 2013-03-05 10:18:41.767861500 at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:60) 2013-03-05 10:18:41.767865500 at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:152) 2013-03-05 10:18:41.767866500 at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:71) 2013-03-05 10:18:41.767866500 at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.addDirectory(DirectoryManagerGeneric.java:141) 2013-03-05 10:18:41.767868500 at com.atlassian.crowd.embedded.core.CrowdDirectoryServiceImpl.addDirectory(CrowdDirectoryServiceImpl.java:57) 2013-03-05 10:18:41.767869500 at com.atlassian.confluence.user.crowd.ConfluenceCrowdDirectoryService.addDirectory(ConfluenceCrowdDirectoryService.java:39) 2013-03-05 10:18:41.767869500 at com.atlassian.confluence.user.migration.CrowdRepositoryConfigurationMigrator.migrate(CrowdRepositoryConfigurationMigrator.java:87) 2013-03-05 10:18:41.767871500 at com.atlassian.confluence.user.migration.AtlassianUserMigrator.migrate(AtlassianUserMigrator.java:55) 2013-03-05 10:18:41.767871500 at com.atlassian.confluence.upgrade.upgradetask.AtlassianUserToEmbeddedCrowdConfigurationUpgradeTask.doUpgrade(AtlassianUserToEmbeddedCrowdConfigurationUpgradeTask.java:72) 2013-03-05 10:18:41.767872500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-03-05 10:18:41.767874500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2013-03-05 10:18:41.767875500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2013-03-05 10:18:41.767876500 at java.lang.reflect.Method.invoke(Method.java:597) 2013-03-05 10:18:41.767876500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) 2013-03-05 10:18:41.767877500 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) 2013-03-05 10:18:41.767878500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) 2013-03-05 10:18:41.767879500 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) 2013-03-05 10:18:41.767884500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2013-03-05 10:18:41.767885500 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) 2013-03-05 10:18:41.767885500 at $Proxy86.doUpgrade(Unknown Source) 2013-03-05 10:18:41.767886500 at com.atlassian.studio.confluence.startup.ConfluenceInitialData.setupEmbeddedCrowdDetails(ConfluenceInitialData.java:262) 2013-03-05 10:18:41.767889500 at com.atlassian.studio.confluence.startup.ConfluenceInitialData.start(ConfluenceInitialData.java:109) 2013-03-05 10:18:41.767889500 at com.atlassian.startup.StartupExtensionRunner.run(StartupExtensionRunner.java:41) 2013-03-05 10:18:41.767890500 at com.atlassian.startup.StartupExtensionServlet.init(StartupExtensionServlet.java:22) 2013-03-05 10:18:41.767890500 at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173) 2013-03-05 10:18:41.767892500 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993) 2013-03-05 10:18:41.767892500 at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4420) 2013-03-05 10:18:41.767893500 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4733) 2013-03-05 10:18:41.767893500 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) 2013-03-05 10:18:41.767894500 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) 2013-03-05 10:18:41.767895500 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) 2013-03-05 10:18:41.767895500 at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675) 2013-03-05 10:18:41.767896500 at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601) 2013-03-05 10:18:41.767897500 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) 2013-03-05 10:18:41.767899500 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315) 2013-03-05 10:18:41.767900500 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) 2013-03-05 10:18:41.767900500 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) 2013-03-05 10:18:41.767901500 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061) 2013-03-05 10:18:41.767902500 at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) 2013-03-05 10:18:41.767902500 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) 2013-03-05 10:18:41.767903500 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) 2013-03-05 10:18:41.767903500 at org.apache.catalina.core.StandardService.start(StandardService.java:525) 2013-03-05 10:18:41.767904500 at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) 2013-03-05 10:18:41.767905500 at org.apache.catalina.startup.Catalina.start(Catalina.java:595) 2013-03-05 10:18:41.767906500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-03-05 10:18:41.767906500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2013-03-05 10:18:41.767907500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2013-03-05 10:18:41.767909500 at java.lang.reflect.Method.invoke(Method.java:597) 2013-03-05 10:18:41.767909500 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) 2013-03-05 10:18:41.767910500 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) 2013-03-05 10:18:41.767910500 Caused by: java.lang.NullPointerException 2013-03-05 10:18:41.767910500 at com.atlassian.crowd.directory.loader.DbCachingRemoteDirectoryInstanceLoaderImpl.getNewDirectory(DbCachingRemoteDirectoryInstanceLoaderImpl.java:97) 2013-03-05 10:18:41.767912500 at com.atlassian.crowd.directory.loader.CachingDirectoryInstanceLoader.getDirectory(CachingDirectoryInstanceLoader.java:41) 2013-03-05 10:18:41.767913500 at com.atlassian.crowd.directory.loader.DelegatingDirectoryInstanceLoader.getDirectory(DelegatingDirectoryInstanceLoader.java:73) 2013-03-05 10:18:41.767913500 at com.atlassian.confluence.user.crowd.DirectoryCreationListener.isJiraJdbcRemoteDirectory(DirectoryCreationListener.java:68) 2013-03-05 10:18:41.767917500 at com.atlassian.confluence.user.crowd.DirectoryCreationListener.OnDirectoryCreated(DirectoryCreationListener.java:53) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    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.