Error in SonarLint for IntelliJ - Throwable: Symbol building is not allowed


  • Java: JetBrains s.r.o. 17.0.10
  • OS: Windows 10 amd64
  • IDE: CLion 2023.3.4
  • SonarLint:
java.lang.Throwable:       Symbol building is not allowed: 1710410182571 . 
      Loaded: false
      Dumb:   true
      Previous activities: 
      rebuildSymbols 1710409167199: START
rebuildSymbols 1710409167199: END after 27148
rebuildSymbols 1710409972609: START
	at c.ij.oa.diagnostic.Logger.error(
	at com.jetbrains.cidr.lang.symbols.symtable.building.OCBuildingActivityExecutionService.assertParsingAndSymbolBuildingAllowed(OCBuildingActivityExecutionService.kt:80)
	at com.jetbrains.cidr.lang.symbols.symtable.FileSymbolTable.forFile(
	at com.jetbrains.cidr.lang.symbols.symtable.FileSymbolTable.forFile(
	at com.jetbrains.cidr.lang.preprocessor.OCImportGraph.traverseWithIncludes(
	at com.jetbrains.cidr.lang.preprocessor.OCImportGraph.getAllRootHeaders(
	at com.jetbrains.cidr.lang.preprocessor.OCImportGraph.fillHeaderConfigurationsForRoot(
	at com.jetbrains.cidr.lang.preprocessor.OCResolveRootAndConfigurationCache.inferResolveRootAndActiveConfigurationForHeader(
	at com.jetbrains.cidr.lang.preprocessor.OCResolveRootAndConfigurationCache.inferResolveRootAndActiveConfiguration(
	at com.jetbrains.cidr.lang.preprocessor.OCResolveRootAndConfigurationCache.inferAndCache(

Hello @AndresDuque, this issue does not seem related to SonarLint, if you could give us more information that would be appreciated. Could you describe in which context it happened and what was happening in the IDE around that time? Is it a recurring issue?


Hi Nicolas,

I can’t provide many details regarding the issue I encountered while using the IDE. I reported the problem through the IDE, but I don’t know the root cause of the issue yet. The problem occurred three times yesterday.

I think it could be related to SonarLint, because I didn’t have this issue before installing it. I used SonarLint previously, but I had the same issue. Therefore, I decided to uninstall it.

In this case, it would be appreciated if you could share the full stack trace. We already had this issue being reported in the past years, but we lack information to understand the root cause.

We will also work on supporting SonarLint in CLion Nova in the near future, which will require some refactoring on our side; perhaps this will improve the behavior regarding this issue.