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: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to