Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#619812: bootchart-view: Java exception in bootchart when producing PNG or EPS files

0 views
Skip to first unread message

Frank A. Kingswood

unread,
Mar 27, 2011, 7:40:01 AM3/27/11
to
Package: bootchart-view
Version: 0.10~svn407-3.3
Severity: normal

Without options bootchart attempts to produce a PNG file.
This fails with a Java exception:

Parsing /var/log/bootchart.tgz
Exception in thread "main" java.lang.NullPointerException
at sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1191)
at sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:164)
at sun.awt.FontConfiguration.<init>(FontConfiguration.java:89)
at sun.awt.motif.MFontConfiguration.<init>(MFontConfiguration.java:50)
at sun.awt.X11GraphicsEnvironment.createFontConfiguration(X11GraphicsEnvironment.java:941)
at sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:246)
at java.security.AccessController.doPrivileged(Native Method)
at sun.java2d.SunGraphicsEnvironment.<init>(SunGraphicsEnvironment.java:162)
at sun.awt.X11GraphicsEnvironment.<init>(X11GraphicsEnvironment.java:252)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1152)
at org.bootchart.renderer.ImageRenderer.render(Unknown Source)
at org.bootchart.renderer.PNGRenderer.render(Unknown Source)
at org.bootchart.Main.render(Unknown Source)
at org.bootchart.Main.main(Unknown Source)

When running with --format eps the same exception happens.
When running with --format svg the output is produced without error.

-- System Information:
Debian Release: wheezy/sid
APT prefers squeeze-updates
APT policy: (500, 'squeeze-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38.1 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages bootchart-view depends on:
ii default-jre [java2-runti 1:1.6-40 Standard Java or Java compatible R
ii libcommons-cli-java 1.2-3 API for working with the command l
ii libcommons-compress-java 1.0-1 Java API for working with tar, zip
ii openjdk-6-jre [java2-run 6b18-1.8.7-2 OpenJDK Java runtime, using Hotspo
ii sun-java6-jre [java2-run 6.24-1~squeeze1 Sun Java(TM) Runtime Environment (

Versions of packages bootchart-view recommends:
ii bootchart 0.10~svn407-3.3 Boot process performance analyser

Versions of packages bootchart-view suggests:
pn gimp-svg <none> (no description available)
pn gqview <none> (no description available)
pn librsvg2-bin <none> (no description available)

-- no debconf information

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

0 new messages