Dist. Upgrade Leap 15.5 to 15.6 - Java Null Pointer Exception

Since the upgrade to Leap 15.6, a Java application is throwing the following error with both OpenJDK RE 17 and OpenJDK RE 11 –

java.lang.RuntimeException: java.lang.NullPointerException: Cannot invoke "sun.net.www.http.HttpClient.getOutputStream()" because "this.http" is null

I’ve reported the issue to the application’s maintainer.

  • Is anyone else experiencing a similar issue since the upgrade to 15.6?

Having swapped e-Mails with the Java application’s developer, we can definitely say that –

  • The application is executing correctly on Tumbleweed with the Adoptium/Temurin JDK Runtime Environment.
  • The application is executing correctly on Leap 15.5 running in a VM with the Leap 15.5 OpenJDK 17.

With Leap 15.6 it doesn’t execute correctly with –

  • The Leap 15.5 OpenJDK 11/17/21;
  • The Oracle JDK 17;
  • The Adoptium/Temurin OpenJDK 17.

Download jameica from willuhn.de, unzip it and executing does work:

./jameica.sh 

This is a Leap15.5 to Leap15.6 upgrade Version.

 LANG=C update-alternatives --config java 
There is only one alternative in link group java (providing /usr/bin/java): /usr/lib64/jvm/jre-11-openjdk/bin/java
Nothing to configure.

@Sauerland:

Yes, simply opening Jameica executes as expected –

But, doing anything which accesses the Internet errors –


More in the Bug Report …


Regardless of the Java being used –

 > java --version
openjdk 17.0.11 2024-04-16
OpenJDK Runtime Environment Temurin-17.0.11+9 (build 17.0.11+9)
OpenJDK 64-Bit Server VM Temurin-17.0.11+9 (build 17.0.11+9, mixed mode, sharing)
 > 
 > java --version
openjdk 17.0.11 2024-04-16
OpenJDK Runtime Environment (build 17.0.11+9-suse-150400.3.42.1-x8664)
OpenJDK 64-Bit Server VM (build 17.0.11+9-suse-150400.3.42.1-x8664, mixed mode, sharing)
 >

I can get Updates here:

