Keep losing Connections after closing Webstorm

Issue #1047 resolved
Jaren Yach created an issue

After updating to the latest version of Illuminated Cloud 2, I lost all of my save connections. If add a new one and then close and restart webstorm it goes away. I am on the latest version of webstorm and illuminated cloud.

Comments (12)

  1. Scott Wells repo owner

    Jaren, I'm sorry for the issue. Let me investigate and see what might be happening. The most recent build was just to accommodate for some changes for the upcoming 2018.2 builds of IntelliJ IDEA and WebStorm which included some backward-incompatible plugin SDK changes. The good news is that you should be able to revert to the previous build while I investigate this issue by downloading it from:

    https://plugins.jetbrains.com/plugin/download?rel=true&updateId=47452

    Please let me know if that doesn't get you going again, and I'll let you know what I find. Again, sincere apologies for the inconvenience!

  2. Gustavo Tandeciarz

    Reverting the plugin back to the one linked above restored all my connections.
    Thanks!

    Application Details: * IntelliJ IDEA 2018.1.5 (Ultimate Edition) * Build #IU-181.5281.24, built on June 12, 2018 * Licensed to Gustavo Tandeciarz * Subscription is active until August 6, 2018 * JRE: 1.8.0_152-release-1136-b39 x86_64 * JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o * macOS 10.13.6

    List of currently installed plugins: * AngularJS (181.5281.24) * Ant Support (1.0) * BashSupport (1.6.13.181) * Bitbucket Linky (5.1) * CoffeeScript (181.5281.24) * Coverage (181.5281.24) * CSS Support (181.5281.24) * Database Tools and SQL (181.5281.24) * DSM Analysis (1.0.0) * Eclipse Integration (3.0) * EditorConfig (181.5281.24) * File Watchers (181.4668.7) * Git Integration (8.1) * Google Account (0.9.7.2-beta) * Gradle (181.5281.24) * Groovy (9.0) * Heroku integration (181.5281.24) * HTML Tools (2.0) * HTTP Client (181.5281.24) * I18n for Java (181.5281.24) * IDE Settings Sync (181.5281.24) * Illuminated Cloud 2 (2.0.2.6) * Java Bytecode Decompiler (181.5281.24) * Java EE: Batch Applications (1.0) * Java EE: Contexts and Dependency Injection (1.1) * Java EE: EJB, JPA, Servlets (1.0) * Java EE: RESTful Web Services (JAX-RS) (1.0) * Java EE: Web Services (JAX-WS) (1.9) * Java EE: WebSockets (1.0) * Java Stream Debugger (181.5281.24) * JavaScript Debugger (1.0) * JavaScript Intention Power Pack (0.9.4) * JavaScript Support (1.0) * JUnit (1.0) * Less support (181.5281.24) * Markdown support (181.5281.24) * Material Theme UI (2.4.2-2018.1) * Maven Integration (181.5281.24) * Maven Integration Extension (181.5281.24) * MetricsReloaded (1.8) * NodeJS (181.4668.7) * Persistence Frameworks Support (1.0) * Plugin DevKit (1.0) * Properties Support (181.5281.24) * Reactor framework support (1.0) * Refactor-X (2.01) * Sass support (181.5281.24) * Settings Repository (181.5281.24) * Smali Support (1.0) * Spy-js (181.5281.24) * Swagger Codegen (1.0.0) * Swagger Plugin (1.0.14) * Task Management (1.0) * Terminal (0.1) * TFS Integration (999.999) * Time Tracking (1.0) * tslint (181.5281.24) * UML Support (1.0) * Vue.js (181.4892.29) * W3C Validators (2.0) * XPathView + XSLT Support (4) * XSLT-Debugger (1.4) * YAML (181.5281.24)

  3. Scott McClung

    I'm getting the same behavior in Idea. There's an error in the logs on application startup that might be relevant.

    2018-07-13 09:35:57,696 [  32221]   INFO - ellij.license.LicenseValidator - Server license validation result was Genuine. 
    2018-07-13 09:36:06,698 [  41223]  ERROR - .settingsRepository.IcsManager - C:\illuminatedCloud.xml 
    java.nio.file.AccessDeniedException: C:\illuminatedCloud.xml
        at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
        at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
        at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
        at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:230)
        at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
        at java.nio.file.Files.newOutputStream(Files.java:216)
        at com.intellij.util.io.PathKt.outputStream(path.kt:41)
        at com.intellij.util.io.PathKt.write(path.kt:151)
        at org.jetbrains.settingsRepository.BaseRepositoryManager.write(BaseRepositoryManager.kt:109)
        at org.jetbrains.settingsRepository.IcsManager$IcsStreamProvider.doSave(IcsManager.kt:199)
        at org.jetbrains.settingsRepository.IcsManager$IcsStreamProvider.write(IcsManager.kt:194)
        at com.intellij.configurationStore.CompoundStreamProvider.write(CompoundStreamProvider.kt:28)
        at com.intellij.configurationStore.StreamProvider$DefaultImpls.write(StreamProvider.kt:27)
        at com.intellij.configurationStore.CompoundStreamProvider.write(CompoundStreamProvider.kt:8)
        at com.intellij.configurationStore.XmlElementStorage$XmlElementStorageSaveSession.save(XmlElementStorage.kt:133)
        at com.intellij.configurationStore.FileBasedStorage$FileSaveSession.save(FileBasedStorage.kt:85)
        at com.intellij.configurationStore.ComponentStoreImplKt.executeSave(ComponentStoreImpl.kt:542)
        at com.intellij.configurationStore.ComponentStoreImpl.doSave(ComponentStoreImpl.kt:282)
        at com.intellij.configurationStore.ComponentStoreImpl.save(ComponentStoreImpl.kt:172)
        at com.intellij.openapi.components.impl.stores.StoreUtil.save(StoreUtil.java:40)
        at com.intellij.openapi.application.impl.ApplicationImpl.saveSettings(ApplicationImpl.java:1414)
        at com.intellij.openapi.components.impl.stores.StoreUtil.saveDocumentsAndProjectsAndApp(StoreUtil.java:111)
        at com.intellij.openapi.application.impl.ApplicationImpl.saveAll(ApplicationImpl.java:1429)
        at com.intellij.openapi.application.impl.ApplicationImpl.saveAll(ApplicationImpl.java:1423)
        at com.intellij.ide.SaveAndSyncHandlerImpl.saveProjectsAndDocuments(SaveAndSyncHandlerImpl.java:126)
        at com.intellij.ide.SaveAndSyncHandlerImpl$2.lambda$onFrameDeactivated$0(SaveAndSyncHandlerImpl.java:94)
        at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88)
        at com.intellij.openapi.application.TransactionGuardImpl.lambda$submitTransaction$1(TransactionGuardImpl.java:111)
        at com.intellij.openapi.application.TransactionGuardImpl.submitTransaction(TransactionGuardImpl.java:120)
        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.fireDeactivationEvent(FrameStateManagerImpl.java:84)
        at com.intellij.ide.FrameStateManagerImpl.access$500(FrameStateManagerImpl.java:32)
        at com.intellij.ide.FrameStateManagerImpl$2.lambda$applicationDeactivated$0(FrameStateManagerImpl.java:70)
        at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:231)
        at com.intellij.util.Alarm$Request.runSafely(Alarm.java:405)
        at com.intellij.util.Alarm$Request.access$700(Alarm.java:330)
        at com.intellij.util.Alarm$Request$1.run(Alarm.java:371)
        at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:315)
        at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.doRun(LaterInvocator.java:447)
        at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:431)
        at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:415)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:762)
        at java.awt.EventQueue.access$500(EventQueue.java:98)
        at java.awt.EventQueue$3.run(EventQueue.java:715)
        at java.awt.EventQueue$3.run(EventQueue.java:709)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:732)
        at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:786)
        at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:727)
        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:395)
        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)
    2018-07-13 09:36:06,698 [  41223]  ERROR - .settingsRepository.IcsManager - IntelliJ IDEA 2018.1.5  Build #IU-181.5281.24 
    2018-07-13 09:36:06,698 [  41223]  ERROR - .settingsRepository.IcsManager - JDK: 1.8.0_152-release 
    2018-07-13 09:36:06,698 [  41223]  ERROR - .settingsRepository.IcsManager - VM: OpenJDK 64-Bit Server VM 
    2018-07-13 09:36:06,698 [  41223]  ERROR - .settingsRepository.IcsManager - Vendor: JetBrains s.r.o 
    2018-07-13 09:36:06,698 [  41223]  ERROR - .settingsRepository.IcsManager - OS: Windows 7 
    2018-07-13 09:36:06,698 [  41223]  ERROR - .settingsRepository.IcsManager - Last Action: IlluminatedCloud.ConfigureApplication 
    2018-07-13 09:36:06,947 [  41472]   INFO - rojectCodeStyleSettingsManager - Initialized from default code style settings. 
    
  4. Scott Wells repo owner

    Yep, that looks relevant! Basically in 2018.2, JetBrains removed from constants that told the IDE where to find plugin-specific config data. They say those are no longer necessary, but evidently they are in some builds of the base IDE. Please roll back to the previous build as linked above and I'll address it this weekend. Again, sorry for the issue. Not sure why it didn't show up in my own testing.

  5. Scott Wells repo owner

    Could I get you guys to do me a favor? I've attached a build that should resolve this issue, but before I cast it out into the wild, I'd like for those who saw the problem to help verify that it is in fact fixed. You can install this build using Settings>Plugins>Install plugin from disk. Just do that and then see if your connections are available after the restart. Once confirmed I'll release the build.

    Thanks for the assistance in verifying the fix!

  6. Scott Wells repo owner

    Wonderful! Thanks so much for the quick confirmation, both of you. I'll release this shortly. You won't see an update post for this because it'll be the exact same version you just installed manually.

  7. Log in to comment