java.lang.NullPointerException

Atlassian JIRA | David Currie [Atlassian] | 4 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

    h3. Summary When upgrading GreenHopper, it executes {{com.atlassian.greenhopper.upgrade.GhUpgradeTask003}} and a NPE is thrown due to the state of customer data. h3. Steps to Reproduce # Restore "dodgy" data. # Enable plugin. h3. Expected Results The plugin enables. h3. Actual Results It does not. The following is displayed in {{atlassian-jira.log}}: {noformat} 2013-08-05 17:45:50,034 http-bio-8090-exec-14 ERROR potatobake 1065x2431x1 b4cq2t 192.168.131.14 /rest/plugins/1.0/com.pyxis.greenhopper.jira-key [sal.core.upgrade.PluginUpgrader] Upgrade failed: null java.lang.NullPointerException at com.atlassian.greenhopper.upgrade.GhUpgradeTask003.movePreferencesToSettings(GhUpgradeTask003.java:90) at com.atlassian.greenhopper.upgrade.GhUpgradat com.atlassian.greenhopper.upgrade.GhUpgradeTask003.movePreferencesToSettingseTask003.doUpgrade(GhUpgradeTask003.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) {noformat} h3. Notes This is caused by a bug in JIRA as tracked in JRA-33557. h3. Workaround Refer to our [JIRA Login Fails With the Message - User exists but has no unique key mapping|https://confluence.atlassian.com/display/JIRAKB/JIRA+Login+Fails+With+the+Message+-+User+exists+but+has+no+unique+key+mapping] KB for the workaround.

    Atlassian JIRA | 4 years ago | David Currie [Atlassian]
    java.lang.NullPointerException
  2. 0

    h3. Summary When upgrading GreenHopper, it executes {{com.atlassian.greenhopper.upgrade.GhUpgradeTask003}} and a NPE is thrown due to the state of customer data. h3. Steps to Reproduce # Restore "dodgy" data. # Enable plugin. h3. Expected Results The plugin enables. h3. Actual Results It does not. The following is displayed in {{atlassian-jira.log}}: {noformat} 2013-08-05 17:45:50,034 http-bio-8090-exec-14 ERROR potatobake 1065x2431x1 b4cq2t 192.168.131.14 /rest/plugins/1.0/com.pyxis.greenhopper.jira-key [sal.core.upgrade.PluginUpgrader] Upgrade failed: null java.lang.NullPointerException at com.atlassian.greenhopper.upgrade.GhUpgradeTask003.movePreferencesToSettings(GhUpgradeTask003.java:90) at com.atlassian.greenhopper.upgrade.GhUpgradat com.atlassian.greenhopper.upgrade.GhUpgradeTask003.movePreferencesToSettingseTask003.doUpgrade(GhUpgradeTask003.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) {noformat} h3. Notes This is caused by a bug in JIRA as tracked in JRA-33557. h3. Workaround Refer to our [JIRA Login Fails With the Message - User exists but has no unique key mapping|https://confluence.atlassian.com/display/JIRAKB/JIRA+Login+Fails+With+the+Message+-+User+exists+but+has+no+unique+key+mapping] KB for the workaround.

    Atlassian JIRA | 4 years ago | David Currie [Atlassian]
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.greenhopper.upgrade.GhUpgradeTask003.movePreferencesToSettings()
    2. com.atlassian.greenhopper
      GhUpgradeTask003.movePreferencesToSettings
      1. com.atlassian.greenhopper.upgrade.GhUpgradeTask003.movePreferencesToSettings(GhUpgradeTask003.java:90)
      1 frame