Details
-
Bug
-
Status: Resolved
-
Resolution: Duplicate
-
1.7
-
None
-
None
-
Operating System: Linux
Platform: Other
Description
If you use the WMFTranscoder in a headless environment, then you get an
exception because WMFTranscoder inherits from ToSVGAbstractTranscoder and
ToSVGAbstractTranscoder tries to get the screen resolution, which is not available.
Caused by: java.awt.HeadlessException
at sun.awt.HeadlessToolkit.getScreenResolution(HeadlessToolkit.java:203)
at
org.apache.batik.transcoder.ToSVGAbstractTranscoder.<clinit>(ToSVGAbstractTranscoder.java:96)
... 20 more
Attachments
Issue Links
- duplicates
-
BATIK-740 [PATCH] Headless problem in transcoders
- Resolved