From: Scott F. <sc...@at...> - 2003-11-11 01:02:07
|
You can't run statcvs on a headless box. It needs access to an X server to draw the images. I believe that there are ways around this - do a search online. I think that there may even be parameter you can pass to the JVM in 1.4. Cheers, Scott Wim Bertels wrote: > Houdi, > > i use statcvs 20030713-2 (unstable apparently), > > i get the following error while trying to run statcvs > > damian:/tmp# statcvs logfile r2g2/ > StatCvs - CVS statistics generation > > java.awt.AWTError: native layer initialization failed > at java.awt.Font.<init> (Font.java:48) > at net.sf.statcvs.renderer.Chart.<init> (Chart.java:53) > at net.sf.statcvs.renderer.LOCChart.<init> (LOCChart.java:66) > at net.sf.statcvs.output.HTMLOutput.createLOCChart (HTMLOutput.java:300) > at net.sf.statcvs.output.HTMLOutput.createHTMLSuite (HTMLOutput.java:177) > at net.sf.statcvs.Main.generateDefaultHTMLSuite (Main.java:178) > at net.sf.statcvs.Main.main (Main.java:75) > at java.lang.reflect.Method.invoke0 (Method.java) > at java.lang.reflect.Method.invoke (Method.java:255) > at kaffe.jar.ExecJarName.main (ExecJarName.java:67) > at kaffe.jar.ExecJar.main (ExecJar.java:75) > damian:/tmp# ls > file-deleted.png file.png folder-deleted.png folder.png logfile > r2g2 statcvs.css > system setup: > debian kernel stable, cvs testing (1,12), statcvs unstable, no apache, > no webserver > > suggestions? or a bug? > -- ATLASSIAN - http://www.atlassian.com Expert J2EE Software, Services and Support ------------------------------------------------------- Need a simple, powerful way to track and manage issues? Try JIRA - http://www.atlassian.com/software/jira |