Open Connection drop down does not respond with sfdx executable specified on MacOS

Issue #1129 resolved
Tony White created an issue

Not sure what is different as it worked last week on my old macbook...

But now when clicking the open connection drop down to display the list of connections it does nothing and the below error is logged in the logs. IF I take out the sfdx executable (only need it for the lint tool) it works fine. I will try to confirm the config on my old macbook and confirm the path I had set for that sfdx. NONE of the connections I am using are setup for DX.

2018-10-03 13:45:39,120 [   9824]   INFO - cloudConfig.CloudConfigManager - === StatusBar.update create === 
2018-10-03 13:45:39,120 [   9824]   INFO - cloudConfig.CloudConfigManager - === doConnect === 
2018-10-03 13:45:39,121 [   9825]   INFO - cloudConfig.CloudConfigManager - === getConnectionState === 
2018-10-03 13:45:39,480 [  10184]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 912ms; general responsiveness: ok; EDT responsiveness: 0/1 sluggish, 1/1 very slow 
2018-10-03 13:45:39,776 [  10480]   INFO - j.ide.ui.OptionsTopHitProvider - 234 ms spent on EDT to cache options in application 
2018-10-03 13:45:39,788 [  10492]   INFO - tartup.impl.StartupManagerImpl - /Users/tonyfwhite/Sync/Workspaces/DevB/.idea case-sensitivity: expected=false actual=false 
2018-10-03 13:45:39,800 [  10504]   INFO - pl.projectlevelman.NewMappings - VCS Root: [] - [<Project>] 
2018-10-03 13:45:40,030 [  10734]   INFO - tor.impl.FileEditorManagerImpl - Project opening took 5143 ms 
2018-10-03 13:45:40,075 [  10779]   INFO - .cloudConfig.CloudConfigClient - === Get cloud config URL: https://cloudconfig.jetbrains.com/cloudconfig/files === 
2018-10-03 13:45:40,092 [  10796]   INFO - Json.PackageJsonUpdateNotifier - processPackageJsonFiles [] 
2018-10-03 13:45:40,095 [  10799]   WARN - ess.util.ProgressIndicatorBase - This progress indicator is indeterminate, this may lead to visual inconsistency. Please call setIndeterminate(false) before you start progress. 
2018-10-03 13:45:40,128 [  10832]   INFO - j.ide.ui.OptionsTopHitProvider - 70 ms spent to cache options in project 
2018-10-03 13:45:40,188 [  10892]   INFO - cloudConfig.CloudConfigManager - === StatusBar.start another widget: com.intellij.cloudConfig.StatusBarInfoManager$InfoComponent@35602ffc === 
2018-10-03 13:45:40,211 [  10915]   INFO - ellij.license.LicenseValidator - Server license validation result was Genuine. 
2018-10-03 13:45:40,212 [  10916]   INFO - ellij.license.LicenseValidator - Illuminated Cloud features are enabled. 
2018-10-03 13:45:40,212 [  10916]   INFO - ontentsSynchronizationListener - Initializing module contents synchronization listener. 
2018-10-03 13:45:40,214 [  10918]   INFO - ng.IlluminatedCloudFileHandler - Initializing Illuminated Cloud file handler. 
2018-10-03 13:45:40,437 [  11141]   INFO - j.ide.ui.OptionsTopHitProvider - 116 ms spent on EDT to cache options in project 
2018-10-03 13:45:40,504 [  11208]   INFO - j.ide.plugins.RepositoryHelper - using cached plugin list (updated at 3/10/18, 13:36) 
2018-10-03 13:45:43,625 [  14329]   INFO - j.ide.plugins.RepositoryHelper - using cached plugin list (updated at 3/10/18, 13:36) 
2018-10-03 13:45:43,659 [  14363]   INFO - cloudConfig.CloudConfigManager - === End.connect === 
2018-10-03 13:46:04,051 [  34755]   INFO - ellij.license.LicenseValidator - Server license validation result was Genuine. 
2018-10-03 13:46:27,154 [  57858]   INFO - luminatedCloudConnectionConfig - Retrieving org list from sfdx CLI. 
2018-10-03 13:46:27,157 [  57861]   INFO - luminatedCloudConnectionConfig - Retrieving org list information from sfdx CLI. 
2018-10-03 13:46:29,172 [  59876]  ERROR - llij.ide.plugins.PluginManager - null 
java.lang.NullPointerException
    at com.illuminatedcloud.intellij.settings.application.IlluminatedCloudConnectionConfig$SfdxConnectionConfigs.<init>(IlluminatedCloudConnectionConfig.java:134)
    at com.illuminatedcloud.intellij.settings.application.IlluminatedCloudConnectionConfig$SfdxConnectionConfigs.<init>(IlluminatedCloudConnectionConfig.java:126)
    at com.illuminatedcloud.intellij.settings.application.IlluminatedCloudConnectionConfig.getSfdxConnectionConfigs(IlluminatedCloudConnectionConfig.java:346)
    at com.illuminatedcloud.intellij.settings.application.IlluminatedCloudConnectionConfig.getConnectionConfigs(IlluminatedCloudConnectionConfig.java:265)
    at com.illuminatedcloud.intellij.action.OpenConnectionInBrowserAction.createPopupActionGroup(OpenConnectionInBrowserAction.java:86)
    at com.intellij.openapi.actionSystem.ex.ComboBoxAction.createPopupActionGroup(ComboBoxAction.java:116)
    at com.intellij.openapi.actionSystem.ex.ComboBoxAction.createActionPopup(ComboBoxAction.java:74)
    at com.intellij.openapi.actionSystem.ex.ComboBoxAction.access$000(ComboBoxAction.java:34)
    at com.intellij.openapi.actionSystem.ex.ComboBoxAction$ComboBoxButton.createPopup(ComboBoxAction.java:211)
    at com.intellij.openapi.actionSystem.ex.ComboBoxAction$ComboBoxButton.showPopup(ComboBoxAction.java:202)
    at com.intellij.openapi.actionSystem.ex.ComboBoxAction$ComboBoxButton.lambda$fireActionPerformed$0(ComboBoxAction.java:175)
    at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:3097)
    at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:183)
    at com.intellij.ide.IdeEventQueue.executeWhenAllFocusEventsLeftTheQueue(IdeEventQueue.java:132)
    at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:190)
    at com.intellij.openapi.actionSystem.ex.ComboBoxAction$ComboBoxButton.fireActionPerformed(ComboBoxAction.java:175)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:356)
    at com.intellij.openapi.actionSystem.ex.ComboBoxAction$ComboBoxButton$1.mousePressed(ComboBoxAction.java:155)
    at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
    at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
    at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
    at java.awt.Component.processMouseEvent(Component.java:6545)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3325)
    at java.awt.Component.processEvent(Component.java:6313)
    at java.awt.Container.processEvent(Container.java:2237)
    at java.awt.Component.dispatchEventImpl(Component.java:4903)
    at java.awt.Container.dispatchEventImpl(Container.java:2295)
    at java.awt.Component.dispatchEvent(Component.java:4725)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4523)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467)
    at java.awt.Container.dispatchEventImpl(Container.java:2281)
    at java.awt.Window.dispatchEventImpl(Window.java:2746)
    at java.awt.Component.dispatchEvent(Component.java:4725)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
    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.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
    at java.awt.EventQueue$4.run(EventQueue.java:737)
    at java.awt.EventQueue$4.run(EventQueue.java:735)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
    at com.intellij.ide.IdeEventQueue.j(IdeEventQueue.java:781)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:718)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
    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-10-03 13:46:29,174 [  59878]  ERROR - llij.ide.plugins.PluginManager - WebStorm 2018.2.3  Build #WS-182.4323.44 
