ADDITIONAL SYSTEM INFORMATION :
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