877922 wrote:Something Oracle do allow is to raise a bug report. On that report they invite you to post a work-around or fix. That would be the place to put the fix you have devised. Oracle will (supposedly) fix it, then you (and everyone else) can enjoy the fix as a free upgrade in the next version.
peerComponents in Container class is returning null on call to getLocationOnScreen that causes this exception.
I fixed the issue in awt library but ORACLE license terms don't allow redistribution of modified version of awt.