0

Support for java 16

Paulo Pontes 5 months ago 0

Due to security reasons I can't use an outdated Java and when trying to install in different machines I got this error:

20210525 17:47:19 [main] INFO com.ubooquity.Ubooquity - Running with the following parameters - headless: false, libraryport: -1, adminport: -1, remoteadmin: false, host: null, debug: false, execdir: C:\Users\xxxx\programas_locais\Ubooquity-2.1.2
20210525 17:47:19 [main] INFO com.ubooquity.Ubooquity - #############################
20210525 17:47:19 [main] INFO com.ubooquity.Ubooquity - # Starting Ubooquity #
20210525 17:47:19 [main] INFO com.ubooquity.Ubooquity - #############################
20210525 17:47:19 [main] INFO com.ubooquity.Ubooquity - Java version: 16
20210525 17:47:19 [main] INFO com.ubooquity.Ubooquity - Java vendor: Oracle Corporation
20210525 17:47:19 [main] INFO com.ubooquity.Ubooquity - java vm name: OpenJDK 64-Bit Server VM
20210525 17:47:19 [main] INFO com.ubooquity.Ubooquity - java runtime name: OpenJDK Runtime Environment
20210525 17:47:19 [main] INFO com.ubooquity.Ubooquity - Max heap size available: 8164 MB
20210525 17:47:19 [main] INFO com.ubooquity.Ubooquity - OS name: Windows 10
20210525 17:47:19 [main] INFO com.ubooquity.Ubooquity - OS version: 10.0
20210525 17:47:19 [main] INFO com.ubooquity.Ubooquity - OS architecture: amd64
20210525 17:47:19 [main] INFO com.ubooquity.Ubooquity - Loading local version info
20210525 17:47:19 [main] INFO com.ubooquity.Ubooquity - Ubooquity 2.1.2 built on 2018-10-14 at 12:58
20210525 17:47:19 [main] INFO com.ubooquity.Ubooquity - Creating application folders
20210525 17:47:20 [main] INFO com.ubooquity.Ubooquity - Loading preferences
20210525 17:47:20 [main] INFO com.ubooquity.Ubooquity - Saving preferences
20210525 17:47:20 [main] INFO org.eclipse.jetty.util.log - Logging initialized @7432ms to org.eclipse.jetty.util.log.Slf4jLog
20210525 17:47:20 [Thread-2] INFO com.ubooquity.b - Stopping internal server...
20210525 17:47:20 [Thread-2] INFO com.ubooquity.data.feeder.a - Aborting content scan...
20210525 17:47:20 [Thread-2] ERROR com.ubooquity.b - Error while stopping internal server
java.lang.NullPointerException: Cannot invoke "org.eclipse.jetty.server.ServerConnector.stop()" because "this.c" is null
at com.ubooquity.d.e.a(SourceFile:99) ~[Ubooquity.jar:2.1.2]
at com.ubooquity.b.c(SourceFile:112) ~[Ubooquity.jar:na]
at com.ubooquity.Ubooquity.C(SourceFile:216) ~[Ubooquity.jar:na]
at java.base/java.lang.Thread.run(Thread.java:831) ~[na:na]
20210525 17:47:20 [Thread-2] INFO com.ubooquity.b - Internal server stopped
20210525 17:47:20 [Thread-2] INFO com.ubooquity.Ubooquity - Ubooquity has closed.
20210602 17:56:09 [main] INFO com.ubooquity.Ubooquity - Running with the following parameters - headless: false, libraryport: -1, adminport: -1, remoteadmin: false, host: null, debug: false, execdir: C:\Users\xxxx\programas_locais\Ubooquity-2.1.2
20210602 17:56:09 [main] INFO com.ubooquity.Ubooquity - #############################
20210602 17:56:09 [main] INFO com.ubooquity.Ubooquity - # Starting Ubooquity #
20210602 17:56:09 [main] INFO com.ubooquity.Ubooquity - #############################
20210602 17:56:09 [main] INFO com.ubooquity.Ubooquity - Java version: 1.8.0_275
20210602 17:56:09 [main] INFO com.ubooquity.Ubooquity - Java vendor: AdoptOpenJDK
20210602 17:56:09 [main] INFO com.ubooquity.Ubooquity - java vm name: OpenJDK 64-Bit Server VM
20210602 17:56:09 [main] INFO com.ubooquity.Ubooquity - java runtime name: OpenJDK Runtime Environment
20210602 17:56:09 [main] INFO com.ubooquity.Ubooquity - Max heap size available: 7257 MB
20210602 17:56:09 [main] INFO com.ubooquity.Ubooquity - OS name: Windows 10
20210602 17:56:09 [main] INFO com.ubooquity.Ubooquity - OS version: 10.0
20210602 17:56:09 [main] INFO com.ubooquity.Ubooquity - OS architecture: amd64
20210602 17:56:09 [main] INFO com.ubooquity.Ubooquity - Loading local version info
20210602 17:56:09 [main] INFO com.ubooquity.Ubooquity - Ubooquity 2.1.2 built on 2018-10-14 at 12:58
20210602 17:56:09 [main] INFO com.ubooquity.Ubooquity - Creating application folders
20210602 17:56:09 [main] INFO com.ubooquity.Ubooquity - Loading preferences
20210602 17:56:10 [main] INFO org.eclipse.jetty.util.log - Logging initialized @5691ms to org.eclipse.jetty.util.log.Slf4jLog
20210602 17:56:10 [Thread-2] INFO com.ubooquity.b - Stopping internal server...
20210602 17:56:10 [Thread-2] INFO com.ubooquity.data.feeder.a - Aborting content scan...
20210602 17:56:10 [Thread-2] ERROR com.ubooquity.b - Error while stopping internal server
java.lang.NullPointerException: null
at com.ubooquity.d.e.a(SourceFile:99) ~[Ubooquity.jar:2.1.2]
at com.ubooquity.b.c(SourceFile:112) ~[Ubooquity.jar:2.1.2]
at com.ubooquity.Ubooquity.C(SourceFile:216) [Ubooquity.jar:2.1.2]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_275]
20210602 17:56:10 [Thread-2] INFO com.ubooquity.b - Internal server stopped
20210602 17:56:10 [Thread-2] INFO com.ubooquity.Ubooquity - Ubooquity has closed.


Is there any known way to make Ubooquity work with the latest java?