Error in SonarQube for IntelliJ

Environment:

  • Java: JetBrains s.r.o. 25.0.2
  • OS: Windows 11 amd64
  • IDE: IntelliJ IDEA 2026.1
  • SonarQube for IDE: 12.1.0.84508
java.lang.NullPointerException: Cannot read field "x" because "rowBounds" is null
	at c.ij.ui.treeStructure.treetable.TreeTableTree.setVisibleRow(TreeTableTree.java:101)
	at c.ij.ui.treeStructure.treetable.TreeTableCellRenderer.getTableCellRendererComponent(TreeTableCellRenderer.java:75)
	at java.desktop/javax.swing.JTable.prepareRenderer(JTable.java:5832)
	at c.ij.ui.table.JBTable.prepareRenderer(JBTable.java:800)
	at java.desktop/javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2187)
	at java.desktop/javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2086)
	at java.desktop/javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1882)
	at java.desktop/javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
	at java.desktop/javax.swing.JComponent.paintComponent(JComponent.java:855)
	at c.ij.ui.table.JBTable.paintComponent(JBTable.java:494)
	at java.desktop/javax.swing.JComponent.paint(JComponent.java:1124)
	at c.ij.ui.table.JBTable.paint(JBTable.java:633)
	at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:964)
	at java.desktop/javax.swing.JComponent.paint(JComponent.java:1133)
	at java.desktop/javax.swing.JViewport.paint(JViewport.java:736)
	at c.ij.ui.components.JBViewport.paint(JBViewport.java:267)
	at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:964)
	at c.ij.ui.components.JBScrollPane.paintChildren(JBScrollPane.java:294)
	at java.desktop/javax.swing.JComponent.paint(JComponent.java:1133)
	at c.ij.ui.components.JBScrollPane.paint(JBScrollPane.java:282)
	at java.desktop/javax.swing.JComponent.paintToOffscreen(JComponent.java:5325)
	at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBufferedImpl(RepaintManager.java:1625)
	at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1600)
	at java.desktop/javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1537)
	at java.desktop/javax.swing.RepaintManager.paint(RepaintManager.java:1297)
	at java.desktop/javax.swing.JComponent._paintImmediately(JComponent.java:5273)
	at java.desktop/javax.swing.JComponent.paintImmediately(JComponent.java:5083)
	at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:836)
	at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:799)
	at java.desktop/javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:739)
	at java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1866)
	at c.ij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:192)
	at c.ij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:192)
	at c.ij.util.concurrency.ChildContext.runInChildContext(propagation.kt:198)
	at c.ij.util.concurrency.ChildContext.runInChildContext(propagation.kt:192)
	at c.ij.util.concurrency.ContextRunnable.lambda$run$0(ContextRunnable.java:26)
	at c.ij.concurrency.ThreadContext.resetThreadContext(threadContext.kt:294)
	at c.ij.util.concurrency.ContextRunnable.run(ContextRunnable.java:25)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:323)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:732)

Hi,

Welcome to the community and thanks for this report!

Can you share what you were doing when this happened? And is it reproducible? If so, could we have a verbose log from IDE startup through to the error?

 
Thx,
Ann

Hi, I only open a project.

Hi,

Would it be possible to get a full verbose log from startup?

 
Thx,
Ann

Hey @Leszek_Janczewski, many thanks for the report. We actually have this old bug that is tracked on our side. Unfortunately, we never managed to reproduce nor understand the root cause of this. SonarQube for IntelliJ is also not mentioned in the stracktrace.

If you ever reproduce this problem, please let us know.