[Wed Jun 19 10:47:14 CEST 2024][INFO][main][de.willuhn.jameica.gui.internal.parts.PluginListPart.loadUpdates] start search for available updates
[Wed Jun 19 10:47:14 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.services.UpdateService.findUpdateStates] checking for updates
[Wed Jun 19 10:47:14 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.services.UpdateService.findUpdateStates] checking repository https://www.willuhn.de/products/jameica/updates
[Wed Jun 19 10:47:14 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.update.Repository.<init>] open repository https://www.willuhn.de/products/jameica/updates
[Wed Jun 19 10:47:14 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.willuhn.de/products/jameica/updates/repository.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.willuhn.de/products/jameica/updates/jameica.update-pem.crt
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.willuhn.de/products/jameica/updates/hibiscus/current/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.willuhn.de/products/jameica/updates/hibiscus/previous/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.willuhn.de/products/jameica/updates/hibiscus/nightly/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.willuhn.de/products/jameica/updates/hibiscus.paypal/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.willuhn.de/products/jameica/updates/jameica.update-pem.crt
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.willuhn.de/products/jameica/updates/syntax/current/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.willuhn.de/products/jameica/updates/syntax/nightly/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.willuhn.de/products/jameica/updates/jameica.update-pem.crt
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.willuhn.de/products/jameica/updates/jameica.ical/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.willuhn.de/products/jameica/updates/jameica.ca/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.services.UpdateService.findUpdateStates] checking repository https://www.willuhn.de/products/jameica/updates/extensions
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.update.Repository.<init>] open repository https://www.willuhn.de/products/jameica/updates/extensions
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.willuhn.de/products/jameica/updates/extensions/repository.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.willuhn.de/products/jameica/updates/jameica.update-pem.crt
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.willuhn.de/products/jameica/updates/hibiscus.xmlrpc/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.willuhn.de/products/jameica/updates/hibiscus.soap/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.willuhn.de/products/jameica/updates/jameica.update-pem.crt
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.willuhn.de/products/jameica/updates/jameica.webadmin/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.willuhn.de/products/jameica/updates/jameica.xmlrpc/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.willuhn.de/products/jameica/updates/jameica.soap/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.willuhn.de/products/jameica/updates/jameica.sensors/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.willuhn.de/products/jameica/updates/jameica.messaging/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.willuhn.de/products/jameica/updates/jameica.redmine/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.services.UpdateService.findUpdateStates] checking repository https://openjverein.github.io/jameica-repository
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.update.Repository.<init>] open repository https://openjverein.github.io/jameica-repository
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://openjverein.github.io/jameica-repository/repository.xml
[Wed Jun 19 10:47:15 CEST 2024][WARN][repo-fetch updates][de.willuhn.jameica.update.PluginGroup.initCertificate] no certificate given
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://openjverein.github.io/jameica-repository/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://openjverein.github.io/jameica-repository/previous/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.services.UpdateService.findUpdateStates] checking repository https://scripting-updates.derrichter.de/
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.update.Repository.<init>] open repository https://scripting-updates.derrichter.de/
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://scripting-updates.derrichter.de/repository.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://scripting-updates.derrichter.de/hibiscus-mashup.derrichter.de.crt
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://scripting-updates.derrichter.de/updates/hibiscus.mashup/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://scripting-updates.derrichter.de/updates/finance.websync/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://scripting-updates.derrichter.de/hibiscus-mashup.derrichter.de.crt
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://scripting-updates.derrichter.de/updates/htmlunit/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://scripting-updates.derrichter.de/updates/pdfbox/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://scripting-updates.derrichter.de/updates/poi/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://scripting-updates.derrichter.de/updates/browserupproxy/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://scripting-updates.derrichter.de/updates/selenium/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://scripting-updates.derrichter.de/updates/chromedriver/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://scripting-updates.derrichter.de/updates/geckodriver/plugin.xml
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.services.UpdateService.findUpdateStates] checking repository https://www.open4me.de/hibiscus/
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.update.Repository.<init>] open repository https://www.open4me.de/hibiscus/
[Wed Jun 19 10:47:15 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.open4me.de/hibiscus/repository.xml
[Wed Jun 19 10:47:16 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.open4me.de/hibiscus/open4me.de.2024.crt
[Wed Jun 19 10:47:16 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.open4me.de/hibiscus/hibiscus.depotviewer/plugin.xml
[Wed Jun 19 10:47:16 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.open4me.de/hibiscus/open4me.de.2024.crt
[Wed Jun 19 10:47:16 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.open4me.de/hibiscus/hibiscus.ly.toolkit/plugin.xml
[Wed Jun 19 10:47:16 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.open4me.de/hibiscus/open4me.de.2024.crt
[Wed Jun 19 10:47:16 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://www.open4me.de/hibiscus/hibiscus.duplikate/plugin.xml
[Wed Jun 19 10:47:16 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.services.UpdateService.findUpdateStates] checking repository https://hibiscus.tvbrowser.org/
[Wed Jun 19 10:47:16 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.update.Repository.<init>] open repository https://hibiscus.tvbrowser.org/
[Wed Jun 19 10:47:16 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://hibiscus.tvbrowser.org/repository.xml
[Wed Jun 19 10:47:16 CEST 2024][WARN][repo-fetch updates][de.willuhn.jameica.update.PluginGroup.initCertificate] no certificate given
[Wed Jun 19 10:47:16 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://hibiscus.tvbrowser.org/contextcopy/plugin.xml
[Wed Jun 19 10:47:16 CEST 2024][WARN][repo-fetch updates][de.willuhn.jameica.update.PluginGroup.initCertificate] no certificate given
[Wed Jun 19 10:47:16 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://hibiscus.tvbrowser.org/ibankstatement/plugin.xml
[Wed Jun 19 10:47:16 CEST 2024][WARN][repo-fetch updates][de.willuhn.jameica.update.PluginGroup.initCertificate] no certificate given
[Wed Jun 19 10:47:16 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.transport.HttpTransport.get] downloading https://hibiscus.tvbrowser.org/splittransaction/plugin.xml
[Wed Jun 19 10:47:16 CEST 2024][INFO][repo-fetch updates][de.willuhn.jameica.gui.internal.parts.PluginListPart$4.run] search done, found 0 updates

@Sauerland:

Hmmm –

  • I’ll try a Jameica / Hibiscus reinstallation.
    But, I simply copied the ‘/opt/jameica/’ directory over to the Leap 15.5 VM and, there’s no issues there …

Maybe, I’ll have to simply re-install Leap 15.6 – not every Distribution Upgrade executes without any issues at all …

I have downloaded it from the Homepage to my /home, unzip and start as User with:
./jameica.sh
in the unzipped folder.

stephan@linux64:~> ls -al ~/Java/jameica/
insgesamt 2760
drwxr-xr-x  4 stephan users    4096 14. Apr 2023  .
drwxr-xr-x  7 stephan users    4096 18. Jun 20:59 ..
-rw-r--r--  1 stephan users   18092 14. Apr 2023  COPYING
-rw-r--r--  1 stephan users      97 14. Apr 2023  .jameica
-rw-r--r--  1 stephan users    7224 14. Apr 2023  jameica-icon.png
-rw-r--r--  1 stephan users 2722395 14. Apr 2023  jameica.jar
-rw-r--r--  1 stephan users    3521 14. Apr 2023  jameica-linux64.jar
-rwxr-xr-x  1 stephan users     343 14. Apr 2023  jameicaserver.sh
-rw-r--r--  1 stephan users     253 14. Apr 2023  jameica.service
-rwxr-xr-x  1 stephan users     741 14. Apr 2023  jameica.sh
drwxr-xr-x 17 stephan users    4096 14. Apr 2023  lib
-rw-r--r--  1 stephan users    1238 14. Apr 2023  LICENSE
drwxr-xr-x  2 stephan users    4096 14. Apr 2023  plugins
-rw-r--r--  1 stephan users    3742 14. Apr 2023  plugin.xml
-rwxr-xr-x  1 stephan users    1630 14. Apr 2023  rcjameica
-rwxr-xr-x  1 stephan users    9705 14. Apr 2023  rcjameica-centos
-rwxr-xr-x  1 stephan users     251 14. Apr 2023  rcjameica-systemd
-rw-r--r--  1 stephan users    4317 14. Apr 2023  README

@Sauerland:

See also the Bug Report.
Installed Jameica/Hibiscus on a Laptop that was upgraded from Leap 15.5 to Leap 15.6 –

  • Hibiscus can access the Internet URLs for the Plugins with no issues.
  • Installed the Certificate Administration Plugin with no issues.

Have generated a sorted RPM packet list from the Laptop.
Will compare that list to the equivalent list for this machine.

  • More later …

@Sauerland:

When I initialise a fresh Jameica/Hibiscus instance, the issue disappears.
If I import a Jamaica Backup into the new instance, the issue reappears.

  • I’ve e-mailed this information to the developer.

Planned action –

  1. Export all the Hibiscus bank transactions (dated from 2013 for one of my Jameica instances) and, import them into a correctly functioning instance – also need to setup all the bank account access data again but, that’s not such a big deal.

  2. For the case of a JVerein plugin (Club data) I have a little bit of luck – a JVerein database extracted from a Jameica Backup .zip archive seems to function without any issues in a fresh Jameica instance – no need to export all the club members data and other club data and then, import that into a fresh Jameica instance … :roll_eyes:


The Bug Report will be updated in a minute or so.

I do not use Jameica, I use Moneyplex for years.

@Sauerland:

I also looked at Moneyplex but, I need JVerein for Club accounting.

  • For small clubs, there isn’t another Open Source alternative.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.