freeplane didn't show interface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
freeplane (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
knopflerfish-osgi (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* freeplane depends on knopflerfish-osgi (libknopflerfis
as OSGi runtime
* libknopflerfish
target level for java. Thus, it will use "11" (or "1.11") when compiled
with OpenJDK11 (the default in bionic). That's why OpenJDK8 cannot run
the code.
* The fix is a very simple backport of 6.1.1-3 (tested in Debian
unstable): set source and target level to 1.7 (knopflerfish requires
Java7), see attached debdiff. This is necessary for freeplane to start
under bionic with Java8.
[Test Case]
* Run the freeplane package from bionic while having installed and
selected OpenJDK8. If it fails (this SRU is not applied), you will see:
Exception in thread "main" java.lang.
org/
version of the Java Runtime (class file version 53.0), this version of
the Java Runtime only recognizes class file versions up to 52.0
[Regression Potential]
* The possible risk is that knopflerfish still does not run under Java8
and freeplane still does not start.
[Other Info]
* debdiff is attached
* Here is the branch for the SRU upload:
https:/
* Some users have applied one of these two workarounds (while I was preparing this SRU):
- Install openjdk-9-jdk and choose it (use sudo update-
- use the upstream .deb
[Original Description]
same as
#1791658 freeplane didn't show interface
New (2 comments) last updated 2018-09-22 vi
With Bionic 18.04 and oracel java8
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: freeplane 1.6.13-1
ProcVersionSign
Uname: Linux 4.15.0-38-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.4
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Oct 26 14:59:09 2018
InstallationDate: Installed on 2018-10-24 (1 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: freeplane
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- freeplane didn't show interface + bionic SRU for freeplane [was: freeplane didn't show interface] |
summary: |
- bionic SRU for freeplane [was: freeplane didn't show interface] + Bionic freeplane SRU [was: freeplane didn't show interface] |
tags: |
added: verification-done-bionic removed: verification-needed-bionic |
Changed in knopflerfish-osgi (Ubuntu): | |
status: | New → Fix Committed |
status: | Fix Committed → Fix Released |
Changed in freeplane (Ubuntu): | |
status: | New → Fix Released |
Changed in freeplane (Ubuntu Bionic): | |
status: | New → Fix Released |
tonton@x231:~$ freeplane --version h.framework. readonly= true h.gosg. jars=reference: file:/usr/ share/freeplane /core/ user.dir= /home/tonton basedirectory= /usr/share/ freeplane policy= /usr/share/ freeplane/ freeplane. policy framework. storage= /usr/share/ freeplane/ fwdir UnsupportedClas sVersionError: org/knopflerfis h/framework/ Main has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0 ClassLoader. defineClass1( Native Method) ClassLoader. defineClass( ClassLoader. java:763) SecureClassLoad er.defineClass( SecureClassLoad er.java: 142) URLClassLoader. defineClass( URLClassLoader. java:468) URLClassLoader. access$ 100(URLClassLoa der.java: 74) URLClassLoader$ 1.run(URLClassL oader.java: 369) URLClassLoader$ 1.run(URLClassL oader.java: 363) AccessControlle r.doPrivileged( Native Method) URLClassLoader. findClass( URLClassLoader. java:362) ClassLoader. loadClass( ClassLoader. java:424) Launcher$ AppClassLoader. loadClass( Launcher. java:349) ClassLoader. loadClass( ClassLoader. java:357) launcher. Launcher. run(Launcher. java:127) launcher. Launcher. launch( Launcher. java:80) launcher. Launcher. main(Launcher. java:67)
org.knopflerfis
org.knopflerfis
org.freeplane.
org.freeplane.
java.security.
org.osgi.
Exception in thread "main" java.lang.
at java.lang.
at java.lang.
at java.security.
at java.net.
at java.net.
at java.net.
at java.net.
at java.security.
at java.net.
at java.lang.
at sun.misc.
at java.lang.
at org.freeplane.
at org.freeplane.
at org.freeplane.