Error in SonarLint for IntelliJ-2022.3.2


  • Java: JetBrains s.r.o. 17.0.5
  • OS: Windows 10 amd64
  • IDE: IntelliJ IDEA 2022.3.2
  • SonarLint:
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
	at java.base/jdk.internal.util.Preconditions.outOfBounds(
	at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(
	at java.base/jdk.internal.util.Preconditions.checkIndex(
	at java.base/java.util.Objects.checkIndex(
	at java.base/java.util.ArrayList.get(
	at c.ij.util.EditSourceOnDoubleClickHandler$TreeMouseListener.processDoubleClick(
	at c.ij.util.EditSourceOnDoubleClickHandler$TreeMouseListener.onDoubleClick(
	at c.ij.ui.DoubleClickListener.onClick(
	at c.ij.ui.ClickListener$1.mouseReleased(
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(
	at java.desktop/java.awt.Component.processMouseEvent(
	at java.desktop/javax.swing.JComponent.processMouseEvent(
	at c.ij.ui.treeStructure.Tree.processMouseEvent(

In the end, we deactivated this useless plugin, as it does not work and causes a continuous error here on all company machines and no help was received to solve it.
I don’t recommend it to anyone.

Hello @Attila_Rivnyak,

That’s unfortunate :confused:

I suppose you are connected to SonarQube. Would you mind sharing more details with us ? Could you try to comment out some portions of the file you are editing to see which one leads to this error ? And if the issue is correctly raised on SonarQube, could you tell me which rule it is ?