Bug#846816: java.lang.NoSuchFieldError: DLU2
gregor herrmann
gregoa at debian.org
Sat Dec 3 17:49:45 UTC 2016
Control: tag -1 + confirmed
On Sat, 03 Dec 2016 14:50:40 +0100, Vincent Smeets wrote:
> Package: freeplane
> Version: 1.5.16-2
> Severity: grave
> Justification: renders package unusable
> Here I started freeplane from the command line. It shows you the log
> output and the raised exception.
> STDERR: Exception in thread "AWT-EventQueue-1"
> STDERR: java.lang.NoSuchFieldError: DLU2
Thanks for your bug report. I can reproduce it (on unstable).
> -- Package-specific info:
> ii freeplane 1.5.16-2 all Java program for working with Mind Maps
> Versions of packages freeplane depends on:
> ii libjgoodies-forms-java 1.9.0-3
Looks like we missed a part when creating the patch for
jgoodies-forms 1.9.0 compatibility ...
I get past this error with
+--- a/freeplane/src/main/java/org/freeplane/features/styles/mindmapmode/StyleEditorPanel.java
++++ b/freeplane/src/main/java/org/freeplane/features/styles/mindmapmode/StyleEditorPanel.java
+@@ -113,8 +113,8 @@
+ import org.freeplane.features.ui.IMapViewManager;
+
+ import com.jgoodies.forms.builder.DefaultFormBuilder;
+-import com.jgoodies.forms.factories.Borders;
+-import com.jgoodies.forms.layout.FormLayout;
++import com.jgoodies.forms.factories.*;
++import com.jgoodies.forms.layout.*;
+
+ public class StyleEditorPanel extends JPanel {
+ private static final int FONT_SIZE = Math.round(UITools.FONT_SCALE_FACTOR * 8);
+@@ -842,7 +842,7 @@
+ final String form = "right:max(20dlu;p), 2dlu, p, 1dlu,right:max(20dlu;p), 4dlu, 80dlu, 7dlu";
+ final FormLayout rightLayout = new FormLayout(form, "");
+ final DefaultFormBuilder rightBuilder = new DefaultFormBuilder(rightLayout);
+- rightBuilder.border(Borders.DLU2);
++ rightBuilder.border(Paddings.DLU2);
+ new SeparatorProperty("OptionPanel.separator.NodeStyle").layout(rightBuilder);
+ if (addStyleBox) {
+ addAutomaticLayout(rightBuilder);
added to debian/patches/50_jgoodies-1.9.patch, but when starting
freeplane I then only see an empty white windows.
But I guess that's no hard problem to fix for someone who knows Java :)
Cheers,
gregor
--
.''`. https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: Joan Baez: Silver Dagger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20161203/0f1a384c/attachment-0001.sig>
More information about the pkg-java-maintainers
mailing list