Hi David, > > I checked in the attached patch to HeadlessGraphicsEnvironment. It now > > tries to get hold of a CairoGraphics2D if available. It falls back to > > the (Java-only) RasterGraphics only when nothing else works. David, can > > you please test if this works? > > > > > > Unfortunately your patch didn't change the outcome...
Strange. I suppose something goes wrong in the magic reflection code that I added. Could you please add ex.printStackTrace() in the catch block in HeadlessGraphicsEnvironment.createGraphics() to see what exactly goes wrong and post this trace? /Roman