Unable to generate OST in multi-module project

Issue #1382 resolved
Margaret Martin created an issue

I’m unclear if the oddities I am seeing are one or two issues, but here goes. I’ve got a multi-module project that has worked fine until I updated to the most recent build. When I request an OST generation, I’m greeted with ‘At least one module must be associated with sirono_local'.

Looking at the .iml for each module, all but one points to sirono_local:

mmartin@sironos-MBP-2 ~/Development/sirono-salesforce (mm.ic_changes) $ grep -R connectionName .
./demo/demo.iml:        <option name="connectionName" value="sirono_local" />
./portal/portal.iml:        <option name="connectionName" value="sirono_local" />
./adapter-brg/adapter-brg.iml:        <option name="connectionName" value="sirono_local" />
./sirono-common/.idea/sirono-common.iml:        <option name="connectionName" value="sirono-common" />
./sirono-common/.idea/illuminatedCloud.xml:          <option name="connectionName" value="sirono-common" />
./adapter-payment-usaepay/adapter-payment-usaepay.iml:        <option name="connectionName" value="sirono_local" />
./adapter-cardconnect/adapter-cardconnect.iml:        <option name="connectionName" value="sirono_local" />
./sirono-common.iml:        <option name="connectionName" value="sirono_local" />
./adapter-payeezy/adapter-payeezy.iml:        <option name="connectionName" value="sirono_local" />
./adapter-Five9/adapter-Five9.iml:        <option name="connectionName" value="sirono_local" />
./insurance-discovery/insurance-discovery.iml:        <option name="connectionName" value="insurance_discovery" />
./adapter-phonenumber-numverify/adapter-phonenumber-numverify.iml:        <option name="connectionName" value="sirono_local" />
./adapter-stripe/adapter-stripe.iml:        <option name="connectionName" value="sirono_local" />
./call-center/call-center.iml:        <option name="connectionName" value="sirono_local" />
./data/data.iml:        <option name="connectionName" value="sirono_local" />

Thinking that something is stale somewhere, I thought I'd touch a connection in the project configuration UI. When I open it, all the modules show the sirono_local connection, but no OST. I reset the connection for the call-center module to sirono_local and I save (btw, it now shows a that a generated OST exists). Now I have configuration errors for all the other modules in the Event Log like:

17:50   Invalid configuration for module 'data'
            Module 'data': The following must be configured properly:
            module must have a generated offline symbol table
            module must use an Illuminated Cloud SDK

Diffing the project's illuminatedcloud.xml, I can see that the call-center entry has been removed completely (screen shot attached).

In the Event Log, I choose to let IC resolve the problems & it asks if want to use the existing OST for that connection. I choose yes. All the errors go away.

I re-constitute the call-center entry in illuminatedcloud.xml. I ask to generate the OST, same message about no module pointing to `sirono_local`

Comments (4)

  1. Margaret Martin reporter

    Seems like one of my co-workers has also updated to the latest IC and he is able to generate an OST. He’s on an older version of intelliJ & windows. I’m on 2019.2 & OSX

  2. Scott Wells repo owner

    Margaret, let's sync up today and see if we can figure out what's going on. Let me know when you might have a few minutes for a screen share.

  3. Log in to comment