[Bug 268559] net-mgmt/unifi7: fails to start service when built with Java 17+

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 25 Dec 2022 16:23:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268559

            Bug ID: 268559
           Summary: net-mgmt/unifi7: fails to start service when built
                    with Java 17+
           Product: Ports & Packages
           Version: Latest
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: otis@FreeBSD.org
          Reporter: wcarson.bugzilla@disillusion.net
             Flags: maintainer-feedback?(otis@FreeBSD.org)
          Assignee: otis@FreeBSD.org

net-mgmt/unifi7 will build successfully using JAVA_VERSION=17, but upon
launching you'll receive  a ton of errors. Changing to JAVA_VERSION=11 built &
ran just fine on RockPro64, aarch64, 13.1-RELEASE-p5 with ports tree Wed Dec 21
21:16:58 2022 +0000.

Here is the huge paste of Java errors at startup with Java 17:

$ egrep -v '^ ' javalog
[2022-12-24T15:25:33,929] <launcher> WARN  system - reload system.properties
failed: file not found
[2022-12-24T15:25:33,982] <launcher> WARN  system - reload system.properties.bk
failed: file not found
[2022-12-24T15:25:33,987] <launcher> INFO  system - *** Running for the first
time, creating identity ***
[2022-12-24T15:25:33,994] <launcher> INFO  system - UUID:
52e031bd-0ecc-418a-b033-6c1cada57f13
[2022-12-24T15:25:33,997] <launcher> WARN  system - reload system.properties
failed: file not found
[2022-12-24T15:25:33,999] <launcher> WARN  system - reload system.properties.bk
failed: file not found
[2022-12-24T15:25:34,138] <launcher> INFO  system - Reporter UUID:
42b4558c-41a7-4655-b9c2-503846b7d161
[2022-12-24T15:25:37,478] <launcher> WARN  system - Valid keystore is missing
or invalid. Generating one ...
[2022-12-24T15:25:37,480] <launcher> INFO  system - Generating
Certificate[UniFi]... please wait...
[2022-12-24T15:25:44,245] <launcher> INFO  system - Certificate[UniFi]
generated!
[2022-12-24T15:25:44,828] <launcher> INFO  tomcat - Adding basic REST API
support during the startup
[2022-12-24T15:25:50,576] <launcher> INFO  system - Tomcat startup took 15953ms
[2022-12-24T15:25:50,581] <launcher> INFO  db     - New installation, skipping
migration
[2022-12-24T15:25:50,699] <launcher> INFO  tomcat - Adding basic REST API
support during the startup
[2022-12-24T15:26:28,091] <launcher> INFO  db     - waiting for db
connection...
[2022-12-24T15:26:30,128] <db-server> INFO  db     -
2022-12-24T15:26:30.127-0600 I STORAGE  [main] Engine custom option:
cache_size=256M
[2022-12-24T15:26:30,159] <launcher> INFO  db     - Connecting to
mongodb://localhost:27117
[2022-12-24T15:26:32,306] <launcher> INFO  db     - setting mongodb features
compatibility version to 3.6
[2022-12-24T15:26:38,639] <launcher> INFO  system -
======================================================================
[2022-12-24T15:26:38,641] <launcher> INFO  system - UniFi 7.3.76 (build
atag_7.3.76_19582 - release/release) is started
[2022-12-24T15:26:38,643] <launcher> INFO  system -
======================================================================
[2022-12-24T15:26:38,652] <launcher> INFO  system - BASE
dir:/usr/local/share/java/unifi
[2022-12-24T15:26:39,075] <launcher> INFO  system - Current System IP: <my ip>
[2022-12-24T15:26:39,080] <launcher> INFO  system - Hostname: <my hostname>
[2022-12-24T15:26:39,082] <launcher> INFO  system - ubic.env: prod
[2022-12-24T15:27:11,769] <launcher> INFO  productinfo - Using controller
channel=RELEASE, firmware channel=RELEASE. Available controller
channels=[RELEASE], available firmware channels=[RELEASE]. SSO is disabled.
[2022-12-24T15:27:12,868] <launcher> WARN  system - cannot load native lib -
ubnt_webrtc_jni
[2022-12-24T15:27:15,368] <launcher> WARN  system - Country Code is not
configured for Site with ID=63a76e8efe51dc043cdb3b67
[2022-12-24T15:27:15,374] <launcher> WARN  system - Country Code is not
configured for Site with ID=63a76e8efe51dc043cdb3b67
[2022-12-24T15:27:16,073] <launcher> WARN 
AnnotationConfigWebApplicationContext - Exception encountered during context
initialization - cancelling refresh attempt:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'clientIncidentMapper' defined in
com.ubnt.service.alert.incident.IncidentSpringContext: Unsatisfied dependency
expressed through method 'clientIncidentMapper' parameter 1; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'alertClientParameterCreator' defined in
com.ubnt.service.alert.incident.IncidentSpringContext: Unsatisfied dependency
expressed through method 'alertClientParameterCreator' parameter 0; nested
exception is org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'clientService' defined in
com.ubnt.service.client.ClientSpringContext: Unsatisfied dependency expressed
through method 'clientService' parameter 3; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'clientListService' defined in
com.ubnt.service.client.ClientSpringContext: Unsatisfied dependency expressed
through method 'clientListService' parameter 8; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportService' parameter 0; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportAccessService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportAccessService' parameter 1; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportTokenService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportTokenService' parameter 0; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportMessageBoxAdapter' defined in
com.ubnt.service.teleport.messagebox.TeleportMessageBoxSpringContext:
Unsatisfied dependency expressed through method 'teleportMessageBoxAdapter'
parameter 1; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'dbSeeder': Invocation of init method failed; nested exception is
java.lang.RuntimeException: java.lang.reflect.InaccessibleObjectException:
Unable to make protected final java.lang.Class
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
throws java.lang.ClassFormatError accessible: module java.base does not "opens
java.lang" to unnamed module @6aebdec0
[2022-12-24T15:27:16,163] <launcher> ERROR ContextLoader - Context
initialization failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'clientIncidentMapper' defined in
com.ubnt.service.alert.incident.IncidentSpringContext: Unsatisfied dependency
expressed through method 'clientIncidentMapper' parameter 1; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'alertClientParameterCreator' defined in
com.ubnt.service.alert.incident.IncidentSpringContext: Unsatisfied dependency
expressed through method 'alertClientParameterCreator' parameter 0; nested
exception is org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'clientService' defined in
com.ubnt.service.client.ClientSpringContext: Unsatisfied dependency expressed
through method 'clientService' parameter 3; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'clientListService' defined in
com.ubnt.service.client.ClientSpringContext: Unsatisfied dependency expressed
through method 'clientListService' parameter 8; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportService' parameter 0; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportAccessService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportAccessService' parameter 1; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportTokenService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportTokenService' parameter 0; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportMessageBoxAdapter' defined in
com.ubnt.service.teleport.messagebox.TeleportMessageBoxSpringContext:
Unsatisfied dependency expressed through method 'teleportMessageBoxAdapter'
parameter 1; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'dbSeeder': Invocation of init method failed; nested exception is
java.lang.RuntimeException: java.lang.reflect.InaccessibleObjectException:
Unable to make protected final java.lang.Class
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
throws java.lang.ClassFormatError accessible: module java.base does not "opens
java.lang" to unnamed module @6aebdec0
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'alertClientParameterCreator' defined in
com.ubnt.service.alert.incident.IncidentSpringContext: Unsatisfied dependency
expressed through method 'alertClientParameterCreator' parameter 0; nested
exception is org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'clientService' defined in
com.ubnt.service.client.ClientSpringContext: Unsatisfied dependency expressed
through method 'clientService' parameter 3; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'clientListService' defined in
com.ubnt.service.client.ClientSpringContext: Unsatisfied dependency expressed
through method 'clientListService' parameter 8; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportService' parameter 0; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportAccessService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportAccessService' parameter 1; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportTokenService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportTokenService' parameter 0; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportMessageBoxAdapter' defined in
com.ubnt.service.teleport.messagebox.TeleportMessageBoxSpringContext:
Unsatisfied dependency expressed through method 'teleportMessageBoxAdapter'
parameter 1; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'dbSeeder': Invocation of init method failed; nested exception is
java.lang.RuntimeException: java.lang.reflect.InaccessibleObjectException:
Unable to make protected final java.lang.Class
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
throws java.lang.ClassFormatError accessible: module java.base does not "opens
java.lang" to unnamed module @6aebdec0
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'clientService' defined in
com.ubnt.service.client.ClientSpringContext: Unsatisfied dependency expressed
through method 'clientService' parameter 3; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'clientListService' defined in
com.ubnt.service.client.ClientSpringContext: Unsatisfied dependency expressed
through method 'clientListService' parameter 8; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportService' parameter 0; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportAccessService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportAccessService' parameter 1; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportTokenService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportTokenService' parameter 0; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportMessageBoxAdapter' defined in
com.ubnt.service.teleport.messagebox.TeleportMessageBoxSpringContext:
Unsatisfied dependency expressed through method 'teleportMessageBoxAdapter'
parameter 1; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'dbSeeder': Invocation of init method failed; nested exception is
java.lang.RuntimeException: java.lang.reflect.InaccessibleObjectException:
Unable to make protected final java.lang.Class
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
throws java.lang.ClassFormatError accessible: module java.base does not "opens
java.lang" to unnamed module @6aebdec0
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'clientListService' defined in
com.ubnt.service.client.ClientSpringContext: Unsatisfied dependency expressed
through method 'clientListService' parameter 8; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportService' parameter 0; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportAccessService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportAccessService' parameter 1; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportTokenService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportTokenService' parameter 0; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportMessageBoxAdapter' defined in
com.ubnt.service.teleport.messagebox.TeleportMessageBoxSpringContext:
Unsatisfied dependency expressed through method 'teleportMessageBoxAdapter'
parameter 1; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'dbSeeder': Invocation of init method failed; nested exception is
java.lang.RuntimeException: java.lang.reflect.InaccessibleObjectException:
Unable to make protected final java.lang.Class
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
throws java.lang.ClassFormatError accessible: module java.base does not "opens
java.lang" to unnamed module @6aebdec0
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'teleportService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportService' parameter 0; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportAccessService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportAccessService' parameter 1; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportTokenService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportTokenService' parameter 0; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportMessageBoxAdapter' defined in
com.ubnt.service.teleport.messagebox.TeleportMessageBoxSpringContext:
Unsatisfied dependency expressed through method 'teleportMessageBoxAdapter'
parameter 1; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'dbSeeder': Invocation of init method failed; nested exception is
java.lang.RuntimeException: java.lang.reflect.InaccessibleObjectException:
Unable to make protected final java.lang.Class
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
throws java.lang.ClassFormatError accessible: module java.base does not "opens
java.lang" to unnamed module @6aebdec0
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'teleportAccessService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportAccessService' parameter 1; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportTokenService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportTokenService' parameter 0; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportMessageBoxAdapter' defined in
com.ubnt.service.teleport.messagebox.TeleportMessageBoxSpringContext:
Unsatisfied dependency expressed through method 'teleportMessageBoxAdapter'
parameter 1; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'dbSeeder': Invocation of init method failed; nested exception is
java.lang.RuntimeException: java.lang.reflect.InaccessibleObjectException:
Unable to make protected final java.lang.Class
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
throws java.lang.ClassFormatError accessible: module java.base does not "opens
java.lang" to unnamed module @6aebdec0
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'teleportTokenService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportTokenService' parameter 0; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportMessageBoxAdapter' defined in
com.ubnt.service.teleport.messagebox.TeleportMessageBoxSpringContext:
Unsatisfied dependency expressed through method 'teleportMessageBoxAdapter'
parameter 1; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'dbSeeder': Invocation of init method failed; nested exception is
java.lang.RuntimeException: java.lang.reflect.InaccessibleObjectException:
Unable to make protected final java.lang.Class
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
throws java.lang.ClassFormatError accessible: module java.base does not "opens
java.lang" to unnamed module @6aebdec0
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'teleportMessageBoxAdapter' defined in
com.ubnt.service.teleport.messagebox.TeleportMessageBoxSpringContext:
Unsatisfied dependency expressed through method 'teleportMessageBoxAdapter'
parameter 1; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'dbSeeder': Invocation of init method failed; nested exception is
java.lang.RuntimeException: java.lang.reflect.InaccessibleObjectException:
Unable to make protected final java.lang.Class
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
throws java.lang.ClassFormatError accessible: module java.base does not "opens
java.lang" to unnamed module @6aebdec0
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'dbSeeder': Invocation of init method failed; nested
exception is java.lang.RuntimeException:
java.lang.reflect.InaccessibleObjectException: Unable to make protected final
java.lang.Class
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
throws java.lang.ClassFormatError accessible: module java.base does not "opens
java.lang" to unnamed module @6aebdec0
Caused by: java.lang.RuntimeException:
java.lang.reflect.InaccessibleObjectException: Unable to make protected final
java.lang.Class
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
throws java.lang.ClassFormatError accessible: module java.base does not "opens
java.lang" to unnamed module @6aebdec0
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make
protected final java.lang.Class
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
throws java.lang.ClassFormatError accessible: module java.base does not "opens
java.lang" to unnamed module @6aebdec0
[2022-12-24T15:27:16,235] <launcher> ERROR [/]    - Exception sending context
initialized event to listener instance of class
[org.springframework.web.context.ContextLoaderListener]
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'clientIncidentMapper' defined in
com.ubnt.service.alert.incident.IncidentSpringContext: Unsatisfied dependency
expressed through method 'clientIncidentMapper' parameter 1; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'alertClientParameterCreator' defined in
com.ubnt.service.alert.incident.IncidentSpringContext: Unsatisfied dependency
expressed through method 'alertClientParameterCreator' parameter 0; nested
exception is org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'clientService' defined in
com.ubnt.service.client.ClientSpringContext: Unsatisfied dependency expressed
through method 'clientService' parameter 3; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'clientListService' defined in
com.ubnt.service.client.ClientSpringContext: Unsatisfied dependency expressed
through method 'clientListService' parameter 8; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportService' parameter 0; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportAccessService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportAccessService' parameter 1; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportTokenService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportTokenService' parameter 0; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportMessageBoxAdapter' defined in
com.ubnt.service.teleport.messagebox.TeleportMessageBoxSpringContext:
Unsatisfied dependency expressed through method 'teleportMessageBoxAdapter'
parameter 1; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'dbSeeder': Invocation of init method failed; nested exception is
java.lang.RuntimeException: java.lang.reflect.InaccessibleObjectException:
Unable to make protected final java.lang.Class
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
throws java.lang.ClassFormatError accessible: module java.base does not "opens
java.lang" to unnamed module @6aebdec0
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'alertClientParameterCreator' defined in
com.ubnt.service.alert.incident.IncidentSpringContext: Unsatisfied dependency
expressed through method 'alertClientParameterCreator' parameter 0; nested
exception is org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'clientService' defined in
com.ubnt.service.client.ClientSpringContext: Unsatisfied dependency expressed
through method 'clientService' parameter 3; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'clientListService' defined in
com.ubnt.service.client.ClientSpringContext: Unsatisfied dependency expressed
through method 'clientListService' parameter 8; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportService' parameter 0; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportAccessService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportAccessService' parameter 1; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportTokenService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportTokenService' parameter 0; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportMessageBoxAdapter' defined in
com.ubnt.service.teleport.messagebox.TeleportMessageBoxSpringContext:
Unsatisfied dependency expressed through method 'teleportMessageBoxAdapter'
parameter 1; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'dbSeeder': Invocation of init method failed; nested exception is
java.lang.RuntimeException: java.lang.reflect.InaccessibleObjectException:
Unable to make protected final java.lang.Class
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
throws java.lang.ClassFormatError accessible: module java.base does not "opens
java.lang" to unnamed module @6aebdec0
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'clientService' defined in
com.ubnt.service.client.ClientSpringContext: Unsatisfied dependency expressed
through method 'clientService' parameter 3; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'clientListService' defined in
com.ubnt.service.client.ClientSpringContext: Unsatisfied dependency expressed
through method 'clientListService' parameter 8; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportService' parameter 0; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportAccessService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportAccessService' parameter 1; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportTokenService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportTokenService' parameter 0; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportMessageBoxAdapter' defined in
com.ubnt.service.teleport.messagebox.TeleportMessageBoxSpringContext:
Unsatisfied dependency expressed through method 'teleportMessageBoxAdapter'
parameter 1; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'dbSeeder': Invocation of init method failed; nested exception is
java.lang.RuntimeException: java.lang.reflect.InaccessibleObjectException:
Unable to make protected final java.lang.Class
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
throws java.lang.ClassFormatError accessible: module java.base does not "opens
java.lang" to unnamed module @6aebdec0
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'clientListService' defined in
com.ubnt.service.client.ClientSpringContext: Unsatisfied dependency expressed
through method 'clientListService' parameter 8; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportService' parameter 0; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportAccessService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportAccessService' parameter 1; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportTokenService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportTokenService' parameter 0; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportMessageBoxAdapter' defined in
com.ubnt.service.teleport.messagebox.TeleportMessageBoxSpringContext:
Unsatisfied dependency expressed through method 'teleportMessageBoxAdapter'
parameter 1; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'dbSeeder': Invocation of init method failed; nested exception is
java.lang.RuntimeException: java.lang.reflect.InaccessibleObjectException:
Unable to make protected final java.lang.Class
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
throws java.lang.ClassFormatError accessible: module java.base does not "opens
java.lang" to unnamed module @6aebdec0
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'teleportService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportService' parameter 0; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportAccessService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportAccessService' parameter 1; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportTokenService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportTokenService' parameter 0; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportMessageBoxAdapter' defined in
com.ubnt.service.teleport.messagebox.TeleportMessageBoxSpringContext:
Unsatisfied dependency expressed through method 'teleportMessageBoxAdapter'
parameter 1; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'dbSeeder': Invocation of init method failed; nested exception is
java.lang.RuntimeException: java.lang.reflect.InaccessibleObjectException:
Unable to make protected final java.lang.Class
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
throws java.lang.ClassFormatError accessible: module java.base does not "opens
java.lang" to unnamed module @6aebdec0
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'teleportAccessService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportAccessService' parameter 1; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportTokenService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportTokenService' parameter 0; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportMessageBoxAdapter' defined in
com.ubnt.service.teleport.messagebox.TeleportMessageBoxSpringContext:
Unsatisfied dependency expressed through method 'teleportMessageBoxAdapter'
parameter 1; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'dbSeeder': Invocation of init method failed; nested exception is
java.lang.RuntimeException: java.lang.reflect.InaccessibleObjectException:
Unable to make protected final java.lang.Class
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
throws java.lang.ClassFormatError accessible: module java.base does not "opens
java.lang" to unnamed module @6aebdec0
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'teleportTokenService' defined in
com.ubnt.service.teleport.TeleportSpringContext: Unsatisfied dependency
expressed through method 'teleportTokenService' parameter 0; nested exception
is org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'teleportMessageBoxAdapter' defined in
com.ubnt.service.teleport.messagebox.TeleportMessageBoxSpringContext:
Unsatisfied dependency expressed through method 'teleportMessageBoxAdapter'
parameter 1; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'dbSeeder': Invocation of init method failed; nested exception is
java.lang.RuntimeException: java.lang.reflect.InaccessibleObjectException:
Unable to make protected final java.lang.Class
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
throws java.lang.ClassFormatError accessible: module java.base does not "opens
java.lang" to unnamed module @6aebdec0
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'teleportMessageBoxAdapter' defined in
com.ubnt.service.teleport.messagebox.TeleportMessageBoxSpringContext:
Unsatisfied dependency expressed through method 'teleportMessageBoxAdapter'
parameter 1; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'dbSeeder': Invocation of init method failed; nested exception is
java.lang.RuntimeException: java.lang.reflect.InaccessibleObjectException:
Unable to make protected final java.lang.Class
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
throws java.lang.ClassFormatError accessible: module java.base does not "opens
java.lang" to unnamed module @6aebdec0
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'dbSeeder': Invocation of init method failed; nested
exception is java.lang.RuntimeException:
java.lang.reflect.InaccessibleObjectException: Unable to make protected final
java.lang.Class
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
throws java.lang.ClassFormatError accessible: module java.base does not "opens
java.lang" to unnamed module @6aebdec0
Caused by: java.lang.RuntimeException:
java.lang.reflect.InaccessibleObjectException: Unable to make protected final
java.lang.Class
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
throws java.lang.ClassFormatError accessible: module java.base does not "opens
java.lang" to unnamed module @6aebdec0
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make
protected final java.lang.Class
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
throws java.lang.ClassFormatError accessible: module java.base does not "opens
java.lang" to unnamed module @6aebdec0
[2022-12-24T15:27:16,262] <launcher> ERROR StandardContext - One or more
listeners failed to start. Full details will be found in the appropriate
container log file
[2022-12-24T15:27:16,267] <launcher> ERROR StandardContext - Context [] startup
failed due to previous errors

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