Error in SonarLint for PyCharm OS X

Environment:

  • Java: JetBrains s.r.o. 17.0.9
  • OS: Mac OS X x86_64
  • IDE: PyCharm 2023.3
  • SonarLint: 10.1.1.77150
java.lang.RuntimeException: Cannot invoke (class=, method=fileClosed, topic=FileEditorManagerListener)
	at c.ij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:677)
	at c.ij.util.messages.impl.MessageBusImplKt.deliverMessage(MessageBusImpl.kt:423)
	at c.ij.util.messages.impl.MessageBusImplKt.pumpWaiting(MessageBusImpl.kt:402)
	at c.ij.util.messages.impl.MessageBusImplKt.access$pumpWaiting(MessageBusImpl.kt:1)
	at c.ij.util.messages.impl.MessagePublisher.invoke(MessageBusImpl.kt:461)
	at jdk.proxy1/jdk.proxy1.$Proxy86.fileClosed(Unknown Source)
	at c.ij.oa.fileEditor.impl.EditorWindow.closeFile$lambda$8$lambda$7(EditorWindow.kt:594)
	at c.ij.oa.fileEditor.impl.FileEditorManagerImpl.notifyPublisher(FileEditorManagerImpl.kt:1275)
	at c.ij.oa.fileEditor.impl.EditorWindow.closeFile$intellij_platform_ide_impl(EditorWindow.kt:591)
	at c.ij.oa.fileEditor.impl.EditorWindow.closeFile$intellij_platform_ide_impl$default(EditorWindow.kt:559)
	at c.ij.oa.fileEditor.impl.FileEditorManagerImpl.closeFile$intellij_platform_ide_impl(FileEditorManagerImpl.kt:696)
	at c.ij.oa.fileEditor.impl.FileEditorManagerImpl.closeFile(FileEditorManagerImpl.kt:717)
	at c.ij.oa.fileEditor.impl.tabActions.CloseTab.actionPerformed(CloseTab.kt:101)
	at c.ij.oa.actionSystem.ex.ActionUtil.doPerformActionOrShowPopup(ActionUtil.java:344)
	at c.ij.oa.keymap.impl.ActionProcessor.performAction(ActionProcessor.java:32)

Hi @Blaise_Pabon,

Thanks for reporting this problem. I am not able to reproduce it locally, and the stacktrace is truncated. Do you still reproduce it? Could you share the full stacktrace with us if you have it?

Hi @Blaise_Pabon,

We found the cause of this error, it’s not related to SonarLint. See this thread