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)

Atlassian JIRA | Robert Massaioli | 4 years ago
  1. 0

    In OnDemand I saw the following stacktrace when starting up fireball 202: {noformat} 2013-03-05 10:18:36.413469500 2013-03-05 10:18:36,406 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Plugin system started in 0:03:47.662 2013-03-05 10:18:40.022166500 2013-03-05 10:18:40,019 INFO [main] [confluence.upgrade.upgradetask.EmbeddedCrowdInitUpgradeTask] doUpgrade Created new crowd application object. 2013-03-05 10:18:40.092999500 2013-03-05 10:18:40,075 INFO [main] [confluence.upgrade.upgradetask.AtlassianUserToEmbeddedCrowdConfigurationUpgradeTask] doUpgrade Starting upgrade of Atlassian-User to Embedded Crowd configuration 2013-03-05 10:18:40.146273500 2013-03-05 10:18:40,136 INFO [main] [confluence.user.migration.CrowdRepositoryConfigurationMigrator] migrate Migrating remote Crowd user management: Crowd Repository 2013-03-05 10:18:41.764330500 2013-03-05 10:18:41,759 ERROR [main] [atlassian.event.internal.AsynchronousAbleEventDispatcher] run There was an exception thrown trying to dispatch event 'com.atlassian.crowd.event.directory.DirectoryCreatedEvent@1020db19' from the invoker 'SingleParameterMethodListenerInvoker{method=public void com.atlassian.confluence.user.crowd.DirectoryCreationListener.OnDirectoryCreated(com.atlassian.crowd.event.directory.DirectoryCreatedEvent), listener=com.atlassian.confluence.user.crowd.DirectoryCreationListener@14418b}'. 2013-03-05 10:18:41.767855500 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) 2013-03-05 10:18:41.767918500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-03-05 10:18:41.767918500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2013-03-05 10:18:41.767921500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2013-03-05 10:18:41.767922500 at java.lang.reflect.Method.invoke(Method.java:597) 2013-03-05 10:18:41.767922500 at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) 2013-03-05 10:18:41.767923500 ... 52 more {noformat} At first I thought it was a Confluence problem but the error seems to occur in crowd code. The null pointer exception in the DbCachingRemoteDirectoryInstanceLoaderImpl must be caused by 'directoryMonitorManager' being null since the parent function makes calls on 'directory' and does not NPE. Process of elimination really. So that must meant that directoryMonitorManager was injected as a null pointer. Passing this on to you now.

    Atlassian JIRA | 4 years ago | Robert Massaioli
    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)
  2. 0

    In OnDemand I saw the following stacktrace when starting up fireball 202: {noformat} 2013-03-05 10:18:36.413469500 2013-03-05 10:18:36,406 INFO [main] [atlassian.plugin.manager.DefaultPluginManager] init Plugin system started in 0:03:47.662 2013-03-05 10:18:40.022166500 2013-03-05 10:18:40,019 INFO [main] [confluence.upgrade.upgradetask.EmbeddedCrowdInitUpgradeTask] doUpgrade Created new crowd application object. 2013-03-05 10:18:40.092999500 2013-03-05 10:18:40,075 INFO [main] [confluence.upgrade.upgradetask.AtlassianUserToEmbeddedCrowdConfigurationUpgradeTask] doUpgrade Starting upgrade of Atlassian-User to Embedded Crowd configuration 2013-03-05 10:18:40.146273500 2013-03-05 10:18:40,136 INFO [main] [confluence.user.migration.CrowdRepositoryConfigurationMigrator] migrate Migrating remote Crowd user management: Crowd Repository 2013-03-05 10:18:41.764330500 2013-03-05 10:18:41,759 ERROR [main] [atlassian.event.internal.AsynchronousAbleEventDispatcher] run There was an exception thrown trying to dispatch event 'com.atlassian.crowd.event.directory.DirectoryCreatedEvent@1020db19' from the invoker 'SingleParameterMethodListenerInvoker{method=public void com.atlassian.confluence.user.crowd.DirectoryCreationListener.OnDirectoryCreated(com.atlassian.crowd.event.directory.DirectoryCreatedEvent), listener=com.atlassian.confluence.user.crowd.DirectoryCreationListener@14418b}'. 2013-03-05 10:18:41.767855500 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) 2013-03-05 10:18:41.767918500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2013-03-05 10:18:41.767918500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2013-03-05 10:18:41.767921500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2013-03-05 10:18:41.767922500 at java.lang.reflect.Method.invoke(Method.java:597) 2013-03-05 10:18:41.767922500 at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) 2013-03-05 10:18:41.767923500 ... 52 more {noformat} At first I thought it was a Confluence problem but the error seems to occur in crowd code. The null pointer exception in the DbCachingRemoteDirectoryInstanceLoaderImpl must be caused by 'directoryMonitorManager' being null since the parent function makes calls on 'directory' and does not NPE. Process of elimination really. So that must meant that directoryMonitorManager was injected as a null pointer. Passing this on to you now.

    Atlassian JIRA | 4 years ago | Robert Massaioli
    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)
  3. 0

    [graniteds@yahoo] Granite Deserialization Error:

    Google Groups | 7 years ago | Franck Wolff
    java.lang.RuntimeException: Could not read externalizable object: mx.gob.sefintab.multasnf.model.Multa@fd39adc1 at org.granite.messaging.amf.io.AMF3Deserializer.readAMF3Object(AMF3Deserializer.ja\va:305) at org.granite.messaging.amf.io.AMF3Deserializer.readObject(AMF3Deserializer.java:9\7) at org.granite.messaging.amf.io.AMF3Deserializer.readObject(AMF3Deserializer.java:6\9) at org.granite.testing.SerializationManager.serializeDeserialize(SerializationManag\er.java:18) at mx.gob.sefintab.multasnf.controllers.test.bases.BaseControladorTest.serializeDes\erialize(BaseControladorTest.java:34) at mx.gob.sefintab.multasnf.controllers.test.TestControladorAdministrarMultas.testO\btenerDatosMulta(TestControladorAdministrarMultas.java:60)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JADE - Unable to find proto buffer class

    Stack Overflow | 3 years ago | McKibet
    java.lang.RuntimeException: Unable to find proto buffer class at com.google.protobuf.GeneratedMessageLite$SerializedForm.readResolve(GeneratedMessageLite.java:775) ERROR: Agent myagent died without being properly terminated !!! State was 2
  6. 0

    Android app won't start launcher

    Stack Overflow | 3 years ago | user2809321
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.taekwondobuddy/com.example.taekwondobuddy.Menu}: java.lang.ClassNotFoundException: com.example.taekwondobuddy.Menu in loader dalvik.system.PathClassLoader[/data/app/com.example.taekwondobuddy-2.apk] 10-16 18:03:57.653: E/AndroidRuntime(362): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2585) 10-16 18:03:57.653: E/AndroidRuntime(362): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679) 10-16 18:03:57.653: E/AndroidRuntime(362): at android.app.ActivityThread.access$2300(ActivityThread.java:125) 10-16 18:03:57.653: E/AndroidRuntime(362): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033) 10-16 18:03:57.653: E/AndroidRuntime(362): at android.os.Handler.dispatchMessage(Handler.java:99) 10-16 18:03:57.653: E/AndroidRuntime(362): at android.os.Looper.loop(Looper.java:123)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Java RT
      NativeMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2 frames