"System" symbols no longer being resolved properly?

Issue #2151 resolved
Tom Fuda created an issue

I’m my IlluminatedCloud projects, I’m seeing that system symbols are no longer being resolved properly. All system classes and methods of those classes appear in red in the Apex code editor because the symbols are unresolved. I’ve tried rebuilding my symbol table several times to try to correct this, but it doesn’t seem to solve the problem. Here’s an example of one of our custom Apex methods that tries to use the System.Messaging class to send an email: https://www.screencast.com/t/N5Iu5Xjh. Even data types such as Id and Boolean are not being resolved properly. This is new behavior that I just started noticing within the last week or so, but I cannot pinpoint exactly when I began seeing this. I believe it may have begun following the most recent upgrades of both RM and IC. I noticed that in a project where I had NOT yet rebuilt the symbol table following the upgrade, the system symbols were resolvable, but after rebuilding, not resolvable. I’m seeing it in both DX projects and non-DX projects (Metadata API projects). I’m using the latest RubyMine (2022.1.3, build RM-221.5921.22) with latest IlluminatedCloud plugin (version 2.2.2.7).

Comments (4)

  1. Scott Wells repo owner

    Hi, Tom. I just pulled up a project in the latest RubyMine/IC2 builds and regenerated the OST to be sure. Everything looks fine on this side:

    Issue_2151.png

    The only thing that comes to mind is that it's failing to get (or process) the system types during OST generation. Do you see any errors/stack traces in idea.log during that action?

    The other possibility is that your IDE's caches/indices have gotten into a weird state. You could use File>Invalidate Caches to rebuild them completely.

    Let me know if that doesn't help.

  2. Tom Fuda Account Deactivated reporter

    Invalidating caches seems to have resolved my issues. Thanks. I’ll close this.

  3. Log in to comment