java.lang.NullPointerException

Atlassian JIRA | Brandon Turner | 3 years ago
  1. 0

    *UPDATE*: This bug happens when synchronizing against a GitHub repo that has at least one issue that is not a pull request and has comments. When synchronizing with GitHub, if a GitHub issue does not have an associated pull request (such as [this one|https://github.com/rapid7-cookbooks/nexpose/issues/5]), a NPE is thrown and the synchronization fails. {code} java.lang.NullPointerException at com.atlassian.jira.plugins.dvcs.sync.IssueCommentPayloadEventProcessor.process(IssueCommentPayloadEventProcessor.java:42) at com.atlassian.jira.plugins.dvcs.spi.github.service.impl.GitHubEventProcessorAggregatorImpl.process(GitHubEventProcessorAggregatorImpl.java:104) at com.atlassian.jira.plugins.dvcs.service.GitHubEventServiceImpl$1.doInTransaction(GitHubEventServiceImpl.java:120) at com.atlassian.jira.plugins.dvcs.service.GitHubEventServiceImpl$1.doInTransaction(GitHubEventServiceImpl.java:99) at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34) <+2> at java.lang.reflect.Method.invoke(Unknown Source) {code} See https://bitbucket.org/atlassian/jira-bitbucket-connector/src/6d8ef9f36aa620f3f0f8faf44652b6654aaacc52/jira-dvcs-connector-plugin/src/main/java/com/atlassian/jira/plugins/dvcs/sync/IssueCommentPayloadEventProcessor.java?at=jira-dvcs-connector-parent-2.0.2#cl-42

    Atlassian JIRA | 3 years ago | Brandon Turner
    java.lang.NullPointerException
  2. 0

    *UPDATE*: This bug happens when synchronizing against a GitHub repo that has at least one issue that is not a pull request and has comments. When synchronizing with GitHub, if a GitHub issue does not have an associated pull request (such as [this one|https://github.com/rapid7-cookbooks/nexpose/issues/5]), a NPE is thrown and the synchronization fails. {code} java.lang.NullPointerException at com.atlassian.jira.plugins.dvcs.sync.IssueCommentPayloadEventProcessor.process(IssueCommentPayloadEventProcessor.java:42) at com.atlassian.jira.plugins.dvcs.spi.github.service.impl.GitHubEventProcessorAggregatorImpl.process(GitHubEventProcessorAggregatorImpl.java:104) at com.atlassian.jira.plugins.dvcs.service.GitHubEventServiceImpl$1.doInTransaction(GitHubEventServiceImpl.java:120) at com.atlassian.jira.plugins.dvcs.service.GitHubEventServiceImpl$1.doInTransaction(GitHubEventServiceImpl.java:99) at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34) <+2> at java.lang.reflect.Method.invoke(Unknown Source) {code} See https://bitbucket.org/atlassian/jira-bitbucket-connector/src/6d8ef9f36aa620f3f0f8faf44652b6654aaacc52/jira-dvcs-connector-plugin/src/main/java/com/atlassian/jira/plugins/dvcs/sync/IssueCommentPayloadEventProcessor.java?at=jira-dvcs-connector-parent-2.0.2#cl-42

    Atlassian JIRA | 3 years ago | Brandon Turner
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.NullPointerException

      No message provided

      at com.atlassian.jira.plugins.dvcs.sync.IssueCommentPayloadEventProcessor.process()
    2. com.atlassian.jira
      GitHubEventServiceImpl$1.doInTransaction
      1. com.atlassian.jira.plugins.dvcs.sync.IssueCommentPayloadEventProcessor.process(IssueCommentPayloadEventProcessor.java:42)
      2. com.atlassian.jira.plugins.dvcs.spi.github.service.impl.GitHubEventProcessorAggregatorImpl.process(GitHubEventProcessorAggregatorImpl.java:104)
      3. com.atlassian.jira.plugins.dvcs.service.GitHubEventServiceImpl$1.doInTransaction(GitHubEventServiceImpl.java:120)
      4. com.atlassian.jira.plugins.dvcs.service.GitHubEventServiceImpl$1.doInTransaction(GitHubEventServiceImpl.java:99)
      4 frames
    3. com.atlassian.sal
      HostContextTransactionTemplate$1.doInTransaction
      1. com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25)
      1 frame