Webstorm creating multiple settings folders

I just switched from Webstorm on the Mac to Webstorm on Windows 10. In Windows 10 the settings folders ("/idea") in the project are not hidden the way they are in Mac. That's fine, but everytime I click away from webstorm and then click back to it, a new settings folder is created containing "workspace.xml". They are named sequentially: idea, idea2, idea3, idea4, etc. Within a few minutes my folder tree can be clogged by these folders. I've tried deleting them and they just get recreated. This seems ridiculous. There must be something strange going on. Any ideas?

0
4 comments

have never seen anything like this.. .idea folder is normally hidden in WebStorm Project view regardless of OS. And it's .idea, not idea

Can you attach your idea.log?

0
Avatar
Permanently deleted user

Yeah, I'm used to the .idea from Mac. 

Okay, so I attempted to attach it to this but it only allows images...

Based on what I'm seeing in the log file, it's attempting to find ".idea" and it can't so it throws an exception that then seems to result in a non-hidden folder being create. It looks like windows itself may be adding the numbers as it tries to create yet another folder called "idea". Not sure why the "." is failing. 

Here's the exception from the log:

2017-01-13 15:20:50,330 [1471668] WARN - mponents.impl.stores.StoreUtil - Save settings failed
java.lang.RuntimeException: java.io.FileNotFoundException: D:\ShareFile\Personal Folders\Gilman Historical\Website\.idea\workspace.xml___jb_tmp___ (The system cannot find the path specified)
at com.intellij.util.ExceptionUtil.rethrow(ExceptionUtil.java:176)
at com.intellij.util.lang.CompoundRuntimeException.throwIfNotEmpty(CompoundRuntimeException.java:144)
at com.intellij.configurationStore.ComponentStoreImpl.save(ComponentStoreImpl.kt:184)
at com.intellij.openapi.components.impl.stores.StoreUtil.save(StoreUtil.java:46)
at com.intellij.openapi.project.impl.ProjectImpl.save(ProjectImpl.java:347)
at com.intellij.ide.SaveAndSyncHandlerImpl.doSaveDocumentsAndProjectsAndApp(SaveAndSyncHandlerImpl.java:137)
at com.intellij.ide.SaveAndSyncHandlerImpl.saveProjectsAndDocuments(SaveAndSyncHandlerImpl.java:125)
at com.intellij.ide.SaveAndSyncHandlerImpl$2.a(SaveAndSyncHandlerImpl.java:94)
at com.intellij.openapi.application.TransactionGuardImpl.a(TransactionGuardImpl.java:91)
at com.intellij.openapi.application.TransactionGuardImpl.access$300(TransactionGuardImpl.java:41)
at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:116)
at com.intellij.openapi.application.TransactionGuardImpl.submitTransaction(TransactionGuardImpl.java:126)
at com.intellij.openapi.application.TransactionGuard.submitTransaction(TransactionGuard.java:122)
at com.intellij.ide.SaveAndSyncHandlerImpl$2.onFrameDeactivated(SaveAndSyncHandlerImpl.java:92)
at com.intellij.ide.FrameStateManagerImpl.a(FrameStateManagerImpl.java:84)
at com.intellij.ide.FrameStateManagerImpl.access$500(FrameStateManagerImpl.java:32)
at com.intellij.ide.FrameStateManagerImpl$2.a(FrameStateManagerImpl.java:70)
at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:223)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:387)
at com.intellij.openapi.application.TransactionGuardImpl$6.run(TransactionGuardImpl.java:318)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.a(LaterInvocator.java:417)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:401)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at com.intellij.ide.IdeEventQueue.i(IdeEventQueue.java:843)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:679)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:391)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.io.FileNotFoundException: D:\ShareFile\Personal Folders\Gilman Historical\Website\.idea\workspace.xml___jb_tmp___ (The system cannot find the path specified)
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.util.io.SafeFileOutputStream.<init>(SafeFileOutputStream.java:53)
at com.intellij.openapi.vfs.impl.local.LocalFileSystemBase.getOutputStream(LocalFileSystemBase.java:486)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl$2.close(PersistentFSImpl.java:626)
at sun.nio.cs.StreamEncoder.implClose(StreamEncoder.java:320)
at sun.nio.cs.StreamEncoder.close(StreamEncoder.java:149)
at java.io.OutputStreamWriter.close(OutputStreamWriter.java:233)
at com.intellij.openapi.util.JDOMUtil.writeParent(JDOMUtil.java:355)
at com.intellij.configurationStore.FileBasedStorageKt$doWrite$$inlined$runWriteAction$1.compute(actions.kt:52)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:939)
at com.intellij.configurationStore.FileBasedStorageKt.a(FileBasedStorage.kt:284)
at com.intellij.configurationStore.FileBasedStorageKt.writeFile(FileBasedStorage.kt:187)
at com.intellij.configurationStore.FileBasedStorage$FileSaveSession.saveLocally(FileBasedStorage.kt:99)
at com.intellij.configurationStore.XmlElementStorage$XmlElementStorageSaveSession.save(XmlElementStorage.kt:144)
at com.intellij.configurationStore.FileBasedStorage$FileSaveSession.save(FileBasedStorage.kt:84)
at com.intellij.configurationStore.ComponentStoreImplKt.executeSave(ComponentStoreImpl.kt:465)
at com.intellij.configurationStore.ComponentStoreImpl.doSave(ComponentStoreImpl.kt:235)
at com.intellij.configurationStore.ProjectStoreImpl.doSave(ProjectStoreImpl.kt:348)
at com.intellij.configurationStore.ComponentStoreImpl.save(ComponentStoreImpl.kt:182)
... 36 more

0

Seems D:\ShareFile\Personal Folders\Gilman Historical\Website\.idea is either missing/corrupted, or you are not permitted to create files there... Are you sure that there are no tools that are touching/locking files in this folder? Do you have full permissions for this folder/subfolders?

I'd suggest removing your project from recent projects list, shutting down Webstorm, then deleting .idea folder along with all auto-created idea* folders; then start Webstorm and open D:\ShareFile\Personal Folders\Gilman Historical\Website via File | Open - does the problem persist?

0
Avatar
Permanently deleted user

It would appear it has something to do with that folder being synced to Citrix ShareFile. I did what you suggested without any change in behavior. When I created a new project outside of the synced folder it had no issue creating the .idea folder and I've had no issues. That's frustrating, but workable for now. I will need to dig further to determine why that is restricting WebStorm but it does seem to be related to ShareFile. There is a small difference in the permissions shown in Windows Folder Properties. It doesn't effect normal use, but must be interfering with how a program modifies those folders. 

Thanks for the help.

0

Please sign in to leave a comment.