Ubuntu 20.04 error on Case creation

Hi all. Noted, 20.04 is a (final) beta at the moment This is informational, not a complaint.

Notes:
Installed from source (.zip, dependencies resolved)
Last worked on 19.10, same current version of Autopsy, Sleuthkit, Bellsoft Java, etc.
JAVA_HOME path is set properly

Two errors throw on new Case/DB creation. I did a full reinstall and reboot. Only a partial file structure is created:

1st attempt:
Opening splash does not load.
/javafx/scene/paint/color

2nd attempt:
Could not initialize class org.sleuthkit.autopsy.casemodule.services.TagNameDefinition

Note similar issue here: Error during case creation

Has anyone been successful using 20.04 LTS yet? Please let me know if more information is useful

Can you post the first 20 lines or so of your messages.log file (typically found in ~/.autopsy/dev/var/log)?
Thanks.

1 Like

Thanks for checking this out:

System Info:
Product Version = Autopsy 4.14.0
Operating System = Linux version 5.4.0-24-generic running on amd64
Java; VM; Vendor = 1.8.0_242; OpenJDK 64-Bit Server VM 25.242-b07; BellSoft
Runtime = OpenJDK Runtime Environment 1.8.0_242-b07
Java Home = /usr/lib/jvm/bellsoft-java8-amd64/jre
System Locale; Encoding = en_US (autopsy); UTF-8
Home Directory = /home/pcfox
Current Directory = /home/pcfox
User Directory = /home/pcfox/.autopsy/dev
Cache Directory = /home/pcfox/.autopsy/dev/var/cache
Installation = /usr/local/lib/autopsy-4.14.0/autopsy
/usr/local/lib/autopsy-4.14.0/harness
/usr/local/lib/autopsy-4.14.0/java
/usr/local/lib/autopsy-4.14.0/platform
Boot & Ext. Classpath = /usr/lib/jvm/bellsoft-java8-amd64/jre/lib/resources.jar:/usr/lib/jvm/bellsoft-java8-amd64/jre/lib/rt.jar:/usr/lib/jvm/bellsoft-java8-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/bellsoft-java8-amd64/jre/lib/jsse.jar:/usr/lib/jvm/bellsoft-java8-amd64/jre/lib/jce.jar:/usr/lib/jvm/bellsoft-java8-amd64/jre/lib/charsets.jar:/usr/lib/jvm/bellsoft-java8-amd64/jre/lib/jfr.jar:/usr/lib/jvm/bellsoft-java8-amd64/jre/classes:/usr/lib/jvm/bellsoft-java8-amd64/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/bellsoft-java8-amd64/jre/lib/ext/zipfs.jar:/usr/lib/jvm/bellsoft-java8-amd64/jre/lib/ext/sunec.jar:/usr/lib/jvm/bellsoft-java8-amd64/jre/lib/ext/jaccess.jar:/usr/lib/jvm/bellsoft-java8-amd64/jre/lib/ext/localedata.jar:/usr/lib/jvm/bellsoft-java8-amd64/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/bellsoft-java8-amd64/jre/lib/ext/cldrdata.jar:/usr/lib/jvm/bellsoft-java8-amd64/jre/lib/ext/dnsns.jar:/usr/lib/jvm/bellsoft-java8-amd64/jre/lib/ext/nashorn.jar
Application Classpath = /usr/local/lib/autopsy-4.14.0/platform/lib/boot.jar:/usr/local/lib/autopsy-4.14.0/platform/lib/org-openide-modules.jar:/usr/local/lib/autopsy-4.14.0/platform/lib/org-openide-util.jar:/usr/local/lib/autopsy-4.14.0/platform/lib/org-openide-util-lookup.jar:/usr/local/lib/autopsy-4.14.0/platform/lib/org-openide-util-ui.jar:/usr/local/lib/autopsy-4.14.0/platform/lib/locale/boot_ja.jar:/usr/local/lib/autopsy-4.14.0/platform/lib/locale/boot_pt_BR.jar:/usr/local/lib/autopsy-4.14.0/platform/lib/locale/boot_ru.jar:/usr/local/lib/autopsy-4.14.0/platform/lib/locale/boot_zh_CN.jar:/usr/local/lib/autopsy-4.14.0/platform/lib/locale/org-openide-modules_ja.jar:/usr/local/lib/autopsy-4.14.0/platform/lib/locale/org-openide-modules_pt_BR.jar:/usr/local/lib/autopsy-4.14.0/platform/lib/locale/org-openide-modules_ru.jar:/usr/local/lib/autopsy-4.14.0/platform/lib/locale/org-openide-modules_zh_CN.jar:/usr/local/lib/autopsy-4.14.0/platform/lib/locale/org-openide-util_ja.jar:/usr/local/lib/autopsy-4.14.0/platform/lib/locale/org-openide-util-lookup_ja.jar:/usr/local/lib/autopsy-4.14.0/platform/lib/locale/org-openide-util-lookup_pt_BR.jar:/usr/local/lib/autopsy-4.14.0/platform/lib/locale/org-openide-util-lookup_ru.jar:/usr/local/lib/autopsy-4.14.0/platform/lib/locale/org-openide-util-lookup_zh_CN.jar:/usr/local/lib/autopsy-4.14.0/platform/lib/locale/org-openide-util_pt_BR.jar:/usr/local/lib/autopsy-4.14.0/platform/lib/locale/org-openide-util_ru.jar:/usr/local/lib/autopsy-4.14.0/platform/lib/locale/org-openide-util-ui_ja.jar:/usr/local/lib/autopsy-4.14.0/platform/lib/locale/org-openide-util-ui_pt_BR.jar:/usr/local/lib/autopsy-4.14.0/platform/lib/locale/org-openide-util-ui_ru.jar:/usr/local/lib/autopsy-4.14.0/platform/lib/locale/org-openide-util-ui_zh_CN.jar:/usr/local/lib/autopsy-4.14.0/platform/lib/locale/org-openide-util_zh_CN.jar:/usr/lib/jvm/bellsoft-java8-amd64/lib/dt.jar:/usr/lib/jvm/bellsoft-java8-amd64/lib/tools.jar
Startup Classpath = /usr/local/lib/autopsy-4.14.0/platform/core/org-openide-filesystems.jar:/usr/local/lib/autopsy-4.14.0/platform/core/org-openide-filesystems-compat8.jar:/usr/local/lib/autopsy-4.14.0/platform/core/core.jar:/usr/local/lib/autopsy-4.14.0/platform/core/org-netbeans-libs-asm.jar:/usr/local/lib/autopsy-4.14.0/platform/core/core-base.jar:/usr/local/lib/autopsy-4.14.0/platform/core/asm-all-5.0.1.jar:/usr/local/lib/autopsy-4.14.0/platform/core/locale/core_ja.jar:/usr/local/lib/autopsy-4.14.0/platform/core/locale/org-openide-filesystems-compat8_ru.jar:/usr/local/lib/autopsy-4.14.0/platform/core/locale/core-base_pt_BR.jar:/usr/local/lib/autopsy-4.14.0/platform/core/locale/org-openide-filesystems-compat8_ja.jar:/usr/local/lib/autopsy-4.14.0/platform/core/locale/org-netbeans-libs-asm_ru.jar:/usr/local/lib/autopsy-4.14.0/platform/core/locale/core-base_ja.jar:/usr/local/lib/autopsy-4.14.0/platform/core/locale/org-openide-filesystems-compat8_pt_BR.jar:/usr/local/lib/autopsy-4.14.0/platform/core/locale/core_pt_BR.jar:/usr/local/lib/autopsy-4.14.0/platform/core/locale/core_ru.jar:/usr/local/lib/autopsy-4.14.0/platform/core/locale/org-openide-filesystems_ru.jar:/usr/local/lib/autopsy-4.14.0/platform/core/locale/org-netbeans-libs-asm_zh_CN.jar:/usr/local/lib/autopsy-4.14.0/platform/core/locale/org-openide-filesystems-compat8_zh_CN.jar:/usr/local/lib/autopsy-4.14.0/platform/core/locale/core-base_zh_CN.jar:/usr/local/lib/autopsy-4.14.0/platform/core/locale/org-netbeans-libs-asm_ja.jar:/usr/local/lib/autopsy-4.14.0/platform/core/locale/core_zh_CN.jar:/usr/local/lib/autopsy-4.14.0/platform/core/locale/core-base_ru.jar:/usr/local/lib/autopsy-4.14.0/platform/core/locale/org-netbeans-libs-asm_pt_BR.jar:/usr/local/lib/autopsy-4.14.0/platform/core/locale/org-openide-filesystems_ja.jar:/usr/local/lib/autopsy-4.14.0/platform/core/locale/org-openide-filesystems_pt_BR.jar:/usr/local/lib/autopsy-4.14.0/platform/core/locale/org-openide-filesystems_zh_CN.jar:/usr/local/lib/autopsy-4.14.0/autopsy/core/locale/core_autopsy.jar

