Projects loose symbol table for built in types

16 views
Skip to first unread message

Jurgis Šalna

unread,
Mar 3, 2026, 5:19:35 PMMar 3
to Illuminated Cloud Q&A
I'm not sure exactly which ones are affected, but possibly more prone when I have multiple source roots under force-app/main. 
Happens when rebuilding OST (i.e. spring update).

Im not sure what to do in such case. 
Usually I try everything - rebuild OST, remove orphaned symbol table, rebuild caches and indices, invalidate caches, restart IC.
In this case invalidate caches + rebuilding OST helped.

For some projects I just given up and started new one, but it's pretty annoying.
Screenshot 2026-03-04 at 11.09.50 AM.png
Screenshot 2026-03-04 at 11.11.19 AM.png

Jurgis Šalna

unread,
Mar 3, 2026, 5:20:38 PMMar 3
to Illuminated Cloud Q&A, Jurgis Šalna

Actually only helped partially. Go figure.
Screenshot 2026-03-04 at 11.20.06 AM.png

Scott

unread,
Mar 3, 2026, 5:25:32 PMMar 3
to Illuminated Cloud Q&A, jurgis...@gmail.com
Can you provide an example of a project where this is happening? You mentioned that you have multiple source roots. That shouldn't be an issue, but there can be problems if, for example, some source roots contain other ones. What is the source root configuration of a project with this issue? 

Regards,
Scott Wells

Jurgis Šalna

unread,
Mar 3, 2026, 5:30:03 PMMar 3
to Illuminated Cloud Q&A, Scott, Jurgis Šalna
Thats my typical pattern - create directories under main, then mark them as source root.

FWIW doing full OST rebuild (not just SObjects) seems to have resolved this. But I'm not sure it always does.
Screenshot 2026-03-04 at 11.27.52 AM.png

Scott

unread,
Mar 3, 2026, 5:42:48 PMMar 3
to Illuminated Cloud Q&A, jurgis...@gmail.com, Scott
The next time it happens, please provide the `.iml` file for the project and the `idea.log` that (hopefully) includes right around the time this started happening.

Regards,
Scott Wells
Reply all
Reply to author
Forward
0 new messages