lots of errors trying to run a simple hello world output...
heres the error!!!
Error:Internal error: (java.io.FileNotFoundException) C:\Users\xbox3\.IntelliJIdea2017.2\system\compile-server\untitled5_73c77e83\mappings\strings.tab (Access is denied)
java.io.FileNotFoundException: C:\Users\xbox3\.IntelliJIdea2017.2\system\compile-server\untitled5_73c77e83\mappings\strings.tab (Access is denied)
at java.io.RandomAccessFile.open0(Native Method)
at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)
at com.intellij.util.io.PagedFileStorage.resizeFile(PagedFileStorage.java:355)
at com.intellij.util.io.PagedFileStorage.resize(PagedFileStorage.java:338)
at com.intellij.util.io.ResizeableMappedFile.<init>(ResizeableMappedFile.java:60)
at com.intellij.util.io.PersistentBTreeEnumerator.<init>(PersistentBTreeEnumerator.java:82)
at com.intellij.util.io.PersistentBTreeEnumerator.<init>(PersistentBTreeEnumerator.java:74)
at com.intellij.util.io.PersistentEnumeratorDelegate.<init>(PersistentEnumeratorDelegate.java:38)
at com.intellij.util.io.PersistentStringEnumerator.<init>(PersistentStringEnumerator.java:53)
at com.intellij.util.io.PersistentStringEnumerator.<init>(PersistentStringEnumerator.java:36)
at org.jetbrains.jps.builders.java.dependencyView.DependencyContext.<init>(DependencyContext.java:77)
at org.jetbrains.jps.builders.java.dependencyView.Mappings.createImplementation(Mappings.java:135)
at org.jetbrains.jps.builders.java.dependencyView.Mappings.clean(Mappings.java:223)
at org.jetbrains.jps.incremental.storage.BuildDataManager.clean(BuildDataManager.java:207)
at org.jetbrains.jps.incremental.IncProjectBuilder.cleanOutputRoots(IncProjectBuilder.java:486)
at org.jetbrains.jps.incremental.IncProjectBuilder.runBuild(IncProjectBuilder.java:378)
at org.jetbrains.jps.incremental.IncProjectBuilder.build(IncProjectBuilder.java:192)
at org.jetbrains.jps.cmdline.BuildRunner.runBuild(BuildRunner.java:138)
at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:295)
at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:125)
at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler.lambda$channelRead0$0(BuildMain.java:236)
at org.jetbrains.jps.service.impl.SharedThreadPoolImpl.lambda$executeOnPooledThread$0(SharedThreadPoolImpl.java:42)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Please perform full project rebuild (Build | Rebuild Project)
I tried going to the "mappings" folder to change the permissions but it wont let me make it "non read only" and im also the administrator of the computer im using. i also tried using the "super admin" account, and i tried changing the permissions of it using the command prompt
Windows 10 Home, Fall Creators Update
Please sign in to leave a comment.
Delete C:\Users\xbox3\.IntelliJIdea2017.2\system\ directory and let IntelliJ IDEA create it again. If the permissions for the parent directory are wrong, fix them.
i did that and it still wont run.... its a simple "hello world" print im trying to do (from template)
new error:
Error:Internal error: (java.lang.RuntimeException) Can't create dir: C:\Users\xbox3\.IntelliJIdea2017.2\system\compile-server\untitled7_dd93f505
java.lang.RuntimeException: Can't create dir: C:\Users\xbox3\.IntelliJIdea2017.2\system\compile-server\untitled7_dd93f505
at org.jetbrains.jps.backwardRefs.CompilerBackwardReferenceIndex.<init>(CompilerBackwardReferenceIndex.java:72)
at org.jetbrains.jps.backwardRefs.BackwardReferenceIndexWriter.initialize(BackwardReferenceIndexWriter.java:99)
at org.jetbrains.jps.backwardRefs.BackwardReferenceIndexBuilder.buildStarted(BackwardReferenceIndexBuilder.java:54)
at org.jetbrains.jps.incremental.IncProjectBuilder.runBuild(IncProjectBuilder.java:373)
at org.jetbrains.jps.incremental.IncProjectBuilder.build(IncProjectBuilder.java:192)
at org.jetbrains.jps.cmdline.BuildRunner.runBuild(BuildRunner.java:138)
at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:295)
at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:125)
at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler.lambda$channelRead0$0(BuildMain.java:236)
at org.jetbrains.jps.service.impl.SharedThreadPoolImpl.lambda$executeOnPooledThread$0(SharedThreadPoolImpl.java:42)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Permissions are still wrong, IDE cannot create a directory there. If you can't fix the permissions in your home directory, you can instruct IntelliJ IDEA to use some other directory with full permissions for idea.system.path, see https://intellij-support.jetbrains.com/hc/articles/207240985 for the instructions.
Hi Jared,
what did you do to fix this problem? I'm having the same issues over here.
Cheers,
Céphas
I changed the IDEA directory but I am also receiving the same error after creating a new Project/Scala worksheet and try to run the Scala console. I am suspecting it may be the Windows 10 Fall Creators update. I have a project I created prior to this update and I had no issues with it when I first created it a couple of weeks ago. The jigsaw and mappings folder are there and the permissions are correct.
It seems to be an issue with IDEA creating the jigsaw and mappings folder. The folders are created but for some reason the permissions on these folders are corrupted and do not keep the folder owner permissions. Trying to fix the folder permissions does not work even using an Admin account (which my account is). I also tried running IDEA as Administrator but I get the same error. I also renamed the System folder and had IDEA recreate it. The folder structure created fine. I also tried to create the folders manually, but again, the permissions are corrupted. It displays "Unable to display current owner." when trying to change permissions on these folders.
Also, after rebooting, these two folders disappear even if they were manually created and had files placed in them. So these folders are corrupted in some way.
Error:Internal error: (java.io.FileNotFoundException) C:\BigData\Scala\idea\system\compile-server\untitled_b1132e0f\mappings\strings.tab (Access is denied)
java.io.FileNotFoundException: C:\BigData\Scala\idea\system\compile-server\untitled_b1132e0f\mappings\strings.tab (Access is denied)
at java.io.RandomAccessFile.open0(Native Method)
at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)
at com.intellij.util.io.PagedFileStorage.resizeFile(PagedFileStorage.java:355)
at com.intellij.util.io.PagedFileStorage.resize(PagedFileStorage.java:338)
at com.intellij.util.io.ResizeableMappedFile.<init>(ResizeableMappedFile.java:60)
at com.intellij.util.io.PersistentBTreeEnumerator.<init>(PersistentBTreeEnumerator.java:82)
at com.intellij.util.io.PersistentBTreeEnumerator.<init>(PersistentBTreeEnumerator.java:74)
at com.intellij.util.io.PersistentEnumeratorDelegate.<init>(PersistentEnumeratorDelegate.java:38)
at com.intellij.util.io.PersistentStringEnumerator.<init>(PersistentStringEnumerator.java:53)
at com.intellij.util.io.PersistentStringEnumerator.<init>(PersistentStringEnumerator.java:36)
at org.jetbrains.jps.builders.java.dependencyView.DependencyContext.<init>(DependencyContext.java:77)
at org.jetbrains.jps.builders.java.dependencyView.Mappings.createImplementation(Mappings.java:135)
at org.jetbrains.jps.builders.java.dependencyView.Mappings.clean(Mappings.java:223)
at org.jetbrains.jps.incremental.storage.BuildDataManager.clean(BuildDataManager.java:207)
at org.jetbrains.jps.incremental.IncProjectBuilder.cleanOutputRoots(IncProjectBuilder.java:486)
at org.jetbrains.jps.incremental.IncProjectBuilder.runBuild(IncProjectBuilder.java:378)
at org.jetbrains.jps.incremental.IncProjectBuilder.build(IncProjectBuilder.java:192)
at org.jetbrains.jps.cmdline.BuildRunner.runBuild(BuildRunner.java:138)
at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:295)
at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:125)
at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler.lambda$channelRead0$0(BuildMain.java:236)
at org.jetbrains.jps.service.impl.SharedThreadPoolImpl.lambda$executeOnPooledThread$0(SharedThreadPoolImpl.java:42)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Please perform full project rebuild (Build | Rebuild Project)
That sounds a lot like the problems I'm having. I rolled back the Windows 10 Fall Creators update and now everything works fine again.
There might also be a relation with WebRoot AV. A colleague of mine deinstalled WebRoot before doing the Windows 10 upgrade and had no problems with IDEA. Then, after reinstalling WebRoot again, the problems came back.
I have Webroot AV as well. When I disable protection, I am able to open the Scala console and the Jigsaw and Mappings folders create OK.
I did put a ticket in with Webroot but it may not be limited to them. It may be impacted with other AV software. Unfortunately, the version I have of Webroot does not have the option of Excluding folders. So the workaround for me is just to disable protection and reenable once I have run the console on the newly created project. Once those folders are created, there should be no further issues with the new project and having Webroot running.
Scenario:
Behavior:
Unable to run Scala console in a newly created project as the Jigsaw and Mappings folder under %idea.system.path%\compile-server\<project> are created but permissions on the folders appear to be corrupted. All other folders and files created under %idea.system.path%\compile-server\<project>: _temp_, out-target, src-form, targets, timestamps. Owner listed as "unable to list owner" and is unable to be changed on the Jigsaw and Mappings folder. Manually creating these folders has no effect. Permissions are corrupted as well. Rebooting PC causes the Jigsaw and Mappings folders to disappear in both cases.
Projects created prior to the Windows 10 FCU update run the Scala console fine as the Jigsaw and Mappings folder were already created. Exiting IDEA, removing these folders, running IDEA, and trying to run the Scala console result in the same issue as a new project would - Jigsaw and Mappings folders are created but have corrupted permissions.
Webroot AV same version before and after Windows 10 FCU. I am unable to roll back to previous version of Windows so unable to test theory about Windows 10 FCU.
Workaround:
Since Webroot AV Home does not have the option to Exclude folders, the workaround is to disable Webroot protection by right clicking on the Tray icon and selecting 'Shut down Protection' or opening Webroot, select PC Security and disabling Realtime Shield.
Create the new Scala project in IDEA, create a new worksheet and run in Scala console so the Jigsaw and Mappings folders are created.
Once complete, re-enable Webroot AV.
This process will need to be repeated for each new Scala project.
If trying to correct an issue with an existing project, and you have not rebooted, do so as the corrupted Jigsaw and Mappings folders most likely still exist. Rebooting should flush the corrupted folders. Folders cannot be manually deleted as they are corrupted and/or locked by the system. Follow the above workaround once rebooted.
I submitted a bug request for this - 1120017.
I upgraded the Windows 10 fall update today... and got the above error trying to run a hello world program in Intellij idea.
I disabled Webroot security.. and succeeded running the program. Now is the question: how to change settings in webroot.. to have both webroot and intellij running simultaneously?