You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Laszlo Kishalmi (Jira)" <ji...@apache.org> on 2020/01/12 23:48:00 UTC
[jira] [Created] (NETBEANS-3688) NPE when Debugging using FlatLaf
Laszlo Kishalmi created NETBEANS-3688:
-----------------------------------------
Summary: NPE when Debugging using FlatLaf
Key: NETBEANS-3688
URL: https://issues.apache.org/jira/browse/NETBEANS-3688
Project: NetBeans
Issue Type: Bug
Reporter: Laszlo Kishalmi
Assignee: Karl Tauber
During my recent tests it seems, setting up the debugger view using FlatLaf results a NPE.
It happens as [DebuggerViewComponent.getTreeBackground()|https://github.com/apache/netbeans/blob/c5cffaca24a64550209f7acfb636311fc0b51b2b/ide/spi.debugger.ui/src/org/netbeans/modules/debugger/ui/views/debugging/DebuggingViewComponent.java#L339] gives back null on FlatLaf.
It is easily fixable by adding: *Tree.textBackground=@background* to the FlatLaf.properties, however the usage of the getTreeBackground() method is a bit suspicious to me, so I'd like if a LaF expert could look at that.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists