开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

YAAC failing to display menu on OSX Sequoia


 

I am trying to set up YAAC on an Apple M2 MacBook running Sequoia 15.1.1. When I run?
"java -jar YAAC.jar" the YAAC window comes up, but there is no menu to allow me to configure it.
?
I get the following error on the terminal during the startup (pertinent section clipped):
?
Thu Dec 12 10:06:03 EST 2024: YAAC Macifying main menu bar....
java.lang.reflect.InvocationTargetException
? ? ? ? at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
? ? ? ? at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
? ? ? ? at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
? ? ? ? at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
? ? ? ? at org.ka2ddo.yaac.YAAC.main(YAAC.java:690)
? ? ? ? at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
? ? ? ? at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
? ? ? ? at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
? ? ? ? at java.lang.reflect.Method.invoke(Method.java:498)
? ? ? ? at org.ka2ddo.yaac.bootstrap.YAACBootstrap.main(YAACBootstrap.java:301)
Caused by: java.lang.NullPointerException
? ? ? ? at org.ka2ddo.yaac.gui.os.GuiOsAdapter.osSpecificInitGui(GuiOsAdapter.java:70)
? ? ? ? at org.ka2ddo.yaac.gui.MainGui.<init>(MainGui.java:497)
? ? ? ? ... 10 more
Thu Dec 12 10:06:03 EST 2024: YAAC starting digipeater....
?
etc....
?
No menu.
?
73
Pascal AC7N
?


 

开云体育

Greetings.

I found the problem you are reporting. A fallback for use of Java 8 was not coded correctly. I will fix this in the next build of YAAC. In the meantime, you can work around this by using a newer release of the Java Runtime Environment, such as Java 11, 17, or 21.

Hope this helps.

Andrew, KA2DDO
author of YAAC


From: [email protected] <[email protected]> on behalf of Pascal Nelson via groups.io <vpnels@...>
Sent: Thursday, December 12, 2024 2:51:12 PM

I am trying to set up YAAC on an Apple M2 MacBook running Sequoia 15.1.1. When I run?
"java -jar YAAC.jar" the YAAC window comes up, but there is no menu to allow me to configure it.
?
I get the following error on the terminal during the startup (pertinent section clipped):
?
Thu Dec 12 10:06:03 EST 2024: YAAC Macifying main menu bar....
java.lang.reflect.InvocationTargetException
? ? ? ? at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
? ? ? ? at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
? ? ? ? at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
? ? ? ? at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
? ? ? ? at org.ka2ddo.yaac.YAAC.main(YAAC.java:690)
? ? ? ? at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
? ? ? ? at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
? ? ? ? at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
? ? ? ? at java.lang.reflect.Method.invoke(Method.java:498)
? ? ? ? at org.ka2ddo.yaac.bootstrap.YAACBootstrap.main(YAACBootstrap.java:301)
Caused by: java.lang.NullPointerException
? ? ? ? at org.ka2ddo.yaac.gui.os.GuiOsAdapter.osSpecificInitGui(GuiOsAdapter.java:70)
? ? ? ? at org.ka2ddo.yaac.gui.MainGui.<init>(MainGui.java:497)
? ? ? ? ... 10 more
Thu Dec 12 10:06:03 EST 2024: YAAC starting digipeater....
?
etc....
?
No menu.
?
73
Pascal AC7N
?


 

Many thanks, Andrew. That was indeed the problem.
?
Since I don't usually need the the JDK, I installed the "recommended" JRE from Oracle, which is still 1.8 (Java 8).
?
I removed the JRE and installed JDK 23. Now, YAAC works perfectly on the MacBook Air M2 Sequoia 15.1.1.
?
Great support.
?
73
Pascal AC7N