I added a label and came from :

doc.addError('vous ne pouvez pas ajouter de PJ');*

to :


It's fine on dev console, but IntelliJ isn't able to find the Custom Label ; I tried retrieving metadata but I'm missing something... Any idea how to resolve this ? I can delete my project and import it from scratch, but it's a waste of time even if it would do the work..

A screenshot from the error:

enter image description here

Thanks !

edit: my src file (that doesn't contain CustomLabels ?!)

enter image description here

edit2 : I'm trying to add custom labels by adding it to the package.xml enter image description here

1 Answer 1


Just try to regenerate the offline symbol table. Navigate to

Tools -> Illuminated Cloud -> Generate Offline Symbol Table ... -> Full

And then Reload the Project

  • I'm new using IntelliJ, I'll find how to do it and do it, thanks !! May 22, 2019 at 10:29
  • I've updated my answer May 22, 2019 at 10:32
  • 1
    I think that you haven't retrieved this Custom Label. You can check it by opening labels -> CustomLabels.labels file in your project scr. Then try to check availability of Document_messageErrSuppressionPJ. If there is no such label refresh metadata of CustomLabels.labels file and regenerate the offlline symbol table. May 22, 2019 at 10:51
  • 1
    Go to Tools -> Illuminated Cloud -> Retrieve Metadata... select Custom as Contents input option. Then select "labels" from the list below and press Retrieve May 22, 2019 at 10:58
  • 1
    You're welcome. Have a nice day)) May 22, 2019 at 11:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.