freeplane splash appears, but nothing after that

Bug #1555824 reported by Robert Norman Higgins
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
freeplane (Ubuntu)
Confirmed
Undecided
Felix Natter

Bug Description

upgraded to ubuntu unity 16.04 and reinstalled freeplane
execute freeplane and splash appears but nothing else
error:

java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
caused by:
java.lang.ClassNotFoundException: org.apache.commons.lang.StringUtils

then STDOUT: Framework launched

but nothing more than the splash image

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in freeplane (Ubuntu):
status: New → Confirmed
Revision history for this message
Robert Norman Higgins (drhiggins) wrote :

The freeplane that is not working on 16.04 was installed from the software resources via synaptic.

I have subsequently got freeplane up and running from the freeplane.sh provided in the .zip file from sourceforge.

https://sourceforge.net/projects/freeplane/files/freeplane%20stable/

Nevertheless, we need to continue to discover why the install from the package resources did not work.

Thank you.

--rnh---

Felix Natter (fnatter)
Changed in freeplane (Ubuntu):
assignee: nobody → Felix Natter (fnatter)
Revision history for this message
Felix Natter (fnatter) wrote :

hello Robert,

I am the freeplane package maintainer. freeplane-1.3.15-3 works fine on
Debian unstable.

I cannot explain this at all: freeplane depends on libcommons-lang-java;
at runtime /usr/share/java/commons-lang.jar is referenced [1],
and this is part of libcommons-lang-java [2].

I would have suggested this is a one-off on your computer, but since this
affects multiple users...

Could you please post the output of:
$ jar tf /usr/share/java/commons-lang.jar | grep StringUtils
?
(you need to install the jdk instead of the jre for this;
if you cannot do this, please upload the jar somewhere)

Cheers and Best Regards,
Felix

[1] http://anonscm.debian.org/cgit/pkg-java/freeplane.git/tree/debian/patches/15_libraries_manifest.patch
[2] http://packages.ubuntu.com/search?searchon=contents&keywords=commons-lang.jar&mode=exactfilename&suite=xenial&arch=any

Revision history for this message
Felix Natter (fnatter) wrote :

@Robert:
Is there more log output? Can you also look at ~/.config/freeplane/1.3.x/logs/log.0 ?
Thanks,
Felix

Revision history for this message
Robert Norman Higgins (drhiggins) wrote :
Download full text (5.8 KiB)

~$ uname -a
Linux delli7 4.4.0-11-generic #26-Ubuntu SMP Sat Mar 5 14:25:21 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

~$ jar tf /usr/share/java/commons-lang.jar | grep StringUtils
org/apache/commons/lang/RandomStringUtils.html
org/apache/commons/lang/StringUtils.html
org/apache/commons/lang/class-use/RandomStringUtils.html
org/apache/commons/lang/class-use/StringUtils.html

~$ freeplane
Knopflerfish OSGi framework launcher, version 7.1.2
Copyright 2003-2015 Knopflerfish. All Rights Reserved.
See http://www.knopflerfish.org for more information.

Created Framework: org.knopflerfish.framework, version=7.1.2.
Loaded properties from bundle://1:1/freeplane.properties
Loaded properties from bundle://1:2/org/freeplane/main/application/
Installed: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.script (id#2)
Installed: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.openmaps (id#3)
Installed: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.latex (id#4)
Installed: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.svg (id#5)
Installed: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.formula (id#6)
Started: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.script (id#2)
Started: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.openmaps (id#3)
Started: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.latex (id#4)
Started: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.svg (id#5)
Started: reference:file:/usr/share/freeplane/plugins/org.freeplane.plugin.formula (id#6)
Mar 12, 2016 4:58:57 AM org.freeplane.core.util.LogUtils info
INFO: freeplane_version = 1.3.15; freeplane_xml_version = freeplane 1.3.0
java_version = 1.8.0_01-internal; os_name = Linux; os_version = 4.4.0-11-generic

STDERR: java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
STDERR: at org.freeplane.features.format.FormatController.loadFormats(FormatController.java:209)
STDERR: at org.freeplane.features.format.FormatController.initPatternFormats(FormatController.java:144)
STDERR: at org.freeplane.features.format.FormatController.<init>(FormatController.java:119)
STDERR: at org.freeplane.main.application.FreeplaneGUIStarter.createController(FreeplaneGUIStarter.java:160)
STDERR: at org.freeplane.main.osgi.ActivatorImpl.startFramework(ActivatorImpl.java:178)
STDERR: at org.freeplane.main.osgi.ActivatorImpl.start(ActivatorImpl.java:79)
STDERR: at org.freeplane.main.osgi.Activator.start(Activator.java:36)
STDERR: at org.knopflerfish.framework.BundleImpl.start0(BundleImpl.java:387)
STDERR: at org.knopflerfish.framework.BundleThread.run(BundleThread.java:145)
STDERR: Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang.StringUtils
STDERR: at org.knopflerfish.framework.BundleClassLoader.findClass(BundleClassLoader.java:218)
STDERR: at org.knopflerfish.framework.BundleClassLoader.loadClass(BundleClassLoader.java:347)
STDERR: at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
STDERR: ... 9 more
STDERR: ## DEBUG: errors - FrameworkErrorEvent bundle #1
STDERR: ## DEBUG: errors - FrameworkErrorEvent throwabl...

Read more...

Revision history for this message
Felix Natter (fnatter) wrote :

hello Robert,

thanks for the information. It seems this is a bug in Ubuntu's commons-lang,
I contacted the author regarding this. Fortunately your report is early so that
it can probably be fixed before the 16.04 release.

Cheers and Best Regards,
Felix

Revision history for this message
Robert Norman Higgins (drhiggins) wrote :

Thank you Felix

---rnh---

Revision history for this message
Felix Natter (fnatter) wrote :

hi,

I filed a bug against commons-lang which I claim to be the root cause:
https://bugs.launchpad.net/ubuntu/+source/libcommons-lang-java/+bug/1556647

please increase the "heat" by declaring yourself as being affected!

Cheers and Best Regards,
Felix

Revision history for this message
Robert Norman Higgins (drhiggins) wrote :

Appears fixed in latest update. Thank you.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.