"Cannot resolve symbol" error for all custom field
Illuminated Cloud build number : 20210701100955
Illuminated Cloud version : 2.1.8.2
IDEA build number : #IU-211.7628.21
IDEA version : 2021.1.3
For a few week now, all the custom fields are no longer recognized and show a “Cannot resolve symbol” error, despite trying to refresh symbol table multiple times. It happens on all my projects now.
What I tried so far :
- Reinstalling Illuminated Cloud
- Reinstalling IDEA
See linked logs and offline symbol table
Comments (4)
-
repo owner -
repo owner - changed status to resolved
Resolving assuming that will fix the issue, but if it doesn't please reopen with details about what you've done to grant read access to the missing fields.
-
Account Deleted reporter Hello,
I confirm that after checking “Ensure field read access“ and rebuilding symbol table the issue was gone !
Thank you for the efficient and quick support. -
repo owner Glad to hear! Thanks for letting me know that that resolved it for you.
- Log in to comment
Hi. I'm not seeing those fields in your OST, e.g.,
STAF_Assignment__c.User__c
. Here's the full definition of the OST stub Apex class for that SObject:That will usually happen if the user for the connection used by IC2 doesn't have read access to those fields. It doesn't matter if that user is a system administrator. Access must be granted explicitly via either profile or permission set. IC2 can help to ensure that permission, though you'll want to read the fine print. See the Ensure field read access connection configuration option as documented here:
https://bitbucket.org/RoseSilverSoftware/illuminatedcloud/wiki/User_Guide/Configuring_Connections
Please let me know if granting read access to the missing fields, either via that config option or explicitly yourself, then regenerating the OST doesn't resolve the issue.