Uploaded image for project: 'SongKong'
  1. SONGKONG-1549

SongKongSupport fails if have any files open

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.8
    • Fix Version/s: 5.9
    • Component/s: Filesystem
    • Labels:
      None
    • Forum Username:
      paul

      Description

      29/08/2018 12.06.58:BST:CreateSupportFile:createAttachmentOfSupportFiles:SEVERE: C:\Users\Paul\AppData\Roaming\SongKong\Reports\FixSongsReport00235~$FixSongsReport00235_spreadsheet.xlsx (The process cannot access the file because it is being used by another process)
      java.io.FileNotFoundException: C:\Users\Paul\AppData\Roaming\SongKong\Reports\FixSongsReport00235~$FixSongsReport00235_spreadsheet.xlsx (The process cannot access the file because it is being used by another process)
      at java.base/java.io.FileInputStream.open0(Native Method)
      at java.base/java.io.FileInputStream.open(Unknown Source)
      at java.base/java.io.FileInputStream.<init>(Unknown Source)
      at com.jthink.songkong.logging.CreateSupportFile.createAttachmentOfSupportFiles(CreateSupportFile.java:257)
      at com.jthink.songkong.logging.CreateSupportFile.createAndSendSupportFilesInRemoteMode(CreateSupportFile.java:137)
      at com.jthink.songkong.server.callback.ServerSendSupportFiles$Task.run(ServerSendSupportFiles.java:132)
      at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.base/java.lang.Thread.run(Unknown Source)
      29/08/2018 12.06.58:BST:ServerSendSupportFiles$Task:run:SEVERE: Unable to zip support files:C:\Users\Paul\AppData\Roaming\SongKong\Reports\FixSongsReport00235~$FixSongsReport00235_spreadsheet.xlsx (The process cannot access the file because it is being used by another process)
      java.lang.RuntimeException: Unable to zip support files:C:\Users\Paul\AppData\Roaming\SongKong\Reports\FixSongsReport00235~$FixSongsReport00235_spreadsheet.xlsx (The process cannot access the file because it is being used by another process)
      at com.jthink.songkong.logging.CreateSupportFile.createAttachmentOfSupportFiles(CreateSupportFile.java:284)
      at com.jthink.songkong.logging.CreateSupportFile.createAndSendSupportFilesInRemoteMode(CreateSupportFile.java:137)
      at com.jthink.songkong.server.callback.ServerSendSupportFiles$Task.run(ServerSendSupportFiles.java:132)
      at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.base/java.lang.Thread.run(Unknown Source)
      29/08/2018 12.06.58:BST:CmdLogger:log:SEVERE: songkong:server unable to send support files:class java.lang.RuntimeException:Unable to zip support files:C:\Users\Paul\AppData\Roaming\SongKong\Reports\FixSongsReport00235~$FixSongsReport00235_spreadsheet.xlsx (The process cannot access the file because it is being used by another process)
      29/08/2018 12.07.03:BST:CmdRemote:lambda$start$90:SEVERE: >>>>>/send_support_files.up

        Attachments

          Activity

            People

            • Reporter:
              ijabz IJabz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: