RFR: 8293862: javax/swing/JFileChooser/8046391/bug8046391.java failed with 'Cannot invoke "java.awt.Image.getWidth(java.awt.image.ImageObserver)" because "retVal" is null'
Tejesh R
tr at openjdk.org
Wed Nov 30 09:04:28 UTC 2022
On Wed, 23 Nov 2022 20:40:33 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:
>> Observation found when JFileChooser is instantiated in WindowsLookAndFeel which invokes getSystemIcon() from WindowsFileChooserUI class. Could not find the exact root cause so predicting it to be an issue with icons not loaded where resolutionVariants map is empty in _public Image getResolutionVariant(double width, double height) _. Hence proposing a null check before accessing getWidth(). Fix is tested in CI system.
>
> This PR hasn't been touched in 8 days. I'm going to ProblemListing this test
> on windowx-x64 since we're up to 7 Tier3 failures in the jdk/jdk CI.
@dcubed-ojdk I'm able to reproduce the bug in mach5 test runs more often. More of failures are observed within test runs also and the issue is with `downloads` ImageIcon not loading up, to find out the exact root cause I might need some more time. Problem listing the test would be better now.
-------------
PR: https://git.openjdk.org/jdk/pull/11104
More information about the client-libs-dev
mailing list