Hi Michael, my setting for "Allow Applications Downloaded from…" is “App Store and identified developers”.

It's controlled by a central company profile so I can't change it. 

Thanks for pointing out that the warning is not the cause. I managed to see the same error report as you posted when i choose "report to apple" 

Regards,
Johan

On Wed, Oct 25, 2023 at 2:21 PM Michael Seiferle <ms@basex.org> wrote:

Hi Johan,

 

it works (well worked… see below) on my machine with the very same setup (basex@10.7 & openjdk@21 via brew, see my previous email), so I am sure it is an issue for certain setups.

 

  1. what’s your security settings? Apple Menu -> Privacy & Security -> Allow Applications Downloaded from… mine is set to “App Store and identified developers”.
  2. Now if I set it to “App Store” BaseX will not start with the following error:

Ein Bild, das Text, Screenshot, Software, Webseite enthält.

Automatisch generierte Beschreibung

 

BUT: now it won’t start again even if I set it back :-{

So my motivation to find a fix or workaround is considerably higher now 😉 I will report once I found something.

 

The warning that is dumped to your console — something something NSApplicationDelegate.applicationSupportsSecureRestorableState — doesn’t cause BaseX to crash, as I could see this warning as well.

Background:

https://stackoverflow.com/questions/77283578/sonoma-and-nsapplicationdelegate-applicationsupportssecurerestorablestate

 

Best

Michael

 

 

Von: Christian Grün <christian.gruen@gmail.com>
Datum: Mittwoch, 25. Oktober 2023 um 13:09
An: Johan Mörén <johan.moren@gmail.com>
Cc: Michael Seiferle <ms@basex.org>, BaseX <basex-talk@mailman.uni-konstanz.de>
Betreff: Re: [basex-talk] Crash when starting basexgui

Thanks. It seems we have to wait for Apple to fix this. Unfortunately, their bug tracker doesn’t seem to be public [2].

 

 

 

On Wed, Oct 25, 2023 at 1:01 PM Johan Mörén <johan.moren@gmail.com> wrote:

Running MacOS Sonoma Apple Silicon M2 processor and ran into the same problem when homebrew updated my JDK to 21.0.1 today.

 

According to this article it seems like applications like jmeter and IntelliJ needs to fix this by implementing a specific interface. I guess this applies to Basexgui as well?

 

 

Regards,

Johan