Share

StatCVS - Stat Your Repository

Tracker: Bugs

5 Error without X11 - ID: 2863460
Last Update: Comment added ( scottheavner )

I just upgraded from 0.4.0 to 0.6.0 and get an error when i use statcvs.

Error message:
Exception in thread "main" java.lang.InternalError: Can't connect to X11
window server using 'adnws026.zh.adnovum.ch:0' as the value of the DISPLAY
variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at
sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironmen
t.java:62)
at java.awt.Font.initializeFont(Font.java:308)
at java.awt.Font.<init>(Font.java:344)
at
org.jfree.chart.renderer.AbstractRenderer.<clinit>(AbstractRenderer.java:16
3)
at
net.sf.statcvs.output.ConfigurationOptions.<clinit>(ConfigurationOptions.ja
va:93)
at net.sf.statcvs.Messages.getString(Messages.java:59)
at net.sf.statcvs.Main.main(Main.java:61)

Therefore I start it now with the -Djava.awt.headless=true property. But in
the 0.4.0 version this was not necessary.


Nobody/Anonymous ( nobody ) - 2009-09-21 12:39

5

Open

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )




Date: 2009-10-13 22:51
Sender: scottheavnerSourceForge.net DonorAccepting Donations

See http://java.sun.com/developer/technicalArticles/J2SE/Desktop/headless/

Developers should modify code to set headless programatically.

You can add command line option as first java argument until then:

java -Djava.awt.headless=true



Log in to comment.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.