java.lang.NullPointerException

Atlassian JIRA | Ruchi Tandon[Atlassian] | 2 years ago
  1. 0

    h3. Summary Version Picker (multiple versions) field gives nullpointerexception on Issue Navigator as well as on "Edit Default Screen" if context has IssueType as well as Project h3. Environment * Reproduced with JIRA 6.4.7 h3. Steps to Reproduce # Add some versions for the project # Configure a custom field of type Version Picker (multiple versions) # Now, configure the context of the field to use some specific Projects as well as Issue types *instead of Global context*(see screenshot) # Run a re-index of JIRA # Create some issues with this field # Search for these issues on Issue Navigator or try to edit the default value of the custom field. h3. Expected Results The issues show up properly. The default value can be edited without any problem. h3. Actual Results The below exception is thrown in the atlassian-jira.log file: {noformat} 2015-07-14 13:04:12,587 ajp-8009-13 DEBUG aaaaa 784x74040x1 kan0la 192.168.100.36 /rest/issueNav/1/issueTable/stable [com.atlassian.ozymandias.SafePluginPointAccess] Unable to run plugin code because of 'java.lang.NullPointerException - null'. java.lang.NullPointerException at com.atlassian.jira.issue.customfields.impl.VersionCFType.getUnreleasedVersionFirst(VersionCFType.java:288) at com.atlassian.jira.issue.customfields.impl.VersionCFType.getVelocityParameters(VersionCFType.java:273) at com.atlassian.jira.issue.customfields.CustomFieldUtils.buildParams(CustomFieldUtils.java:475) at com.atlassian.jira.plugin.customfield.CustomFieldTypeModuleDescriptorImpl.getViewHtmlByValue(CustomFieldTypeModuleDescriptorImpl.java:345) at com.atlassian.jira.plugin.customfield.CustomFieldTypeModuleDescriptorImpl.access$100(CustomFieldTypeModuleDescriptorImpl.java:46){noformat} h3.Workaround The workaround is to switch to Global context and then re-index the instance.

    Atlassian JIRA | 2 years ago | Ruchi Tandon[Atlassian]
    java.lang.NullPointerException
  2. 0

    h3. Summary Version Picker (multiple versions) field gives nullpointerexception on Issue Navigator as well as on "Edit Default Screen" if context has IssueType as well as Project h3. Environment * Reproduced with JIRA 6.4.7 h3. Steps to Reproduce # Add some versions for the project # Configure a custom field of type Version Picker (multiple versions) # Now, configure the context of the field to use some specific Projects as well as Issue types *instead of Global context*(see screenshot) # Run a re-index of JIRA # Create some issues with this field # Search for these issues on Issue Navigator or try to edit the default value of the custom field. h3. Expected Results The issues show up properly. The default value can be edited without any problem. h3. Actual Results The below exception is thrown in the atlassian-jira.log file: {noformat} 2015-07-14 13:04:12,587 ajp-8009-13 DEBUG aaaaa 784x74040x1 kan0la 192.168.100.36 /rest/issueNav/1/issueTable/stable [com.atlassian.ozymandias.SafePluginPointAccess] Unable to run plugin code because of 'java.lang.NullPointerException - null'. java.lang.NullPointerException at com.atlassian.jira.issue.customfields.impl.VersionCFType.getUnreleasedVersionFirst(VersionCFType.java:288) at com.atlassian.jira.issue.customfields.impl.VersionCFType.getVelocityParameters(VersionCFType.java:273) at com.atlassian.jira.issue.customfields.CustomFieldUtils.buildParams(CustomFieldUtils.java:475) at com.atlassian.jira.plugin.customfield.CustomFieldTypeModuleDescriptorImpl.getViewHtmlByValue(CustomFieldTypeModuleDescriptorImpl.java:345) at com.atlassian.jira.plugin.customfield.CustomFieldTypeModuleDescriptorImpl.access$100(CustomFieldTypeModuleDescriptorImpl.java:46){noformat} h3.Workaround The workaround is to switch to Global context and then re-index the instance.

    Atlassian JIRA | 2 years ago | Ruchi Tandon[Atlassian]
    java.lang.NullPointerException
  3. 0
    samebug tip
    Assign onCickListener to imageView in ExpandableListView inside getChildView.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    The Fragment was destroyed, and getActivity() returned null. Don't destroy the Fragment.
  6. 0

    Android: Saving Map State in Google map

    Stack Overflow | 1 year 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.customfields.impl.VersionCFType.getUnreleasedVersionFirst()
    2. com.atlassian.jira
      CustomFieldTypeModuleDescriptorImpl.getViewHtmlByValue
      1. com.atlassian.jira.issue.customfields.impl.VersionCFType.getUnreleasedVersionFirst(VersionCFType.java:288)
      2. com.atlassian.jira.issue.customfields.impl.VersionCFType.getVelocityParameters(VersionCFType.java:273)
      3. com.atlassian.jira.issue.customfields.CustomFieldUtils.buildParams(CustomFieldUtils.java:475)
      4. com.atlassian.jira.plugin.customfield.CustomFieldTypeModuleDescriptorImpl.getViewHtmlByValue(CustomFieldTypeModuleDescriptorImpl.java:345)
      4 frames