[Bug 265353] net/keycloak 15.1.1 ByteBuffer no such method error openjdk8

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 21 Jul 2022 09:54:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265353

            Bug ID: 265353
           Summary: net/keycloak 15.1.1 ByteBuffer no such method error
                    openjdk8
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: julian@precisium.com.au
                CC: freebsd@rheinwolf.de
             Flags: maintainer-feedback?(freebsd@rheinwolf.de)
                CC: freebsd@rheinwolf.de

keycloak@postgresql built with poudriere and pkg installed on 13.1-RELEASE

dependency openjdk8 is installed by the keycloak pkg

When sending a test smtp email from the keycloak management interface the
following error occurs:

2022-07-21 08:19:57,214 ERROR
[org.keycloak.services.error.KeycloakErrorHandler] (default task-1) Uncaught
server error: java.lang.NoSuchMethodError:
java.nio.ByteBuffer.clear()Ljava/nio/ByteBuffer;


Installing pkg openjdk18 seems to fix this error - but I have not tested many
keycloak features yet to know if this is fully compatible.

keycloak 15.1.1 is now significantly behind anyway (keycloak is up to 18) but I
expected this version to work without having to install an additional openjdk
version.

Unable to uninstall openjdk8 without it removing keycloak-postgres
Guidance not found in ports/UPDATING

-- 
You are receiving this mail because:
You are the assignee for the bug.