[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: statcvs java error



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, no java (but kaffe).

Hi Wim,

unfortunately, kaffe 1.1.1 (in debian) isn't able to run statcvs yet. kaffe 1.1.2 gets a little bit further, AFAIK, but fails due to a missing java2d implemenation. I plan to merge in Agile2D into kaffe, which provides a Java2D over OpenGL implementation, and that should allow it to run StatCVS, among other programs using Java2D. So hopefully, the upcoming kaffe 1.1.3 will be able to run it. Helpers for hacking on kaffe are always welcome ;)

cheers,
dalibor topic



Reply to: