com.atlassian.jira.issue.attachment.AttachmentRuntimeException: Issue with id 24827 does not exist! 2015-05-04 12:02:44.195118500 at com.atlassian.jira.issue.util.ConsumeAllAttachmentKeys.getIssueKeysFromIds(ConsumeAllAttachmentKeys.java:52) 2015-05-04 12:02:44.195123500 at com.atlassian.jira.issue.util.ConsumeAllAttachmentKeys.getAttachmentsWithKeys(ConsumeAllAttachmentKeys.java:30)

Atlassian JIRA | Earl McCutcheon [Atlassian] | 2 years ago
  1. 0

    h3.Summary: Error received when there are attachments referring to a non-existing issue id h3. Steps to Reproduce - Remove an issue with attachments from the database directly such that there are attachments referring to non-existing issue ids. - Click the create backup button in backup manager (Exact Cause Unknown At this time, looks like a timeout occurring while bulk deleting issues and attachment fails to delete) h3. Expected Results Creates a backup h3. Actual Results When trying to create backup the following error occurs in the UI: {code} Woah! Something went wrong! Unexpected error during export has occurred {code} Following appears in the logs: {code} 2015-05-04 12:02:44.059967500 2015-05-04 12:02:44,059 Long running task: OnDemandBackup INFO sysadmin 722x38028x3 o66qft 131.103.28.240,165.254.226.130 /rest/obm/1.0/runbackup [ondemand.backupmanager.service.JiraBackupService] Finished saving the Active Objects Backup 2015-05-04 12:02:44.195079500 2015-05-04 12:02:44,193 Long running task: OnDemandBackup ERROR sysadmin 722x38028x3 o66qft 131.103.28.240,165.254.226.130 /rest/obm/1.0/runbackup [ondemand.backupmanager.rest.OnDemandBackupTask] Failure during task executing. Task's service: com.atlassian.ondemand.backupmanager.service.JiraBackupService@139690b 2015-05-04 12:02:44.195083500 com.atlassian.ondemand.backupmanager.backuppolicy.BackupManagerException: Error: PROBLEM_DURING_EXPORT. 2015-05-04 12:02:44.195083500 com.atlassian.jira.issue.attachment.AttachmentRuntimeException: Issue with id 24827 does not exist! 2015-05-04 12:02:44.195093500 at com.atlassian.ondemand.backupmanager.service.JiraBackupService.backup(JiraBackupService.java:150) 2015-05-04 12:02:44.195094500 at com.atlassian.ondemand.backupmanager.rest.OnDemandBackupTask.run(OnDemandBackupTask.java:84) 2015-05-04 12:02:44.195094500 at com.atlassian.ondemand.backupmanager.longrunning.ManagedTask.run(ManagedTask.java:35) 2015-05-04 12:02:44.195095500 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 2015-05-04 12:02:44.195113500 at java.util.concurrent.FutureTask.run(FutureTask.java:266) 2015-05-04 12:02:44.195113500 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 2015-05-04 12:02:44.195116500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 2015-05-04 12:02:44.195117500 at java.lang.Thread.run(Thread.java:745) 2015-05-04 12:02:44.195117500 Caused by: com.atlassian.jira.issue.attachment.AttachmentRuntimeException: Issue with id 24827 does not exist! 2015-05-04 12:02:44.195118500 at com.atlassian.jira.issue.util.ConsumeAllAttachmentKeys.getIssueKeysFromIds(ConsumeAllAttachmentKeys.java:52) 2015-05-04 12:02:44.195123500 at com.atlassian.jira.issue.util.ConsumeAllAttachmentKeys.getAttachmentsWithKeys(ConsumeAllAttachmentKeys.java:30) 2015-05-04 12:02:44.195124500 at com.atlassian.ondemand.backupmanager.service.JiraBackupService.backupAttachments(JiraBackupService.java:186) 2015-05-04 12:02:44.195124500 at com.atlassian.ondemand.backupmanager.service.JiraBackupService.backup(JiraBackupService.java:132) 2015-05-04 12:02:44.195125500 ... 7 more 2015-05-04 12:02:44.195126500 2015-05-04 12:02:44,194 Long running task: OnDemandBackup WARN sysadmin 722x38028x3 o66qft 131.103.28.240,165.254.226.130 /rest/obm/1.0/runbackup [ondemand.backupmanager.rest.OnDemandBackupTask] com.atlassian.ondemand.backupmanager.service.JiraBackupService@139690b fails to provide text via configured resource bundle. Can't find resource for bundle java.util.PropertyResourceBundle, key backupmanager.PROBLEM_DURING_EXPORT. Trying to resolve directly. {code} Note the Caused By error: {{Caused by: com.atlassian.jira.issue.attachment.AttachmentRuntimeException: Issue with id <Specific ID that no longer exists> does not exist!}} h2.workaround: - File support request at https://support.atlassian.com referencing this BUG as Database update and downtime is required: -- Please note a time and date to apply the maintenance in your request

    Atlassian JIRA | 2 years ago | Earl McCutcheon [Atlassian]
    com.atlassian.jira.issue.attachment.AttachmentRuntimeException: Issue with id 24827 does not exist! 2015-05-04 12:02:44.195118500 at com.atlassian.jira.issue.util.ConsumeAllAttachmentKeys.getIssueKeysFromIds(ConsumeAllAttachmentKeys.java:52) 2015-05-04 12:02:44.195123500 at com.atlassian.jira.issue.util.ConsumeAllAttachmentKeys.getAttachmentsWithKeys(ConsumeAllAttachmentKeys.java:30)
  2. 0

    h3.Summary: Error received when there are attachments referring to a non-existing issue id h3. Steps to Reproduce - Remove an issue with attachments from the database directly such that there are attachments referring to non-existing issue ids. - Click the create backup button in backup manager (Exact Cause Unknown At this time, looks like a timeout occurring while bulk deleting issues and attachment fails to delete) h3. Expected Results Creates a backup h3. Actual Results When trying to create backup the following error occurs in the UI: {code} Woah! Something went wrong! Unexpected error during export has occurred {code} Following appears in the logs: {code} 2015-05-04 12:02:44.059967500 2015-05-04 12:02:44,059 Long running task: OnDemandBackup INFO sysadmin 722x38028x3 o66qft 131.103.28.240,165.254.226.130 /rest/obm/1.0/runbackup [ondemand.backupmanager.service.JiraBackupService] Finished saving the Active Objects Backup 2015-05-04 12:02:44.195079500 2015-05-04 12:02:44,193 Long running task: OnDemandBackup ERROR sysadmin 722x38028x3 o66qft 131.103.28.240,165.254.226.130 /rest/obm/1.0/runbackup [ondemand.backupmanager.rest.OnDemandBackupTask] Failure during task executing. Task's service: com.atlassian.ondemand.backupmanager.service.JiraBackupService@139690b 2015-05-04 12:02:44.195083500 com.atlassian.ondemand.backupmanager.backuppolicy.BackupManagerException: Error: PROBLEM_DURING_EXPORT. 2015-05-04 12:02:44.195083500 com.atlassian.jira.issue.attachment.AttachmentRuntimeException: Issue with id 24827 does not exist! 2015-05-04 12:02:44.195093500 at com.atlassian.ondemand.backupmanager.service.JiraBackupService.backup(JiraBackupService.java:150) 2015-05-04 12:02:44.195094500 at com.atlassian.ondemand.backupmanager.rest.OnDemandBackupTask.run(OnDemandBackupTask.java:84) 2015-05-04 12:02:44.195094500 at com.atlassian.ondemand.backupmanager.longrunning.ManagedTask.run(ManagedTask.java:35) 2015-05-04 12:02:44.195095500 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 2015-05-04 12:02:44.195113500 at java.util.concurrent.FutureTask.run(FutureTask.java:266) 2015-05-04 12:02:44.195113500 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 2015-05-04 12:02:44.195116500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 2015-05-04 12:02:44.195117500 at java.lang.Thread.run(Thread.java:745) 2015-05-04 12:02:44.195117500 Caused by: com.atlassian.jira.issue.attachment.AttachmentRuntimeException: Issue with id 24827 does not exist! 2015-05-04 12:02:44.195118500 at com.atlassian.jira.issue.util.ConsumeAllAttachmentKeys.getIssueKeysFromIds(ConsumeAllAttachmentKeys.java:52) 2015-05-04 12:02:44.195123500 at com.atlassian.jira.issue.util.ConsumeAllAttachmentKeys.getAttachmentsWithKeys(ConsumeAllAttachmentKeys.java:30) 2015-05-04 12:02:44.195124500 at com.atlassian.ondemand.backupmanager.service.JiraBackupService.backupAttachments(JiraBackupService.java:186) 2015-05-04 12:02:44.195124500 at com.atlassian.ondemand.backupmanager.service.JiraBackupService.backup(JiraBackupService.java:132) 2015-05-04 12:02:44.195125500 ... 7 more 2015-05-04 12:02:44.195126500 2015-05-04 12:02:44,194 Long running task: OnDemandBackup WARN sysadmin 722x38028x3 o66qft 131.103.28.240,165.254.226.130 /rest/obm/1.0/runbackup [ondemand.backupmanager.rest.OnDemandBackupTask] com.atlassian.ondemand.backupmanager.service.JiraBackupService@139690b fails to provide text via configured resource bundle. Can't find resource for bundle java.util.PropertyResourceBundle, key backupmanager.PROBLEM_DURING_EXPORT. Trying to resolve directly. {code} Note the Caused By error: {{Caused by: com.atlassian.jira.issue.attachment.AttachmentRuntimeException: Issue with id <Specific ID that no longer exists> does not exist!}} h2.workaround: - File support request at https://support.atlassian.com referencing this BUG as Database update and downtime is required: -- Please note a time and date to apply the maintenance in your request

    Atlassian JIRA | 2 years ago | Earl McCutcheon [Atlassian]
    com.atlassian.jira.issue.attachment.AttachmentRuntimeException: Issue with id 24827 does not exist! 2015-05-04 12:02:44.195118500 at com.atlassian.jira.issue.util.ConsumeAllAttachmentKeys.getIssueKeysFromIds(ConsumeAllAttachmentKeys.java:52) 2015-05-04 12:02:44.195123500 at com.atlassian.jira.issue.util.ConsumeAllAttachmentKeys.getAttachmentsWithKeys(ConsumeAllAttachmentKeys.java:30)

    Root Cause Analysis

    1. com.atlassian.jira.issue.attachment.AttachmentRuntimeException

      Issue with id 24827 does not exist! 2015-05-04 12:02:44.195118500 at com.atlassian.jira.issue.util.ConsumeAllAttachmentKeys.getIssueKeysFromIds(ConsumeAllAttachmentKeys.java:52) 2015-05-04 12:02:44.195123500 at com.atlassian.jira.issue.util.ConsumeAllAttachmentKeys.getAttachmentsWithKeys(ConsumeAllAttachmentKeys.java:30)

      at com.atlassian.ondemand.backupmanager.service.JiraBackupService.backupAttachments()
    2. com.atlassian.ondemand
      JiraBackupService.backup
      1. com.atlassian.ondemand.backupmanager.service.JiraBackupService.backupAttachments(JiraBackupService.java:186)
      2. com.atlassian.ondemand.backupmanager.service.JiraBackupService.backup(JiraBackupService.java:132)
      2 frames