View Single Post
Old 06-03-2010, 11:16 AM   #48
simonandrews
Simon Andrews
 
Location: Babraham Inst, Cambridge, UK

Join Date: May 2009
Posts: 871
Default

Quote:
Originally Posted by lparsons View Post
I'm running into what looks like an old bug, however. I'm using FASTQC version 0.3.1 on a SunOS 5.10 server and I'm getting a HeadlessException. Any tips on solving this?

Code:
Exception in thread "main" java.awt.HeadlessException: 
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
        at sun.java2d.HeadlessGraphicsEnvironment.getDefaultScreenDevice(HeadlessGraphicsEnvironment.java:65)
That's really strange. It's throwing a Headless exception from within the HeadlessGraphicsEnvironment! That means that the headless environment is being correctly set. (which was the original bug which was fixed in an earlier revision).

At first glance this looks like it has to be a bug in the core java class - especially as it seems to be SunOS specific.

As a test can you try setting a DISPLAY environment variable and see if it then works. It may be a redundant check for something which isn't actually required.
simonandrews is offline   Reply With Quote