RFR: 6529151: NullPointerException in swing.plaf.synth.SynthLookAndFeel$Handler [v2]

Sergey Bylokhov serb at openjdk.org
Thu Sep 8 03:33:49 UTC 2022


On Wed, 7 Sep 2022 04:40:56 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> 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.
>
> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   test fix

Marked as reviewed by serb (Reviewer).

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

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



More information about the client-libs-dev mailing list