I experience the same issue reliably in CLion during start up:
Environment:
- Java: JetBrains s.r.o. 21.0.3
- OS: Linux amd64
- IDE: CLion 2024.2.2
- SonarLint: 10.12.0.79769
java.lang.Throwable: Symbol building is not allowed: 1732058662561 .
Loaded: false
Dumb: true
Previous activities:
rebuildSymbols 1732058661650: START
at c.ij.oa.dg.Logger.error(Logger.java:376)
at com.jetbrains.cidr.lang.symbols.symtable.building.OCBuildingActivityExecutionService.assertParsingAndSymbolBuildingAllowed(OCBuildingActivityExecutionService.kt:80)
at com.jetbrains.cidr.lang.symbols.symtable.FileSymbolTable.forFile(FileSymbolTable.java:248)
at com.jetbrains.cidr.lang.symbols.symtable.FileSymbolTable.forFile(FileSymbolTable.java:240)
at com.jetbrains.cidr.lang.preprocessor.OCImportGraph.traverseWithIncludes(OCImportGraph.java:147)
at com.jetbrains.cidr.lang.preprocessor.OCImportGraph.getAllRootHeaders(OCImportGraph.java:204)
at com.jetbrains.cidr.lang.preprocessor.OCImportGraph.fillHeaderConfigurationsForRoot(OCImportGraph.java:281)
at com.jetbrains.cidr.lang.preprocessor.OCResolveRootAndConfigurationCache.inferResolveRootAndActiveConfigurationForHeader(OCResolveRootAndConfigurationCache.java:153)
at com.jetbrains.cidr.lang.preprocessor.OCResolveRootAndConfigurationCache.inferResolveRootAndActiveConfiguration(OCResolveRootAndConfigurationCache.java:95)
at com.jetbrains.cidr.lang.preprocessor.OCResolveRootAndConfigurationCache.inferAndCache(OCResolveRootAndConfigurationCache.java:74)
at com.jetbrains.cidr.lang.preprocessor.OCResolveRootAndConfigurationCache.getResolveRootAndActiveConfiguration(OCResolveRootAndConfigurationCache.java:65)
at com.jetbrains.cidr.lang.workspace.OCLanguageKindCalculator.calculateLanguageKind(OCLanguageKindCalculator.java:130)
at com.jetbrains.cidr.lang.workspace.OCLanguageKindCalculator.calculateLanguageKind(OCLanguageKindCalculator.java:110)
at com.jetbrains.cidr.lang.workspace.OCLanguageKindCalculator.calculateLanguageKind(OCLanguageKindCalculator.java:70)
at com.jetbrains.cidr.lang.psi.impl.OCPsiFileBaseImpl.calculateKind(OCPsiFileBaseImpl.java:55)
at com.jetbrains.cidr.lang.psi.impl.OCPsiFileBaseImpl.getKind(OCPsiFileBaseImpl.java:47)
at o.sl.ij.clion.CLionAnalyzerConfiguration.getConfigurationAction(CLionAnalyzerConfiguration.java:74)
at o.sl.ij.clion.CLionAnalyzerConfiguration.lambda$getConfiguration$0(CLionAnalyzerConfiguration.java:52)
at o.sl.ij.common.ui.ReadActionUtils$Companion.computeReadActionSafely$lambda$5(ReadActionUtils.kt:78)
at c.ij.oa.ap.impl.AnyThreadWriteThreadingSupport.runReadAction(AnyThreadWriteThreadingSupport.kt:264)
at c.ij.oa.ap.impl.AnyThreadWriteThreadingSupport.runReadAction(AnyThreadWriteThreadingSupport.kt:221)
at c.ij.oa.ap.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:857)
at c.ij.oa.ap.ReadAction.compute(ReadAction.java:66)
at o.sl.ij.common.ui.ReadActionUtils$Companion.computeReadActionSafely(ReadActionUtils.kt:77)
at o.sl.ij.common.ui.ReadActionUtils.computeReadActionSafely(ReadActionUtils.kt)
at o.sl.ij.clion.CLionAnalyzerConfiguration.getConfiguration(CLionAnalyzerConfiguration.java:52)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)