Bug#730735: freeplane: Export to pdf is broken
Denis Danilov
danilovdenis at yandex.ru
Thu Nov 28 22:17:21 UTC 2013
Package: freeplane
Version: 1.2.23-2
Severity: normal
Dear Maintainer,
the freeplane can not export to pdf if a node has attributes and "show all attributes" option os on
to get the error:
1. open freeplane with an empty map
2. right-click on root node and select "edit attribute online"
3. add any attribute to the root node
4. make sure that in menu -> view -> node attributes -> show all attributes is selected
5. go to menu -> export map -> select pdf for export
6. saving pdf leads to "An unexpected error occured. Please try to make a bug report."
The full output of freeplane with more errors is attached.
Best
Denis
-- Package-specific info:
[debug] /usr/bin/freeplane: Found JAVA_HOME = '/usr/lib/jvm/java-7-openjdk-i386'
[debug] /usr/bin/freeplane: Found JAVA_CMD = '/usr/lib/jvm/java-7-openjdk-i386/bin/java'
DEBUG: Freeplane parameters are ''.
DEBUG: Linux debian 3.11-2-686-pae #1 SMP Debian 3.11.8-1 (2013-11-13) i686 GNU/Linux
No LSB modules are available.
DEBUG: Distributor ID: Debian
Description: Debian GNU/Linux testing (jessie)
Release: testing
Codename: jessie
DEBUG: The following DEB packages are installed:
ii freeplane 1.2.23-2 all Java program for working with Mind Maps
ii libjortho-freeplane-java 1.2.23-2 all Java spell-checking library
DEBUG: Link '/usr/bin/freeplane' resolved to '/usr/share/freeplane/freeplane.sh'.
DEBUG: Freeplane Directory is '/usr/share/freeplane'.
DEBUG: Calling: /usr/lib/jvm/java-7-openjdk-i386/bin/java
-Xmx512m
-Dorg.freeplane.param1=
-Dorg.freeplane.param2=
-Dorg.freeplane.param3=
-Dorg.freeplane.param4=
-Dorg.freeplane.param4=
-Dorg.freeplane.param4=
-Dorg.freeplane.param4=
-Dorg.freeplane.param4=
-Dorg.knopflerfish.framework.bundlestorage=memory
-Dorg.freeplane.globalresourcedir=/usr/share/freeplane/resources
-Dorg.knopflerfish.gosg.jars=reference:file:/usr/share/freeplane/core/
-Dgnu.java.awt.peer.gtk.Graphics=Graphics2D
-jar
/usr/share/freeplane/framework.jar
-xargs
/usr/share/freeplane/props.xargs
-xargs
/usr/share/freeplane/init.xargs
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.11-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages freeplane depends on:
ii default-jre 1:1.7-49
ii groovy 1.8.6-1
ii javahelp2 2.0.05.ds1-6
ii libbatik-java 1.7+dfsg-4
ii libcommons-io-java 2.4-2
ii libcommons-lang-java 2.6-3
ii libfop-java 1:1.1.dfsg-2
ii libjaxp1.3-java 1.3.05-2
ii libjgoodies-forms-java 1.6.0-4
ii libjlatexmath-java 1.0.2-1
ii libjortho-freeplane-java 1.2.23-2
ii libjsyntaxpane-java 0.9.6~r156-4
ii libknopflerfish-osgi-framework-java 2.3.3-2
ii librhino-java 1.7R4-2
ii libxerces2-java 2.11.0-7
ii libxml-commons-external-java 1.4.01-2
ii simplyhtml 0.16.07-1
Versions of packages freeplane recommends:
ii java-wrappers 0.1.27
ii xdg-utils 1.1.0~rc1+git20111210-7
freeplane suggests no packages.
-- no debconf information
-------------- next part --------------
Knopflerfish OSGi framework, version 4.1.10
Copyright 2003-2009 Knopflerfish. All Rights Reserved.
See http://www.knopflerfish.org for more information.
Loading xargs file /usr/share/freeplane/props.xargs
Loading xargs file /usr/share/freeplane/init.xargs
Installed and started: reference:file:/usr/share/freeplane/core/org.freeplane.core (id#1)
Loaded properties from bundle://1.0:0/freeplane.properties
Loaded properties from bundle://1.0:1/org/freeplane/main/application/
Installed: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.svg (id#2)
Installed: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.formula (id#3)
Installed: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.script (id#4)
Installed: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.latex (id#5)
Started: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.svg (id#2)
Started: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.formula (id#3)
Started: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.script (id#4)
Started: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.latex (id#5)
Nov 28, 2013 10:51:07 PM org.freeplane.core.util.LogUtils info
INFO: language resources for en found
Nov 28, 2013 10:51:07 PM org.freeplane.core.util.LogUtils info
INFO: freeplane_version = 1.2.23; freeplane_xml_version = freeplane 1.2.0
java_version = 1.7.0_21; os_name = Linux; os_version = 3.11-2-686-pae
Nov 28, 2013 10:51:08 PM org.freeplane.core.util.LogUtils info
INFO: added parsing support for standard date format M/d/yy
Nov 28, 2013 10:51:08 PM org.freeplane.core.util.LogUtils info
INFO: added parsing support for standard date time format M/d/yy h:mm a
STDOUT: Loaded properties from bundle://3.0:0/org/freeplane/plugin/formula/defaults.properties
STDOUT: Loaded properties from bundle://4.0:1/org/freeplane/plugin/script/defaults.properties
STDOUT: Framework launchedNov 28, 2013 10:51:11 PM org.freeplane.core.util.LogUtils info
INFO: requesting mode: MindMap
Nov 28, 2013 10:51:12 PM org.freeplane.core.util.LogUtils info
INFO: menu items to execute: []
Nov 28, 2013 10:51:49 PM org.freeplane.core.util.LogUtils warn
WARNING:
java.lang.RuntimeException
at org.apache.batik.ext.awt.image.codec.png.PNGImageEncoder.encode(Unknown Source)
at org.apache.batik.ext.awt.image.codec.png.PNGImageWriter.writeImage(Unknown Source)
at org.apache.batik.ext.awt.image.codec.png.PNGImageWriter.writeImage(Unknown Source)
at org.apache.batik.svggen.ImageHandlerBase64Encoder.encodeImage(Unknown Source)
at org.apache.batik.svggen.ImageHandlerBase64Encoder.handleHREF(Unknown Source)
at org.apache.batik.svggen.ImageHandlerBase64Encoder.handleHREF(Unknown Source)
at org.apache.batik.svggen.DefaultImageHandler.handleImage(Unknown Source)
at org.apache.batik.svggen.SimpleImageHandler.handleImage(Unknown Source)
at org.apache.batik.svggen.SVGGraphics2D.drawImage(Unknown Source)
at com.sun.java.swing.plaf.gtk.GTKEngine.finishPainting(GTKEngine.java:606)
at com.sun.java.swing.plaf.gtk.GTKEngine.finishPainting(GTKEngine.java:580)
at com.sun.java.swing.plaf.gtk.GTKPainter.paintViewportBorder(GTKPainter.java:630)
at javax.swing.plaf.synth.SynthScrollPaneUI$ViewportBorder.paintBorder(SynthScrollPaneUI.java:256)
at javax.swing.plaf.synth.SynthScrollPaneUI.paint(SynthScrollPaneUI.java:117)
at javax.swing.plaf.synth.SynthScrollPaneUI.update(SynthScrollPaneUI.java:85)
at javax.swing.JComponent.paintComponent(JComponent.java:769)
at javax.swing.JComponent.printComponent(JComponent.java:1209)
at javax.swing.JComponent.paint(JComponent.java:1049)
at javax.swing.JComponent.print(JComponent.java:1191)
at javax.swing.JComponent.paintChildren(JComponent.java:882)
at javax.swing.JComponent.printChildren(JComponent.java:1222)
at javax.swing.JComponent.paint(JComponent.java:1057)
at org.freeplane.view.swing.map.ContentPane.paint(ContentPane.java:29)
at javax.swing.JComponent.print(JComponent.java:1191)
at javax.swing.JComponent.paintChildren(JComponent.java:882)
at javax.swing.JComponent.printChildren(JComponent.java:1222)
at javax.swing.JComponent.paint(JComponent.java:1057)
at org.freeplane.view.swing.map.NodeView.paint(NodeView.java:970)
at javax.swing.JComponent.print(JComponent.java:1191)
at javax.swing.JComponent.paintChildren(JComponent.java:882)
at org.freeplane.view.swing.map.MapView.paintChildren(MapView.java:1247)
at org.freeplane.view.swing.map.MapView.paintChildren(MapView.java:1232)
at javax.swing.JComponent.printChildren(JComponent.java:1222)
at javax.swing.JComponent.paint(JComponent.java:1057)
at org.freeplane.view.swing.map.MapView.paint(MapView.java:1208)
at javax.swing.JComponent.print(JComponent.java:1191)
at org.freeplane.view.swing.map.MapView.print(MapView.java:1459)
at org.freeplane.plugin.svg.ExportVectorGraphic.fillSVGGraphics2D(ExportVectorGraphic.java:64)
at org.freeplane.plugin.svg.ExportPdf.export(ExportPdf.java:63)
at org.freeplane.features.export.mindmapmode.ExportDialog.export(ExportDialog.java:171)
at org.freeplane.features.export.mindmapmode.ExportAction.export(ExportAction.java:54)
at org.freeplane.features.export.mindmapmode.ExportAction.actionPerformed(ExportAction.java:49)
at org.freeplane.core.ui.AccelerateableAction.actionPerformed(AccelerateableAction.java:179)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
at java.awt.Component.processMouseEvent(Component.java:6505)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3312)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.awt.EventQueue$3.run(EventQueue.java:686)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:702)
at java.awt.EventQueue$4.run(EventQueue.java:700)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:699)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Nov 28, 2013 10:51:49 PM org.freeplane.core.util.LogUtils warn
WARNING: An unexpected error occured. Please try to make a bug report.
More information about the pkg-java-maintainers
mailing list