Hi David,

> > > I'm seeing this exception now when trying to run StatCVS:
> > > 
> > > [EMAIL PROTECTED]:~/mauve-cvs$ jamvm -Xmx300m -jar 
> > > ~/statcvs-0.2.3/statcvs.jar logfile.log mauve
> > > StatCVS - CVS statistics generation
> > > 
> > > Revision of install-sh does not match expected revision
> > > Revision of mkinstalldirs does not match expected revision
> > > java.lang.reflect.InvocationTargetException
> > >    at java.lang.reflect.Method.invokeNative(Native Method)
> > >    at java.lang.reflect.Method.invoke(Method.java:372)
> > >    at jamvm.java.lang.JarLauncher.main(JarLauncher.java:49)
> > > Caused by: java.lang.ArrayIndexOutOfBoundsException: 307200
> > >    at java.awt.image.DataBufferInt.getElem(DataBufferInt.java:200)
> > >    at gnu.java.awt.Buffers.getData(Buffers.java:184)
> > >    at 
> > > java.awt.image.SinglePixelPackedSampleModel.getDataElements(SinglePixelPackedSampleModel.java:258)
> > >    at java.awt.image.Raster.getDataElements(Raster.java:651)
> > >    at 
> > > gnu.java.awt.java2d.AlphaCompositeContext.compose(AlphaCompositeContext.java:217)
> > >    at 
> > > gnu.java.awt.java2d.AbstractGraphics2D.fillScanlineAA(AbstractGraphics2D.java:2109)
> > >    at 
> > 
> > Are you running in headless mode?
> 
> No.  Tomorrow I'll try to reduce this to a simple test case.

Weird. I can only imagine that statcvs sets the AWT headless property,
and thus goes into headless mode automatically. I think I should improve
the headless mode so that it uses Cairo when available, and only use the
java-only impl when nothing else is there.

/Roman



Reply via email to