Error in SonarLint for IntelliJ17.0.9

Environment:

  • Java: JetBrains s.r.o. 17.0.8.1
  • OS: Windows 11 amd64
  • IDE: WebStorm 2023.2.4
  • SonarLint: 10.0.1.77000
java.lang.IllegalStateException: Timer already cancelled.
	at java.base/java.util.Timer.sched(Timer.java:409)
	at java.base/java.util.Timer.schedule(Timer.java:205)
	at o.sl.ij.fs.EditorFileChangeListener.afterDocumentChange(EditorFileChangeListener.kt:68)
	at c.ij.oa.editor.event.BulkAwareDocumentListener$Simple.bulkUpdateFinished(BulkAwareDocumentListener.java:49)
	at jdk.internal.reflect.GeneratedMethodAccessor495.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at c.ij.util.EventDispatcher.dispatchVoidMethod(EventDispatcher.java:118)
	at c.ij.util.EventDispatcher.lambda$createMulticaster$1(EventDispatcher.java:83)
	at jdk.proxy2/jdk.proxy2.$Proxy146.bulkUpdateFinished(Unknown Source)
	at c.ij.oa.editor.impl.DocumentImpl.notifyListenersOnBulkModeFinished(DocumentImpl.java:1142)
	at c.ij.oa.editor.impl.DocumentImpl.setInBulkUpdate(DocumentImpl.java:1114)
	at c.ij.util.DocumentUtil.executeInBulk(DocumentUtil.java:38)
	at c.ij.util.DocumentUtil.executeInBulk(DocumentUtil.java:43)
	at c.ij.lang.javascript.formatter.JSEnforceCodeStylePostProcessor.processTextRange(JSEnforceCodeStylePostProcessor.java:86)
	at c.ij.lang.javascript.formatter.PostFormatProcessorUtil.processText(PostFormatProcessorUtil.java:44)
	at c.ij.lang.javascript.formatter.JSEnforceCodeStylePostProcessor.processText(JSEnforceCodeStylePostProcessor.java:52)

Environment:

  • Java: JetBrains s.r.o. 17.0.8.1
  • OS: Windows 11 amd64
  • IDE: WebStorm 2023.2.4
  • SonarLint: 10.0.1.77000
java.lang.IllegalStateException: Timer already cancelled.
	at java.base/java.util.Timer.sched(Timer.java:409)
	at java.base/java.util.Timer.schedule(Timer.java:205)
	at o.sl.ij.fs.EditorFileChangeListener.afterDocumentChange(EditorFileChangeListener.kt:68)
	at c.ij.oa.editor.event.BulkAwareDocumentListener$Simple.documentChangedNonBulk(BulkAwareDocumentListener.java:39)
	at c.ij.oa.editor.event.BulkAwareDocumentListener.documentChanged(BulkAwareDocumentListener.java:21)
	at jdk.internal.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at c.ij.util.EventDispatcher.dispatchVoidMethod(EventDispatcher.java:118)
	at c.ij.util.EventDispatcher.lambda$createMulticaster$1(EventDispatcher.java:83)
	at jdk.proxy2/jdk.proxy2.$Proxy130.documentChanged(Unknown Source)
	at c.ij.oa.editor.impl.DocumentImpl.lambda$changedUpdate$1(DocumentImpl.java:913)
	at c.ij.oa.progress.impl.CoreProgressManager.lambda$executeNonCancelableSection$3(CoreProgressManager.java:222)
	at c.ij.oa.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:679)
	at c.ij.oa.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:635)
	at c.ij.oa.progress.impl.CoreProgressManager.lambda$computeInNonCancelableSection$4(CoreProgressManager.java:230)

Environment:

  • Java: JetBrains s.r.o. 17.0.9
  • OS: Linux amd64
  • IDE: IntelliJ IDEA 2023.2.5
  • SonarLint: 10.0.1.77000
java.lang.IllegalStateException: Timer already cancelled.
	at java.base/java.util.Timer.sched(Timer.java:409)
	at java.base/java.util.Timer.schedule(Timer.java:205)
	at o.sl.ij.fs.EditorFileChangeListener.afterDocumentChange(EditorFileChangeListener.kt:68)
	at c.ij.oa.editor.event.BulkAwareDocumentListener$Simple.documentChangedNonBulk(BulkAwareDocumentListener.java:39)
	at c.ij.oa.editor.event.BulkAwareDocumentListener.documentChanged(BulkAwareDocumentListener.java:21)
	at jdk.internal.reflect.GeneratedMethodAccessor226.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at c.ij.util.EventDispatcher.dispatchVoidMethod(EventDispatcher.java:118)
	at c.ij.util.EventDispatcher.lambda$createMulticaster$1(EventDispatcher.java:83)
	at jdk.proxy2/jdk.proxy2.$Proxy108.documentChanged(Unknown Source)
	at c.ij.oa.editor.impl.DocumentImpl.lambda$changedUpdate$1(DocumentImpl.java:913)
	at c.ij.oa.progress.impl.CoreProgressManager.lambda$executeNonCancelableSection$3(CoreProgressManager.java:222)
	at c.ij.oa.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:679)
	at c.ij.oa.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:635)
	at c.ij.oa.progress.impl.CoreProgressManager.lambda$computeInNonCancelableSection$4(CoreProgressManager.java:230)

Hello everybody,

Thanks for reporting this problem. I created this ticket and we will fix it for the release planned at the end of the month.

In the meantime, you can simply ignore this error that does not cause any harm.