On Mon, 5 Sep 2022 12:45:53 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

> NPE is thrown for closed/disposed JDialogs after uninstalling the UI which is 
> because for SynthEditorPaneUI even though is disposed of, Nimbus 
> propertyHandler tries to get the style of this disposed component resulting 
> in NPE, 
> which is fixed by a null check to prevent deferencing style object to get the 
> color.

This pull request has now been integrated.

Changeset: 4c77bd32
Author:    Prasanta Sadhukhan <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/4c77bd32a0d2cfbdd15e58a9b48f6952d52e7156
Stats:     127 lines in 2 files changed: 127 ins; 0 del; 0 mod

6529151: NullPointerException in swing.plaf.synth.SynthLookAndFeel$Handler

Reviewed-by: serb, dnguyen

-------------

PR: https://git.openjdk.org/jdk/pull/10167

Reply via email to