0
Not a bug

Ubooquity doesn't start on MacOS Monterey

AboveSky 3 years ago updated 3 years ago 2

Hi, when I try to launch Ubooquity.jar (I've updated JVM today, it runs Java 8 update 321), it starts and stops immediately (Nothing can be seen by the human eye).  Here is the log it produces:

20220122 19:06:09 [main] INFO com.ubooquity.Ubooquity - #############################
20220122 19:06:09 [main] INFO com.ubooquity.Ubooquity - # Starting Ubooquity #
20220122 19:06:09 [main] INFO com.ubooquity.Ubooquity - #############################
20220122 19:06:09 [main] INFO com.ubooquity.Ubooquity - Java version: 14.0.2
20220122 19:06:09 [main] INFO com.ubooquity.Ubooquity - Java vendor: Oracle Corporation
20220122 19:06:09 [main] INFO com.ubooquity.Ubooquity - java vm name: Java HotSpot(TM) 64-Bit Server VM
20220122 19:06:09 [main] INFO com.ubooquity.Ubooquity - java runtime name: Java(TM) SE Runtime Environment
20220122 19:06:09 [main] INFO com.ubooquity.Ubooquity - Max heap size available: 6144 MB
20220122 19:06:09 [main] INFO com.ubooquity.Ubooquity - OS name: Mac OS X
20220122 19:06:09 [main] INFO com.ubooquity.Ubooquity - OS version: 10.16
20220122 19:06:09 [main] INFO com.ubooquity.Ubooquity - OS architecture: x86_64
20220122 19:06:09 [main] INFO com.ubooquity.Ubooquity - Loading local version info
20220122 19:06:09 [main] INFO com.ubooquity.Ubooquity - Ubooquity 2.1.2 built on 2018-10-14 at 12:58
20220122 19:06:09 [main] INFO com.ubooquity.Ubooquity - Creating application folders
20220122 19:06:09 [main] INFO com.ubooquity.Ubooquity - Loading preferences
20220122 19:06:10 [main] INFO org.eclipse.jetty.util.log - Logging initialized @3268ms to org.eclipse.jetty.util.log.Slf4jLog
20220122 19:06:10 [Thread-2] INFO com.ubooquity.b - Stopping internal server...
20220122 19:06:10 [Thread-2] INFO com.ubooquity.data.feeder.a - Aborting content scan...
20220122 19:06: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:na]
at com.ubooquity.Ubooquity.C(SourceFile:216) ~[Ubooquity.jar:na]
at java.base/java.lang.Thread.run(Thread.java:832) ~[na:na]
20220122 19:06:10 [Thread-2] INFO com.ubooquity.b - Internal server stopped
20220122 19:06:10 [Thread-2] INFO com.ubooquity.Ubooquity - Ubooquity has closed.

Not a bug
20220122 19:06:09 [main] INFO  com.ubooquity.Ubooquity - Java version: 14.0.2

You're running Java 14.

Oh, when you say "Java 8", it's not "8 or higher"??

I don't understand, though. Log says "Java version: 14.0.2", but Java itself says "Java 8 update 321", which is le last one. Are we talking of two different things ?

java -version gives the following:

java version "14.0.2" 2020-07-14

Java(TM) SE Runtime Environment (build 14.0.2+12-46)

Java HotSpot(TM) 64-Bit Server VM (build 14.0.2+12-46, mixed mode, sharing)

I must say that I am a bit lost...