Skip to content

Conversation

@stokito
Copy link
Contributor

@stokito stokito commented Jan 9, 2026

I started Spark with a debugger and during the Spark exiting there was a few exceptions:

java.lang.NullPointerException: Cannot invoke "javax.swing.table.DefaultTableModel.getRowCount()" because "this.this$0.messagesTable" is null
	at org.jivesoftware.smackx.debugger.EnhancedDebugger$20.run(EnhancedDebugger.java:806)

So here is a null check to avoid such an error. Some description from AI:

To provide a long-term fix, we need to add a null check before accessing messagesTable inside the EnhancedDebugger class. Since this is happening inside a run() method (likely an anonymous inner class or lambda passed to SwingUtilities.invokeLater), we need to ensure the debugger's UI state is valid before proceeding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant