Update to version 2016.1.1 failed
So, I decided to update the DataGrip 2016.1 to 2016.1.1 (Help -> check for updates). The installer removed the files and then crashed to FileNotFoundException. I had to reinstall the DG again by downloading the installer. Luckily my settings didn't go away.
Temp. directory: C:\Users\username\AppData\Local\Temp\
java.io.FileNotFoundException: C:\Program Files (x86)\JetBrains\DataGrip 2016.1\bin\datagrip.exe (Access is denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at com.intellij.updater.Utils.copyStreamToFile(Utils.java:127)
at com.intellij.updater.Utils.copy(Utils.java:97)
at com.intellij.updater.BaseUpdateAction.replaceUpdated(BaseUpdateAction.java:71)
at com.intellij.updater.UpdateAction.doApply(UpdateAction.java:57)
at com.intellij.updater.PatchAction.apply(PatchAction.java:184)
at com.intellij.updater.Patch$3.forEach(Patch.java:308)
at com.intellij.updater.Patch.forEach(Patch.java:360)
at com.intellij.updater.Patch.apply(Patch.java:303)
at com.intellij.updater.PatchFileCreator.apply(PatchFileCreator.java:84)
at com.intellij.updater.PatchFileCreator.apply(PatchFileCreator.java:75)
at com.intellij.updater.Runner.doInstall(Runner.java:280)
at com.intellij.updater.Runner.access$000(Runner.java:17)
at com.intellij.updater.Runner$1.execute(Runner.java:246)
at com.intellij.updater.SwingUpdaterUI$5.run(SwingUpdaterUI.java:191)
at java.lang.Thread.run(Thread.java:745)
java.io.FileNotFoundException: C:\Program Files (x86)\JetBrains\DataGrip 2016.1\bin\datagrip.exe (Access is denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at com.intellij.updater.Utils.copyStreamToFile(Utils.java:127)
at com.intellij.updater.Utils.copy(Utils.java:97)
at com.intellij.updater.Utils.mirror(Utils.java:109)
at com.intellij.updater.BaseUpdateAction.doRevert(BaseUpdateAction.java:77)
at com.intellij.updater.PatchAction.revert(PatchAction.java:196)
at com.intellij.updater.Patch$4.forEach(Patch.java:344)
at com.intellij.updater.Patch.forEach(Patch.java:360)
at com.intellij.updater.Patch.revert(Patch.java:340)
at com.intellij.updater.Patch.apply(Patch.java:324)
at com.intellij.updater.PatchFileCreator.apply(PatchFileCreator.java:84)
at com.intellij.updater.PatchFileCreator.apply(PatchFileCreator.java:75)
at com.intellij.updater.Runner.doInstall(Runner.java:280)
at com.intellij.updater.Runner.access$000(Runner.java:17)
at com.intellij.updater.Runner$1.execute(Runner.java:246)
at com.intellij.updater.SwingUpdaterUI$5.run(SwingUpdaterUI.java:191)
at java.lang.Thread.run(Thread.java:745)
请先登录再写评论。