-
Bug
-
Resolution: Won't Fix
-
Medium (View bug fix roadmap)
-
None
-
6.1.4.2
-
None
-
6.01
-
Greenhopper is unavailable since the ugprade task is failed, see following error:
2013-03-21 07:45:07,751 http-apr-8080-exec-15 ERROR vkharisma@awesome.com 465x1147x1 12tabsn 172.21.140.111 /rest/plugins/1.0/com.pyxis.greenhopper.jira-key [sal.core.upgrade.DefaultPluginUpgradeManager] Upgrade error: Unexpected exception caught during plugin upgrade: java.lang.NullPointerException
at com.atlassian.crowd.embedded.impl.IdentifierUtils.toLowerCase(IdentifierUtils.java:42)
at com.atlassian.greenhopper.upgrade.GhUpgradeTask032DaoImpl.processCardColor(GhUpgradeTask032DaoImpl.java:67)
at com.atlassian.greenhopper.upgrade.GhUpgradeTask032DaoImpl.access$100(GhUpgradeTask032DaoImpl.java:15)
at com.atlassian.greenhopper.upgrade.GhUpgradeTask032DaoImpl$2.onRowRead(GhUpgradeTask032DaoImpl.java:55)
at com.atlassian.greenhopper.upgrade.GhUpgradeTask032DaoImpl$2.onRowRead(GhUpgradeTask032DaoImpl.java:51)
at net.java.ao.EntityManager.stream(EntityManager.java:924)
This is due to the upgrade task is not successfully convert mix-case username hence makes it NULL
... // make it lower case - we hope "unassigned" is already ok... String assignee = cardColorAO.getVal(); String lowercasedAssignee = IdentifierUtils.toLowerCase(assignee); if(!assignee.equals(lowercasedAssignee)) { cardColorAO = ao.get(CardColorAO.class, cardColorAO.getId()); logInfo("Changing card color assignee from '%s' to '%s'", assignee, lowercasedAssignee); cardColorAO.setVal(lowercasedAssignee); cardColorAO.save(); ...
There are NULL values in the "60DB71_CARDCOLOR" below:
"#cccb6b" | 335 | 1 | 19 | "assignee" | "" |
"#8d6811" | 336 | 0 | 19 | "assignee" | "" |
Workaround
Form Name |
---|
Thank you for raising this issue. We regret to inform you that due to low severity of the issue and limited capacity, we have no plans to fix this issue in the foreseeable future.
Regards,
JIRA Software team