Error in SonarLint for IntelliJ - Cannot read field "x"

Environment:

  • Java: JetBrains s.r.o. 17.0.9
  • OS: Windows 10 amd64
  • IDE: JetBrains Rider 2023.3.3
  • SonarLint: 10.3.0.77475
java.lang.NullPointerException: Cannot read field "x" because "rowBounds" is null
	at c.ij.ui.treeStructure.treetable.TreeTableTree.setVisibleRow(TreeTableTree.java:98)
	at c.ij.ui.treeStructure.treetable.TreeTableCellRenderer.getTableCellRendererComponent(TreeTableCellRenderer.java:71)
	at java.desktop/javax.swing.JTable.prepareRenderer(JTable.java:5812)
	at c.ij.ui.table.JBTable.prepareRenderer(JBTable.java:731)
	at java.desktop/javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2210)
	at java.desktop/javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2112)
	at java.desktop/javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1908)
	at java.desktop/javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
	at java.desktop/javax.swing.JComponent.paintComponent(JComponent.java:845)
	at c.ij.ui.table.JBTable.paintComponent(JBTable.java:428)
	at java.desktop/javax.swing.JComponent.paint(JComponent.java:1115)
	at c.ij.ui.table.JBTable.paint(JBTable.java:564)
	at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:955)
	at java.desktop/javax.swing.JComponent.paint(JComponent.java:1124)
	at java.desktop/javax.swing.JViewport.paint(JViewport.java:736)
	at c.ij.ui.components.JBViewport.paint(JBViewport.java:235)
	at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:955)
	at java.desktop/javax.swing.JComponent.paint(JComponent.java:1124)

Hi @Jacek_Uriu, we are aware of this issue, and it will be fixed as part of the next release next week.

Thank you for using SonarLint :sonarlint: