Uploaded image for project: 'Project Configurator - Development'
  1. Project Configurator - Development
  2. PCDEV-1703

Sometimes exporting a complete project fails while copying the zip file from the temp directory to its final destination

    Details

    • Critical Points:
      0

      Description

      A user reports an error that usually happens to them when the exported file is quite large (22GB in his case). The export fails with this stack trace:

      2020-07-16 14:24:29,330+0200 http-nio-8080-exec-26 url:/secure/project-export-result.jspa username:xraddos ERROR xraddos 863x137213x2 1i6hfjg -sanitized ip-,127.0.0.1 /secure/project-export-result.jspa [c.a.projectconfigurator.utils.FileDataUtils] Error moving the file to the export folder:
      java.nio.file.NoSuchFileException: /opt/atl/jira-wcdma/current/temp/projectconfigurator4724267314923173693.zip
      	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
      	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
      	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
      	at java.base/sun.nio.fs.UnixCopyFile.move(UnixCopyFile.java:522)
      	at java.base/sun.nio.fs.UnixFileSystemProvider.move(UnixFileSystemProvider.java:267)
      	at java.base/java.nio.file.Files.move(Files.java:1421)
      	at com.awnaba.projectconfigurator.utils.FileDataUtils.moveFileToExportFolder(FileDataUtils.java:198)
      	at com.awnaba.projectconfigurator.utils.FileDataUtils.moveFileControllingErrors(FileDataUtils.java:212)
      	at com.awnaba.projectconfigurator.commonactions.ExportResultDisplay.completeResults(ExportResultDisplay.java:153)
      	at com.awnaba.projectconfigurator.commonactions.ExportResultDisplay.showResults(ExportResultDisplay.java:115)
      	at com.awnaba.projectconfigurator.commonactions.ProjectExportResultAction.prepareToShowResults(ProjectExportResultAction.java:78)
      	at com.awnaba.projectconfigurator.commonactions.AbstractTaskProgressAction.doExecute(AbstractTaskProgressAction.java:76)
      	... 1 filtered
      	at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:63)
      	... 7 filtered
      

      Some usual suspects like lack of disk space in the temp directory or user permissions have been eliminated.
      The user also reported that this did not occur with PC versions 3.0.X (or at least, not with most of them) and that it started happening around version 3.1

        Attachments

          Structure

            Activity

              People

              Assignee:
              pmaranon Pepe Maranon Mora
              Reporter:
              pmaranon Pepe Maranon Mora
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Structure Helper Panel