Exception when starting IntelliJ

Hello,

since the update of IntelliJ to 2022.1.2 (Build #IU-221.5787.30, built on May 31, 2022), the following error message always appears at startup:

java.lang.Throwable: Assertion failed
	at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:218)
	at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:227)
	at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.doFindChildById(VirtualDirectoryImpl.java:558)
	at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$1ParentFinder.findChild(FSRecords.java:531)
	at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$1ParentFinder.findDescendantByIdPath(FSRecords.java:523)
	at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.findFileById(FSRecords.java:543)
	at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.findFileById(PersistentFSImpl.java:1437)
	at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.findFileById(PersistentFSImpl.java:58)
	at com.intellij.util.indexing.FileBasedIndexScanUtil.processFilesContainingAnyKey(FileBasedIndexScanUtil.java:244)
	at com.intellij.util.indexing.FileBasedIndexImpl.processFilesContainingAnyKey(FileBasedIndexImpl.java:1136)
	at com.intellij.psi.search.FilenameIndex.getVirtualFilesByNames(FilenameIndex.java:219)
	at com.intellij.psi.search.FilenameIndex.processFilesByNames(FilenameIndex.java:149)
	at com.intellij.psi.search.FilenameIndex.processFilesByName(FilenameIndex.java:125)
	at com.intellij.psi.search.FilenameIndex.processFilesByName(FilenameIndex.java:89)
	at com.intellij.psi.search.FilenameIndex.getFilesByName(FilenameIndex.java:177)
	at com.intellij.psi.search.FilenameIndex.getFilesByName(FilenameIndex.java:79)
	at com.haulmont.studio.backend.util.SearchHelper.lambda$findFilesByName$9(SearchHelper.java:395)
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:933)
	at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:68)
	at com.haulmont.studio.backend.util.SearchHelper.findFilesByName(SearchHelper.java:395)
	at com.haulmont.studio.backend.util.SearchHelper.findFileFromRelativePath(SearchHelper.java:254)
	at com.haulmont.studio.backend.util.SearchHelper.lambda$findFile$4(SearchHelper.java:205)
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:933)
	at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:68)
	at com.haulmont.studio.backend.util.SearchHelper.lambda$findFile$5(SearchHelper.java:202)
	at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:39)
	at com.intellij.util.CachedValueBase.lambda$getValueWithLock$3(CachedValueBase.java:227)
	at com.intellij.util.CachedValueBase.computeData(CachedValueBase.java:42)
	at com.intellij.util.CachedValueBase.lambda$getValueWithLock$4(CachedValueBase.java:227)
	at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:114)
	at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:44)
	at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
	at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:228)
	at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:28)
	at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
	at com.haulmont.studio.backend.util.SearchHelper.findFile(SearchHelper.java:200)
	at com.haulmont.studio.backend.util.SearchHelper.findFile(SearchHelper.java:387)
	at com.haulmont.studio.backend.util.SearchHelper.findFile(SearchHelper.java:382)
	at com.haulmont.studio.backend.metadata.context.ApplicationContextServiceImpl.getDescriptorDoc(ApplicationContextServiceImpl.java:458)
	at com.haulmont.studio.backend.metadata.context.ApplicationContextServiceImpl.resolveComponentAppProperty(ApplicationContextServiceImpl.java:408)
	at com.haulmont.studio.backend.metadata.context.ApplicationContextServiceImpl.getAllComponentsPropertyValue(ApplicationContextServiceImpl.java:378)
	at com.haulmont.studio.backend.metadata.context.ApplicationContextServiceImpl.getProcessedPropertyValue(ApplicationContextServiceImpl.java:359)
	at com.haulmont.studio.backend.metadata.context.ApplicationContextServiceImpl.resolveAppPropertyRecursively(ApplicationContextServiceImpl.java:301)
	at com.haulmont.studio.backend.metadata.context.ApplicationContextServiceImpl.resolveAppPropertyWithDependencies(ApplicationContextServiceImpl.java:284)
	at com.haulmont.studio.backend.metadata.context.AppPropertiesFacade.lambda$getPropertyCached$3(AppPropertiesFacade.java:174)
	at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:39)
	at com.intellij.util.CachedValueBase.lambda$getValueWithLock$3(CachedValueBase.java:227)
	at com.intellij.util.CachedValueBase.computeData(CachedValueBase.java:42)
	at com.intellij.util.CachedValueBase.lambda$getValueWithLock$4(CachedValueBase.java:227)
	at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:114)
	at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:44)
	at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
	at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:228)
	at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:28)
	at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
	at com.haulmont.studio.backend.metadata.context.AppPropertiesFacade.getPropertyCached(AppPropertiesFacade.java:156)
	at com.haulmont.studio.backend.metadata.context.AppPropertiesFacade.lambda$getProperty$2(AppPropertiesFacade.java:143)
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:933)
	at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:68)
	at com.haulmont.studio.backend.metadata.context.AppPropertiesFacade.getProperty(AppPropertiesFacade.java:138)
	at com.haulmont.studio.backend.metadata.context.AppPropertiesFacade.getProperty(AppPropertiesFacade.java:82)
	at com.haulmont.studio.backend.metadata.context.AppPropertiesFacade.getProperty(AppPropertiesFacade.java:68)
	at com.haulmont.studio.backend.metadata.context.AppPropertiesFacade.getProperty(AppPropertiesFacade.java:63)
	at com.haulmont.studio.intellij.action.cubamenu.runmenu.DatabaseAction.update(DatabaseAction.java:57)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performDumbAwareUpdate$0(ActionUtil.java:131)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:145)
	at com.intellij.openapi.actionSystem.impl.ActionUpdater.doUpdate(ActionUpdater.java:645)
	at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$updateActionReal$4(ActionUpdater.java:126)
	at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$computeOnEdt$6(ActionUpdater.java:210)
	at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:58)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:189)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$12(CoreProgressManager.java:608)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:683)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:639)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:607)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60)
	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:176)
	at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:58)
	at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$computeOnEdt$7(ActionUpdater.java:208)
	at com.intellij.openapi.actionSystem.impl.ActionUpdateEdtExecutor.lambda$computeOnEdt$0(ActionUpdateEdtExecutor.java:45)
	at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:200)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:873)
	at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:511)
	at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:69)
	at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:112)
	at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:42)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:898)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:746)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:439)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:803)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:438)
	at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:106)
	at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:604)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:436)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:873)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:484)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)

CUBA plugin version is 15.9-213.

Greetings,
Andreas

Hi, just to give info, for me it’s working.
I have the same version of Idea and CUBA plugin, I also have Jmix 1.2.2-213 and JPA Buddy 2022.2.5.221 (free).

Do you have other plugins installed? Sometimes is happens that when the Idea is upgraded to a new version, an incompatibile plugin can crash it.
Can you please give us the full error message.
Also can you look at this (scroll down Logs directory), and find your log directory and see what does log say?

It could be that you need to uninstall, delete all remains and then re-install, if you are in a hurry.
If you are able to open the Idea after the message, there is File - Repair IDE and File-Invalidate caches

Hi,

I have only three additional plugins installed:

2022-06-08 12_06_53-Window

Here the log from Intellij:

intellij-log-part.log (117,5 KB)

Greetings,
Andreas

Did you try “invalidate caches”? Might take some time.

Hi,

“invalidate caches” solves the problem.

Greetings,
Andreas