Error when running SOQL query for the first time

Issue #2310 resolved
Luke Kozakewycz created an issue

Seems to be session based because this happens every now and then but you would run an SOQL query and you would get this error:

java.lang.IllegalStateException: No metadata API server URL. You must call login() first.

Second time you run it, it’s fine and returns results.

Few minutes later, the same thing would occur again.

IC 2.2.5.4
New IntelliJ UI

Comments (2)

  1. Scott Wells repo owner

    Hmmmm….nothing has changed in this area in a very long time. Are these CLI-based connections or native connections? If CLI-based connections, can you please completely uninstall and reinstall the CLI? I saw a discussion very recently where the CLI was thrashing on sessions and it seems that a scorched earth reinstall resolved it. If that doesn’t resolve it--or if you’re using native connections--I’ll likely need to gather some diagnostic logs.

  2. Scott Wells repo owner

    Issue tracker grooming. If this is still an issue, please feel free to reopen, ideally with a concrete reproduction scenario.

  3. Log in to comment