-
Bug
-
Resolution: Fixed
-
P3
-
17, 19
-
b30
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8289628 | 20 | Sergey Bylokhov | P3 | Resolved | Fixed | b05 |
JDK-8291377 | 19.0.2 | Sergey Bylokhov | P3 | Resolved | Fixed | b01 |
JDK-8291214 | 19.0.1 | Sergey Bylokhov | P3 | Resolved | Fixed | b04 |
JDK-8301796 | 17.0.8-oracle | Dmitry Markov | P3 | Resolved | Fixed | b01 |
JDK-8299417 | 17.0.7 | Sergey Bylokhov | P3 | Resolved | Fixed | b01 |
Linux - Centos 7
A DESCRIPTION OF THE PROBLEM :
See bugs.freebsd.org Bug 264356 - java/openjdk17: java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment() on for multi-screen setups throws exception: Cannot read the array length because "this.screens" is null
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run java app that uses call to getLocalGraphicsEnvironment on multi-screen display with Xinerama disabled - display to screen number not zero.
As described in the freebsd bug report - It is easy to duplicate using xephyr:
Xephyr :3 -screen 800x600 -screen 800x600
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Program should run
ACTUAL -
Null Pointer Exception
---------- BEGIN SOURCE ----------
See above
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Fix suggested in above bug report.
FREQUENCY : always
- backported by
-
JDK-8289628 getLocalGraphicsEnvironment() on for multi-screen setups throws exception NPE
-
- Resolved
-
-
JDK-8291214 getLocalGraphicsEnvironment() on for multi-screen setups throws exception NPE
-
- Resolved
-
-
JDK-8291377 getLocalGraphicsEnvironment() on for multi-screen setups throws exception NPE
-
- Resolved
-
-
JDK-8299417 getLocalGraphicsEnvironment() on for multi-screen setups throws exception NPE
-
- Resolved
-
-
JDK-8301796 getLocalGraphicsEnvironment() on for multi-screen setups throws exception NPE
-
- Resolved
-
- relates to
-
JDK-8076313 GraphicsEnvironment does not detect changes in count of monitors on Linux OS
-
- Resolved
-
- links to
-
Commit openjdk/jdk17u-dev/cec5a0ce
-
Commit openjdk/jdk19/cfc9a881
-
Review openjdk/jdk17u-dev/994
-
Review openjdk/jdk19/81