I am getting this error in the Linux environment while displaying 3D pie charts on the web browser. It works perfectly fine in the windows environment.
java.lang.
I suspect your Linux server is running headless. See Using Headless Mode in the Java SE Platform, as well as this related forum thread.