java.lang.RuntimeException: java.lang.NullPointerException

Atlassian JIRA | Sherali Karimov [Atlassian] | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I am not sure if this is significant or not but we are getting quite a few of these on SAC: {code} @40000000503e95942da036c4 java.lang.RuntimeException: java.lang.NullPointerException @40000000503e95942da03aac at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:50) @40000000503e95942da03e94 at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60) @40000000503e95942da04664 at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28) @40000000503e95942da0a03c at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56) @40000000503e95942da0a424 at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:151) @40000000503e95942da0a80c at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:70) @40000000503e95942da0b7ac at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source) @40000000503e95942da0bb94 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @40000000503e95942da0bf7c at java.lang.reflect.Method.invoke(Method.java:597) @40000000503e95942da0c364 at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181) @40000000503e95942da0cf1c at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211) @40000000503e95942da0d6ec at $Proxy10.publish(Unknown Source) @40000000503e95942da0d6ec at com.atlassian.multitenant.event.DefaultPeeringEventPublisherManager.publish(DefaultPeeringEventPublisherManager.java:17) @40000000503e95942da0e68c at com.atlassian.multitenant.event.PeeringEventPublisher.publish(PeeringEventPublisher.java:23) @40000000503e95942da0fdfc at com.atlassian.jira.event.issue.IssueEventDispatcher.dispatchEvent(IssueEventDispatcher.java:184) @40000000503e95942da101e4 at com.atlassian.jira.event.issue.IssueEventDispatcher.dispatchEvent(IssueEventDispatcher.java:134) @40000000503e95942da105cc at com.atlassian.jira.workflow.function.event.FireIssueEventFunction.execute(FireIssueEventFunction.java:57) @40000000503e95942da1156c at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1050) @40000000503e95942da11954 at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1446) @40000000503e95942da11d3c at com.opensymphony.workflow.AbstractWorkflow.doAction(AbstractWorkflow.java:564) @40000000503e95942da12124 at com.atlassian.jira.workflow.OSWorkflowManager.doWorkflowActionInsideTxn(OSWorkflowManager.java:894) @40000000503e95942da1250c at com.atlassian.jira.workflow.OSWorkflowManager.doWorkflowAction(OSWorkflowManager.java:850) @40000000503e95942da130c4 at com.atlassian.jira.workflow.WorkflowTransitionUtilImpl.progress(WorkflowTransitionUtilImpl.java:270) @40000000503e95942da134ac at com.atlassian.jira.toolkit.listener.AutoTransitionListener.workflowEvent(AutoTransitionListener.java:145) @40000000503e95942da15004 at com.atlassian.jira.event.issue.IssueEventListenerHandler$IssueEventInvoker.invoke(IssueEventListenerHandler.java:49) @40000000503e95942da153ec at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60) @40000000503e95942da157d4 at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28) @40000000503e95942da16774 at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56) @40000000503e95942da16b5c at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:151) @40000000503e95942da16f44 at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:70) @40000000503e95942da17afc at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source) @40000000503e95942da17ee4 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @40000000503e95942da182cc at java.lang.reflect.Method.invoke(Method.java:597) @40000000503e95942da182cc at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181) @40000000503e95942da19e24 at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211) @40000000503e95942da1a5f4 at $Proxy10.publish(Unknown Source) @40000000503e95942da1a5f4 at com.atlassian.multitenant.event.DefaultPeeringEventPublisherManager.publish(DefaultPeeringEventPublisherManager.java:17) @40000000503e95942da1d4d4 at com.atlassian.multitenant.event.PeeringEventPublisher.publish(PeeringEventPublisher.java:23) @40000000503e95942da1d8bc at com.atlassian.jira.event.issue.IssueEventDispatcher.dispatchEvent(IssueEventDispatcher.java:184) @40000000503e95942da1dca4 at com.atlassian.jira.event.issue.IssueEventDispatcher.dispatchEvent(IssueEventDispatcher.java:122) @40000000503e95942da1e85c at com.atlassian.jira.issue.comments.DefaultCommentManager.dispatchEvent(DefaultCommentManager.java:352) @40000000503e95942da1f02c at com.atlassian.jira.issue.comments.DefaultCommentManager.create(DefaultCommentManager.java:216) @40000000503e95942da1f414 at com.atlassian.jira.issue.comments.DefaultCommentManager.create(DefaultCommentManager.java:166) @40000000503e95942da1f7fc at com.atlassian.jira.issue.comments.DefaultCommentManager.create(DefaultCommentManager.java:160) @40000000503e95942da20f6c at com.atlassian.jira.issue.comments.DefaultCommentManager.create(DefaultCommentManager.java:154) @40000000503e95942da21354 at sun.reflect.GeneratedMethodAccessor799.invoke(Unknown Source) @40000000503e95942da2173c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @40000000503e95942da21b24 at java.lang.reflect.Method.invoke(Method.java:597) @40000000503e95942da226dc at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181) @40000000503e95942da22ac4 at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211) @40000000503e95942da23294 at $Proxy144.create(Unknown Source) @40000000503e95942da23294 at sun.reflect.GeneratedMethodAccessor799.invoke(Unknown Source) @40000000503e95942da23e4c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @40000000503e95942da24234 at java.lang.reflect.Method.invoke(Method.java:597) @40000000503e95942da2461c at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) @40000000503e95942da26174 at $Proxy144.create(Unknown Source) @40000000503e95942da26174 at sun.reflect.GeneratedMethodAccessor799.invoke(Unknown Source) @40000000503e95942da2655c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @40000000503e95942da26944 at java.lang.reflect.Method.invoke(Method.java:597) @40000000503e95942da274fc at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) @40000000503e95942da278e4 at $Proxy144.create(Unknown Source) @40000000503e95942da27ccc at com.atlassian.support.mail.handlers.CreateCommentOrProxyHandler.addComment(CreateCommentOrProxyHandler.java:276) @40000000503e95942da280b4 at com.atlassian.support.mail.handlers.CreateCommentOrProxyHandler.addComment(CreateCommentOrProxyHandler.java:267) @40000000503e95942da28c6c at com.atlassian.support.mail.handlers.CreateCommentOrProxyHandler.addCommentAndAttachments(CreateCommentOrProxyHandler.java:136) @40000000503e95942da2943c at com.atlassian.support.mail.handlers.CreateCommentOrProxyHandler.handleMessage(CreateCommentOrProxyHandler.java:96) @40000000503e95942da29824 at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:361) @40000000503e95942da2af94 at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:264) @40000000503e95942da2b764 at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:349) @40000000503e95942da2bb4c at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:250) @40000000503e95942da2e25c at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) @40000000503e95942da2e644 at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) @40000000503e95942da2ea2c at org.quartz.core.JobRunShell.run(JobRunShell.java:195) @40000000503e95942da2ea2c at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) @40000000503e95942da2f9cc at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) @40000000503e95942da2fdb4 Caused by: java.lang.NullPointerException @40000000503e95942da2fdb4 at com.atlassian.jira.mention.MentionServiceImpl.sendCommentMentions(MentionServiceImpl.java:53) @40000000503e95942da3019c at com.atlassian.jira.event.listeners.mention.MentionEventListener.onIssueEvent(MentionEventListener.java:48) @40000000503e95942da320dc at sun.reflect.GeneratedMethodAccessor809.invoke(Unknown Source) @40000000503e95942da320dc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @40000000503e95942da324c4 at java.lang.reflect.Method.invoke(Method.java:597) @40000000503e95942da328ac at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) @40000000503e95942da3384c ... 73 more {code}

    Atlassian JIRA | 5 years ago | Sherali Karimov [Atlassian]
    java.lang.RuntimeException: java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.jira.mention.MentionServiceImpl.sendCommentMentions()
    2. com.atlassian.jira
      MentionEventListener.onIssueEvent
      1. com.atlassian.jira.mention.MentionServiceImpl.sendCommentMentions(MentionServiceImpl.java:53)
      2. com.atlassian.jira.event.listeners.mention.MentionEventListener.onIssueEvent(MentionEventListener.java:48)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor809.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    4. com.atlassian.event
      EventPublisherImpl.publish
      1. com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36)
      2. com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60)
      3. com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28)
      4. com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56)
      5. com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:151)
      6. com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:70)
      6 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    6. com.atlassian.multitenant
      MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke
      1. com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181)
      2. com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211)
      2 frames
    7. Unknown
      $Proxy10.publish
      1. $Proxy10.publish(Unknown Source)
      1 frame
    8. com.atlassian.multitenant
      PeeringEventPublisher.publish
      1. com.atlassian.multitenant.event.DefaultPeeringEventPublisherManager.publish(DefaultPeeringEventPublisherManager.java:17)
      2. com.atlassian.multitenant.event.PeeringEventPublisher.publish(PeeringEventPublisher.java:23)
      2 frames
    9. com.atlassian.jira
      FireIssueEventFunction.execute
      1. com.atlassian.jira.event.issue.IssueEventDispatcher.dispatchEvent(IssueEventDispatcher.java:184)
      2. com.atlassian.jira.event.issue.IssueEventDispatcher.dispatchEvent(IssueEventDispatcher.java:134)
      3. com.atlassian.jira.workflow.function.event.FireIssueEventFunction.execute(FireIssueEventFunction.java:57)
      3 frames
    10. com.opensymphony.workflow
      AbstractWorkflow.doAction
      1. com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1050)
      2. com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1446)
      3. com.opensymphony.workflow.AbstractWorkflow.doAction(AbstractWorkflow.java:564)
      3 frames
    11. com.atlassian.jira
      IssueEventListenerHandler$IssueEventInvoker.invoke
      1. com.atlassian.jira.workflow.OSWorkflowManager.doWorkflowActionInsideTxn(OSWorkflowManager.java:894)
      2. com.atlassian.jira.workflow.OSWorkflowManager.doWorkflowAction(OSWorkflowManager.java:850)
      3. com.atlassian.jira.workflow.WorkflowTransitionUtilImpl.progress(WorkflowTransitionUtilImpl.java:270)
      4. com.atlassian.jira.toolkit.listener.AutoTransitionListener.workflowEvent(AutoTransitionListener.java:145)
      5. com.atlassian.jira.event.issue.IssueEventListenerHandler$IssueEventInvoker.invoke(IssueEventListenerHandler.java:49)
      5 frames
    12. com.atlassian.event
      EventPublisherImpl.publish
      1. com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60)
      2. com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28)
      3. com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56)
      4. com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:151)
      5. com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:70)
      5 frames
    13. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    14. com.atlassian.multitenant
      MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke
      1. com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181)
      2. com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211)
      2 frames
    15. Unknown
      $Proxy10.publish
      1. $Proxy10.publish(Unknown Source)
      1 frame
    16. com.atlassian.multitenant
      PeeringEventPublisher.publish
      1. com.atlassian.multitenant.event.DefaultPeeringEventPublisherManager.publish(DefaultPeeringEventPublisherManager.java:17)
      2. com.atlassian.multitenant.event.PeeringEventPublisher.publish(PeeringEventPublisher.java:23)
      2 frames
    17. com.atlassian.jira
      DefaultCommentManager.create
      1. com.atlassian.jira.event.issue.IssueEventDispatcher.dispatchEvent(IssueEventDispatcher.java:184)
      2. com.atlassian.jira.event.issue.IssueEventDispatcher.dispatchEvent(IssueEventDispatcher.java:122)
      3. com.atlassian.jira.issue.comments.DefaultCommentManager.dispatchEvent(DefaultCommentManager.java:352)
      4. com.atlassian.jira.issue.comments.DefaultCommentManager.create(DefaultCommentManager.java:216)
      5. com.atlassian.jira.issue.comments.DefaultCommentManager.create(DefaultCommentManager.java:166)
      6. com.atlassian.jira.issue.comments.DefaultCommentManager.create(DefaultCommentManager.java:160)
      7. com.atlassian.jira.issue.comments.DefaultCommentManager.create(DefaultCommentManager.java:154)
      7 frames
    18. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor799.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    19. com.atlassian.multitenant
      MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke
      1. com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181)
      2. com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211)
      2 frames
    20. Unknown
      $Proxy144.create
      1. $Proxy144.create(Unknown Source)
      1 frame
    21. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor799.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    22. com.atlassian.plugin
      DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke
      1. com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
      1 frame
    23. Unknown
      $Proxy144.create
      1. $Proxy144.create(Unknown Source)
      1 frame
    24. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor799.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    25. com.atlassian.plugin
      HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke
      1. com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)
      1 frame
    26. Unknown
      $Proxy144.create
      1. $Proxy144.create(Unknown Source)
      1 frame
    27. com.atlassian.support
      CreateCommentOrProxyHandler.handleMessage
      1. com.atlassian.support.mail.handlers.CreateCommentOrProxyHandler.addComment(CreateCommentOrProxyHandler.java:276)
      2. com.atlassian.support.mail.handlers.CreateCommentOrProxyHandler.addComment(CreateCommentOrProxyHandler.java:267)
      3. com.atlassian.support.mail.handlers.CreateCommentOrProxyHandler.addCommentAndAttachments(CreateCommentOrProxyHandler.java:136)
      4. com.atlassian.support.mail.handlers.CreateCommentOrProxyHandler.handleMessage(CreateCommentOrProxyHandler.java:96)
      4 frames
    28. com.atlassian.jira
      ServiceRunner.execute
      1. com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:361)
      2. com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:264)
      3. com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:349)
      4. com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:250)
      5. com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61)
      6. com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47)
      6 frames
    29. quartz
      JobRunShell.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:195)
      1 frame
    30. com.atlassian.multitenant
      MultiTenantThreadPool$MultiTenantRunnable.run
      1. com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72)
      1 frame
    31. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      1 frame