Also. this is the first few errors some lines down:

J2KImageReader not loaded. JPEG2000 files will not be processed.
See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io
for optional dependencies.
WARNING [org.netbeans.core.modules]: the modules [org.sleuthkit.autopsy.core] use org.jdesktop.layout which is deprecated: Use javax.swing.GroupLayout instead. (In form editor: select Form ... in Inspector; change Layout Generation Style to Standard Java 6 code.)
SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.sleuthkit.autopsy.imagegallery.OnStart
java.lang.ClassNotFoundException: javafx.application.Platform
	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
	at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:222)
Caused: java.lang.ClassNotFoundException: javafx.application.Platform starting from ModuleCL@303a09fe[org.sleuthkit.autopsy.imagegallery] with possible defining loaders null and declared parents [ModuleCL@136d9f04[org.netbeans.api.progress.nb], org.netbeans.MainImpl$BootClassLoader@133314b, ModuleCL@6d8dde45[org.netbeans.modules.settings], ModuleCL@47a98bda[org.netbeans.modules.options.api], ModuleCL@7a0749ef[org.sleuthkit.autopsy.corelibs], ModuleCL@139ae35e[org.openide.explorer], ModuleCL@2eb93ca0[org.openide.awt], ModuleCL@504a85e7[org.openide.windows], ModuleCL@dea6c20[org.netbeans.api.progress], ModuleCL@5e73a0df[org.openide.nodes], ...2 more]
	at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:224)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
Caused: java.lang.NoClassDefFoundError: javafx/application/Platform
	at org.sleuthkit.autopsy.imagegallery.OnStart.run(OnStart.

I had this problem in Ubuntu 18.04 and this post solved my problem. I only had to update to the full version of bellsoft.

1 Like

Yep, @elhombreimposible is correct. Your version of Bellsoft Java is missing JavaFX.

1 Like