java.lang.NullPointerException

Atlassian JIRA | Fidel Castro Armario | 12 months ago
  1. 0

    Hi, Invoking method "com.atlassian.jira.issue.AbstractIssue.getAttachments()" from transition a validator in "Create Issue" transition throws a "java.lang.NullPointerException". Note that the problem appears from a validator, i.e., before execution of post-function "Creates de Issue Originally". I consider this is a bug, since the correct behavior should be to return attachments provided in Create Issue screen, or an empty collection. The exception is uncatched by JIRA and is shown in UI. The stack trace looks like this: 2015-12-10 09:05:06,870 http-nio-8080-exec-8 ERROR admin 545x199x1 1u7yt9q 0:0:0:0:0:0:0:1 /secure/CreateIssueDetails.jspa [c.f.j.p.workflowToolbox.shared.Parser] *** NullPointerException: null java.lang.NullPointerException at com.atlassian.jira.issue.managers.DefaultAttachmentManager.getStoredAttachments(DefaultAttachmentManager.java:191) at com.atlassian.jira.issue.managers.DefaultAttachmentManager.getAttachments(DefaultAttachmentManager.java:185) at com.atlassian.jira.issue.AbstractIssue.getAttachments(AbstractIssue.java:71) at com.fca.jira.plugins.workflowToolbox.shared.AttachmentsHelper.getConsolidatedGeneralizedAttachments(AttachmentsHelper.java:74) at com.fca.jira.plugins.workflowToolbox.shared.AttachmentsHelper.getAllAttachments(AttachmentsHelper.java:34) at com.fca.jira.plugins.workflowToolbox.shared.GeneralizedField.getValue(GeneralizedField.java:2651) ..... The last calls are from JIRA Workflow Toolbox plugin, which I develop. Thanks, Fidel

    Atlassian JIRA | 12 months ago | Fidel Castro Armario
    java.lang.NullPointerException
  2. 0

    Hi, Invoking method "com.atlassian.jira.issue.AbstractIssue.getAttachments()" from transition a validator in "Create Issue" transition throws a "java.lang.NullPointerException". Note that the problem appears from a validator, i.e., before execution of post-function "Creates de Issue Originally". I consider this is a bug, since the correct behavior should be to return attachments provided in Create Issue screen, or an empty collection. The exception is uncatched by JIRA and is shown in UI. The stack trace looks like this: 2015-12-10 09:05:06,870 http-nio-8080-exec-8 ERROR admin 545x199x1 1u7yt9q 0:0:0:0:0:0:0:1 /secure/CreateIssueDetails.jspa [c.f.j.p.workflowToolbox.shared.Parser] *** NullPointerException: null java.lang.NullPointerException at com.atlassian.jira.issue.managers.DefaultAttachmentManager.getStoredAttachments(DefaultAttachmentManager.java:191) at com.atlassian.jira.issue.managers.DefaultAttachmentManager.getAttachments(DefaultAttachmentManager.java:185) at com.atlassian.jira.issue.AbstractIssue.getAttachments(AbstractIssue.java:71) at com.fca.jira.plugins.workflowToolbox.shared.AttachmentsHelper.getConsolidatedGeneralizedAttachments(AttachmentsHelper.java:74) at com.fca.jira.plugins.workflowToolbox.shared.AttachmentsHelper.getAllAttachments(AttachmentsHelper.java:34) at com.fca.jira.plugins.workflowToolbox.shared.GeneralizedField.getValue(GeneralizedField.java:2651) ..... The last calls are from JIRA Workflow Toolbox plugin, which I develop. Thanks, Fidel

    Atlassian JIRA | 12 months ago | Fidel Castro Armario
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

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

    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.issue.managers.DefaultAttachmentManager.getStoredAttachments()
    2. com.atlassian.jira
      AbstractIssue.getAttachments
      1. com.atlassian.jira.issue.managers.DefaultAttachmentManager.getStoredAttachments(DefaultAttachmentManager.java:191)
      2. com.atlassian.jira.issue.managers.DefaultAttachmentManager.getAttachments(DefaultAttachmentManager.java:185)
      3. com.atlassian.jira.issue.AbstractIssue.getAttachments(AbstractIssue.java:71)
      3 frames
    3. com.fca.jira
      GeneralizedField.getValue
      1. com.fca.jira.plugins.workflowToolbox.shared.AttachmentsHelper.getConsolidatedGeneralizedAttachments(AttachmentsHelper.java:74)
      2. com.fca.jira.plugins.workflowToolbox.shared.AttachmentsHelper.getAllAttachments(AttachmentsHelper.java:34)
      3. com.fca.jira.plugins.workflowToolbox.shared.GeneralizedField.getValue(GeneralizedField.java:2651)
      3 frames