-
Bug
-
Resolution: Fixed
-
High
-
4.4.2
-
None
-
4.04
-
A temporary workaround to mitigate risk is detailed below. Please remember to backup your instance prior to making any changes to your system.
There were somehow two issues with the issue key JSP-93880 created on SAC. The issue key could not be accessed through the web interface, the error was understandably about expecting one value and getting multiples:
@400000004e92f2300f44b2f4 2011-10-10 08:24:54,255 http-172.16.3.44-8080-52 ERROR [500ErrorPage.jsp] Exception caught in 5 00 page Passed List had more than one value. @400000004e92f2300f44bac4 java.lang.IllegalArgumentException: Passed List had more than one value. @400000004e92f2300f44beac at org.ofbiz.core.entity.EntityUtil.getOnly(EntityUtil.java:62) @400000004e92f2300f44beac at com.atlassian.jira.issue.managers.DefaultIssueManager.getIssue(De
One of the two issues was a duplicate of JSP-93382. I removed the database entry for that issue, which restored access to the issue through the web interface.
Searching for the deleted issue's description, as in "convert internal directory to LDAP" still returns two issues, JSP-93382 and JSP-93380. The entry in that search for JSP-93380 has the wrong summary, but clicking the link goes to the sole remaining issue. I suspect a full reindex will be required to make that bogus entry go away.
To track this down further, I would propose adding a constraint to disallow duplicate pkey values, as in:
alter table jiraissue add constraint pkey_unique unique (pkey);
Once that's in place, a database error will thrown whenever an attempt is made to create a second record with the same pkey. Looking at previous examples of other problems, I'd expect something like org.postgresql.util.PSQLException in our case.
The issues were not created from support requests, nor were they created from mail messages. I suspect that someone it's possible for two threads to end up with the same new pkey.
This is happening about once a week at this point, so it's not an isolated incident. I don't see anything telling in the logs immediately before the original error, any ideas about tracking this down would be appreciated.
- causes
-
JRASERVER-26133 Project Import fails with error: "Existing issue found for key"
- Closed
- is caused by
-
JRASERVER-25708 JIRA freezes creating issues
- Closed
- is duplicated by
-
JRASERVER-25708 JIRA freezes creating issues
- Closed
-
JRASERVER-25945 Concurrent creates get same issue key
- Closed
- is related to
-
JRASERVER-34376 Issues not committed to database (and cannot be fetched) at time of event dispatch for issues created from post function
- Gathering Impact
- mentioned in
-
Page Loading...
-
Page Loading...
-
Wiki Page Loading...
-
Wiki Page Loading...
-
Wiki Page Loading...