Sonar plugin crashed after revert generated code related to react Preview Js config

Environment:

  • Java: JetBrains s.r.o. 17.0.9
  • OS: Linux amd64
  • IDE: IntelliJ IDEA 2023.3.2
  • SonarLint: 10.2.0.77238
java.lang.RuntimeException: Cannot invoke (class=MyVirtualFileListener, method=before, topic=BulkFileListener)
	at c.ij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:677)
	at c.ij.util.messages.impl.MessageBusImplKt.executeOrAddToQueue(MessageBusImpl.kt:492)
	at c.ij.util.messages.impl.ToDirectChildrenMessagePublisher.publish$intellij_platform_core(CompositeMessageBus.kt:310)
	at c.ij.util.messages.impl.MessagePublisher.invoke(MessageBusImpl.kt:449)
	at jdk.proxy2/jdk.proxy2.$Proxy235.before(Unknown Source)
	at c.ij.oa.vfs.newvfs.persistent.PersistentFSImpl.lambda$fireBeforeEvents$15(PersistentFSImpl.java:1413)
	at c.ij.oa.vfs.newvfs.persistent.PersistentFSImpl.runSuppressing(PersistentFSImpl.java:1036)
	at c.ij.oa.vfs.newvfs.persistent.PersistentFSImpl.fireBeforeEvents(PersistentFSImpl.java:1412)
	at c.ij.oa.vfs.newvfs.persistent.PersistentFSImpl.lambda$processEvent$6(PersistentFSImpl.java:1017)
	at c.ij.oa.vfs.newvfs.persistent.PersistentFSImpl.runSuppressing(PersistentFSImpl.java:1036)
	at c.ij.oa.vfs.newvfs.persistent.PersistentFSImpl.processEvent(PersistentFSImpl.java:1016)
	at c.ij.oa.vfs.newvfs.persistent.PersistentFSImpl.deleteFile(PersistentFSImpl.java:710)
	at c.ij.oa.vfs.newvfs.impl.VirtualFileSystemEntry.delete(VirtualFileSystemEntry.java:304)
	at c.ij.oa.fileChooser.actions.VirtualFileDeleteProvider$1.lambda$run$0(VirtualFileDeleteProvider.java:70)
	at c.ij.oa.application.WriteAction.lambda$runAndWait$2(WriteAction.java:114)

Hi @Armel_Hyacinthe_BOBD,

Do you remember if this error happened on a specific action?

Unfortunately, the stack trace appears to be truncated. If you still have it, or if the error reappears, please share the full stack trace with us.

Thank you

Hi can i ask you how did you add sonareqube in sonarlint settings in intellij v2023.3.2 i cant see the add button

Hi @Ray75, let’s follow up your question on a specific thread: