This is probably happening because this is a server install and doesn't have X11 installed. There is a know
java issue when using image function in such an environment.
The solution is to add the following parameter to your JRE startup: -Djava.awt.headless=true
For details about this mode see:
http://java.sun.com/developer/technicalArticles/J2SE/Desktop/headless/
For information about how to do set up your application server to use this setting, see that documentation.
[originally posted on jforum.net by monroe]