We're updating the issue view to help you get more done. 

SongKongSupport fails if have any files open

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

Environment

Status

Assignee

Unassigned

Reporter

IJabz

Forum Username

paul

Components

Fix versions

Affects versions

5.8

Priority

Major