java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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.
    via by David Currie [Atlassian],
  • 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.
    via by David Currie [Atlassian],
    • java.lang.NullPointerException at com.atlassian.greenhopper.upgrade.GhUpgradeTask003.movePreferencesToSettings(GhUpgradeTask003.java:90)
    No Bugmate found.