2018-10-03 13:46:29,174 [  59878]  ERROR - llij.ide.plugins.PluginManager - JDK: 1.8.0_152-release 
2018-10-03 13:46:29,174 [  59878]  ERROR - llij.ide.plugins.PluginManager - VM: OpenJDK 64-Bit Server VM 
2018-10-03 13:46:29,174 [  59878]  ERROR - llij.ide.plugins.PluginManager - Vendor: JetBrains s.r.o 
2018-10-03 13:46:29,174 [  59878]  ERROR - llij.ide.plugins.PluginManager - OS: Mac OS X 
2018-10-03 13:46:29,174 [  59878]  ERROR - llij.ide.plugins.PluginManager - Last Action: ShowSettings 
2018-10-03 13:46:30,760 [  61464]   INFO - j.ide.plugins.RepositoryHelper - using cached plugin list (updated at 3/10/18, 13:36) 

Comments (9)

  1. Scott Wells repo owner

    Sorry for the issue. That NPE puts this squarely in my camp. I'll take a look today and see why that might be happening. I'll let you know something shortly.

  2. Scott Wells repo owner

    Tony, it appears that the CLI is returning an incomplete response from force:org:list, or perhaps IC isn't consuming it properly. Can you enable debug logging for Salesforce DX as documented here:

    http://www.illuminatedcloud.com/support/debuglogging

    then reproduce the issue and attach the corresponding idea.log files so I can see the dialog between IC and the CLI?

  3. Tony White reporter

    Here you go

    2018-10-04 11:14:58,518 [   7324]   INFO - cloudConfig.CloudConfigManager - === getConnectionState === 
    2018-10-04 11:14:58,897 [   7703]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 1168ms; general responsiveness: ok; EDT responsiveness: ok 
    2018-10-04 11:14:59,108 [   7914]   INFO - j.ide.ui.OptionsTopHitProvider - 188 ms spent on EDT to cache options in application 
    2018-10-04 11:14:59,153 [   7959]   INFO - tartup.impl.StartupManagerImpl - /Users/tonyfwhite/Sync/Workspaces/DevB/.idea case-sensitivity: expected=false actual=false 
    2018-10-04 11:14:59,166 [   7972]   INFO - pl.projectlevelman.NewMappings - VCS Root: [] - [<Project>] 
    2018-10-04 11:14:59,435 [   8241]   INFO - Json.PackageJsonUpdateNotifier - processPackageJsonFiles [] 
    2018-10-04 11:14:59,533 [   8339]   INFO - tor.impl.FileEditorManagerImpl - Project opening took 3561 ms 
    2018-10-04 11:14:59,600 [   8406]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 700ms; general responsiveness: ok; EDT responsiveness: ok 
    2018-10-04 11:14:59,627 [   8433]   WARN - ess.util.ProgressIndicatorBase - This progress indicator is indeterminate, this may lead to visual inconsistency. Please call setIndeterminate(false) before you start progress. 
    2018-10-04 11:14:59,691 [   8497]   INFO - j.ide.ui.OptionsTopHitProvider - 61 ms spent to cache options in project 
    2018-10-04 11:14:59,734 [   8540]   INFO - cloudConfig.CloudConfigManager - === StatusBar.start another widget: com.intellij.cloudConfig.StatusBarInfoManager$InfoComponent@59a24645 === 
    2018-10-04 11:14:59,750 [   8556]   INFO - .cloudConfig.CloudConfigClient - === Get cloud config URL: https://cloudconfig.jetbrains.com/cloudconfig/files === 
    2018-10-04 11:14:59,759 [   8565]   INFO - ellij.license.LicenseValidator - Server license validation result was Genuine. 
    2018-10-04 11:14:59,760 [   8566]   INFO - ellij.license.LicenseValidator - Illuminated Cloud features are enabled. 
    2018-10-04 11:14:59,760 [   8566]   INFO - ontentsSynchronizationListener - Initializing module contents synchronization listener. 
    2018-10-04 11:14:59,761 [   8567]   INFO - ng.IlluminatedCloudFileHandler - Initializing Illuminated Cloud file handler. 
    2018-10-04 11:14:59,966 [   8772]   INFO - j.ide.ui.OptionsTopHitProvider - 99 ms spent on EDT to cache options in project 
    2018-10-04 11:15:00,419 [   9225]   INFO - j.ide.plugins.RepositoryHelper - using cached plugin list (updated at 4/10/18, 10:45) 
    2018-10-04 11:15:03,840 [  12646]   INFO - j.ide.plugins.RepositoryHelper - using cached plugin list (updated at 4/10/18, 10:45) 
    2018-10-04 11:15:03,867 [  12673]   INFO - cloudConfig.CloudConfigManager - === End.connect === 
    2018-10-04 11:15:08,218 [  17024]   INFO - luminatedCloudConnectionConfig - Retrieving org list from sfdx CLI. 
    2018-10-04 11:15:08,223 [  17029]   INFO - luminatedCloudConnectionConfig - Retrieving org list information from sfdx CLI. 
    2018-10-04 11:15:08,224 [  17030]  DEBUG - atedcloud.util.CommandLineUtil - Running command line: /usr/local/lib/sfdx/bin/sfdx force:org:list --json 
    2018-10-04 11:15:08,230 [  17036]  DEBUG - .VariableLengthPollingInterval - /usr/local/lib/sfdx/bin/sfdx force:org:list --json: Using polling interval 1000 ms for polling iteration 1. 
    2018-10-04 11:15:09,231 [  18037]  DEBUG - .VariableLengthPollingInterval - /usr/local/lib/sfdx/bin/sfdx force:org:list --json: Using polling interval 1000 ms for polling iteration 2. 
    2018-10-04 11:15:10,232 [  19038]  DEBUG - .VariableLengthPollingInterval - /usr/local/lib/sfdx/bin/sfdx force:org:list --json: Using polling interval 1000 ms for polling iteration 3. 
    2018-10-04 11:15:11,235 [  20041]  DEBUG - atedcloud.util.CommandLineUtil - Returning command-line response: CommandLineResponse{exitCode=1, output='', error='{"message":"No orgs can be found.","status":1,"stack":"noOrgsFound: No orgs can be found.\n    at ALMError (/usr/local/lib/sfdx/node_modules/salesforce-alm/dist/lib/almError.js:43:19)\n    at fs.readdirAsync.then (/usr/local/lib/sfdx/node_modules/salesforce-alm/dist/lib/scratchOrgApi.js:816:23)\n    at tryCatcher (/usr/local/lib/sfdx/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/usr/local/lib/sfdx/node_modules/bluebird/js/release/promise.js:510:31)\n    at Promise._settlePromise (/usr/local/lib/sfdx/node_modules/bluebird/js/release/promise.js:567:18)\n    at Promise._settlePromise0 (/usr/local/lib/sfdx/node_modules/bluebird/js/release/promise.js:612:10)\n    at Promise._settlePromises (/usr/local/lib/sfdx/node_modules/bluebird/js/release/promise.js:691:18)\n    at Promise._fulfill (/usr/local/lib/sfdx/node_modules/bluebird/js/release/promise.js:636:18)\n    at /usr/local/lib/sfdx/node_modules/bluebird/js/release/nodeback.js:42:21\n    at go$readdir$cb (/usr/local/lib/sfdx/node_modules/graceful-fs/graceful-fs.js:149:14)\n    at FSReqWrap.oncomplete (fs.js:135:15)","name":"noOrgsFound","warnings":[],"action":"Use one of the commands in force:auth or force:org:create to add or create new scratch orgs."}'} 
    2018-10-04 11:15:11,238 [  20044]  ERROR - llij.ide.plugins.PluginManager - null 
    java.lang.NullPointerException
        at com.illuminatedcloud.intellij.settings.application.IlluminatedCloudConnectionConfig$SfdxConnectionConfigs.<init>(IlluminatedCloudConnectionConfig.java:134)
        at com.illuminatedcloud.intellij.settings.application.IlluminatedCloudConnectionConfig$SfdxConnectionConfigs.<init>(IlluminatedCloudConnectionConfig.java:126)
        at com.illuminatedcloud.intellij.settings.application.IlluminatedCloudConnectionConfig.getSfdxConnectionConfigs(IlluminatedCloudConnectionConfig.java:346)
        at com.illuminatedcloud.intellij.settings.application.IlluminatedCloudConnectionConfig.getConnectionConfigs(IlluminatedCloudConnectionConfig.java:265)
        at com.illuminatedcloud.intellij.action.OpenConnectionInBrowserAction.createPopupActionGroup(OpenConnectionInBrowserAction.java:86)
        at com.intellij.openapi.actionSystem.ex.ComboBoxAction.createPopupActionGroup(ComboBoxAction.java:116)
        at com.intellij.openapi.actionSystem.ex.ComboBoxAction.createActionPopup(ComboBoxAction.java:74)
        at com.intellij.openapi.actionSystem.ex.ComboBoxAction.access$000(ComboBoxAction.java:34)
        at com.intellij.openapi.actionSystem.ex.ComboBoxAction$ComboBoxButton.createPopup(ComboBoxAction.java:211)
        at com.intellij.openapi.actionSystem.ex.ComboBoxAction$ComboBoxButton.showPopup(ComboBoxAction.java:202)
        at com.intellij.openapi.actionSystem.ex.ComboBoxAction$ComboBoxButton.lambda$fireActionPerformed$0(ComboBoxAction.java:175)
        at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:3097)
        at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:183)
        at com.intellij.ide.IdeEventQueue.executeWhenAllFocusEventsLeftTheQueue(IdeEventQueue.java:132)
        at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:190)
        at com.intellij.openapi.actionSystem.ex.ComboBoxAction$ComboBoxButton.fireActionPerformed(ComboBoxAction.java:175)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:356)
        at com.intellij.openapi.actionSystem.ex.ComboBoxAction$ComboBoxButton$1.mousePressed(ComboBoxAction.java:155)
        at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
        at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
        at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
        at java.awt.Component.processMouseEvent(Component.java:6545)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3325)
        at java.awt.Component.processEvent(Component.java:6313)
        at java.awt.Container.processEvent(Container.java:2237)
        at java.awt.Component.dispatchEventImpl(Component.java:4903)
        at java.awt.Container.dispatchEventImpl(Container.java:2295)
        at java.awt.Component.dispatchEvent(Component.java:4725)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4523)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467)
        at java.awt.Container.dispatchEventImpl(Container.java:2281)
        at java.awt.Window.dispatchEventImpl(Window.java:2746)
        at java.awt.Component.dispatchEvent(Component.java:4725)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
        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.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
        at java.awt.EventQueue$4.run(EventQueue.java:737)
        at java.awt.EventQueue$4.run(EventQueue.java:735)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
        at com.intellij.ide.IdeEventQueue.j(IdeEventQueue.java:781)
        at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:718)
        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
        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-10-04 11:15:11,239 [  20045]  ERROR - llij.ide.plugins.PluginManager - WebStorm 2018.2.3  Build #WS-182.4323.44 
    2018-10-04 11:15:11,239 [  20045]  ERROR - llij.ide.plugins.PluginManager - JDK: 1.8.0_152-release 
    2018-10-04 11:15:11,239 [  20045]  ERROR - llij.ide.plugins.PluginManager - VM: OpenJDK 64-Bit Server VM 
    2018-10-04 11:15:11,239 [  20045]  ERROR - llij.ide.plugins.PluginManager - Vendor: JetBrains s.r.o 
    2018-10-04 11:15:11,239 [  20045]  ERROR - llij.ide.plugins.PluginManager - OS: Mac OS X 
    2018-10-04 11:15:11,239 [  20045]  ERROR - llij.ide.plugins.PluginManager - Last Action:  
    2018-10-04 11:15:12,733 [  21539]   INFO - j.ide.plugins.RepositoryHelper - using cached plugin list (updated at 4/10/18, 10:45) 
    
  4. Scott Wells repo owner

    Okay, based on that log it looks like an SFDX CLI issue and not and IC issue (though I could handle the lack of data much better!). I assume if you run sfdx force:org:list from the command-line you also see this type of behavior? Assuming so...and assuming you have in fact authenticated to some orgs and/or created some scratch orgs, I think you might need to reach out to Salesforce to understand why those orgs aren't showing up.

    If you're not even using SFDX, you can work around this NPE by removing the configured SFDX CLI in Illuminated Cloud>Configure Application>Salesforce DX. Just clear the Salesforce DX executable field and click OK. Then IC won't consult the CLI for its orgs when listing connections. It'll just show a list of the ones you've configured in IC.

    I'll fix the NPE in the next build, but hopefully that will provide a workaround for you.

  5. Tony White reporter

    Hey Scott

    Yep tested that command and got same error at the command line No I have 0/nada/none/zip SFDX orgs configured/authenticated. ;)

    If I remove the Salesforce DX Executable, then I loose the Lightning Lint inspections ;)

    So will either wait for the next release OR just add in an env to shut it up ;)

    Thanks

  6. Scott Wells repo owner

    No, no...you found a bug! That's mine to fix. I've actually already fixed the bug...well, I think I did but since I have scratch orgs I'm not 100% sure...pretty sure, though. I've attached a build with the fix here if you want to download it and try it out. Note that it does have another change in it that could--though hopefully won't--cause issues. Basically I've minimized the SOAP API clients so that you don't have that long pause the first time that IC communicates with an org. Feel free to try it out if you'd like. Otherwise I'll try to get an official build out tomorrow or Friday with this fix included. Sorry for the inconvenience! Thanks for reporting the issue, though!

  7. Tony White reporter

    ok looks like you have fixed it! :) I had added an org (at cmd-line) but removed it and tested and it looks good.

    Thanks for the quick fix! You should find I have reported a few bugs now ;) anything to make this tool better!

  8. Log in to comment