Unable to create a valid connection

Issue #1272 resolved
Filip Furda created an issue

Hello,

I am having issues with connecting to my Salesforce dev org. After I fill credentials and security token, test button is freezed and I am not able to verity connection. I am getting this error:

2019-04-10 15:19:40,902 [ 251406] ERROR - intellij.openapi.progress.Task - IntelliJ IDEA 2019.1 Build #IC-191.6183.87 2019-04-10 15:19:40,903 [ 251407] ERROR - intellij.openapi.progress.Task - JDK: 11.0.2; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o 2019-04-10 15:19:40,903 [ 251407] ERROR - intellij.openapi.progress.Task - OS: Mac OS X 2019-04-10 15:19:40,903 [ 251407] ERROR - intellij.openapi.progress.Task - Plugin to blame: Illuminated Cloud 2 version: 2.0.5.6 2019-04-10 15:19:40,903 [ 251407] ERROR - intellij.openapi.progress.Task - Last Action: EditorPaste 2019-04-10 15:19:45,507 [ 256011] WARN - cloud.client.ForceComApiClient - Login failed but user made no changes to credentials for connection 'ceorg dev'. 2019-04-10 15:19:50,554 [ 261058] INFO - il.indexing.FileBasedIndexImpl - Rebuild requested for index CaseInsensitiveFilenameIndex java.lang.Throwable: Rebuilding CaseInsensitiveFilenameIndex at com.illuminatedcloud.intellij.index.IlluminatedCloudIndexUtil.rebuildIndices(IlluminatedCloudIndexUtil.java:404) at com.illuminatedcloud.intellij.index.IlluminatedCloudIndexUtil.rebuildIndices(IlluminatedCloudIndexUtil.java:303) at com.illuminatedcloud.intellij.index.IlluminatedCloudIndexUtil.access$100(IlluminatedCloudIndexUtil.java:60) at com.illuminatedcloud.intellij.index.IlluminatedCloudIndexUtil$2.run(IlluminatedCloudIndexUtil.java:465) at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:315) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.doRun(LaterInvocator.java:435) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:419) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:403) at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:747) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:696) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:391) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

Can anybody suggest where can be the issue? Thanks, Filip

Comments (7)

  1. Scott Wells repo owner

    Hi, Filip. Can you provide more details on the behavior you're seeing? The exception above is expected when there's an index rebuild and is benign. Perhaps a short description and a screenshot? Thanks!

  2. Tea Palella

    Same situation here.

    it keeps saying

    Invalid configuration for module 'xyz' Module 'xyz': The following must be configured properly: module's configured connection must resolve to a global connection module connections must have configured credentials module must have a generated offline symbol table module must use an Illuminated Cloud SDK

                Full resolution of these items may require multiple steps.
                Resolve  Ignore (show balloon)
    

    The connection is valid, but the baloon keeps showing up.

    other people on my team who upgraded report the same.

  3. Scott Wells repo owner

    Ah....I see the problem from the log, at least for Filip and likely for Tea and team:

    JDK: 11.0.2; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o
    

    The Java 11 JRE optionally bundled with IntelliJ IDEA 2019.1 breaks IC (and quite a few other plugins). I've reported this to JetBrains and am working on a solution. In the interim changing to a Java 8 JRE resolves the issue. For more information please refer to this thread:

    https://groups.google.com/a/illuminatedcloud.com/d/msg/qanda/Rn1xs7QYs9k/JW4BU3Q1BQAJ

    Let me know if that doesn't fix it for you.

  4. Filip Furda reporter

    Thanks Scott for help. I did instal older Java JDK 8 and follow steps in link which you provided and it works :)

  5. Scott Wells repo owner

    Glad to hear! Tea, if you do the same and it doesn't resolve the issue, please feel free to reopen this.

  6. Log in to comment