This issue was caused by a version mismatch between the awt library 0.1.8
and the lwjgl library 3.3.6
. This issue is resolved by updating the awt library to 0.2.3
or downgrading the lwjgl library to 3.3.3
.
When updating to 3.3.6
, I found that the method was fixed, which is why this error occurs.
I was unable to download awt 0.2.3
, but rebooting my PC fixed it.