Thread Tools Display Modes
06/06/23, 03:18 PM   #1
mro999
Join Date: Jun 2023
Posts: 2
Minion silently quits after launch on Mac Sonoma

I'm trying to find artifacts of the crash to submit, but Minion.app will not launch on the new 2023 WWDC build.
  Reply With Quote
06/07/23, 06:11 AM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 5,189
It should write a Minion.log file, check the sticky posts about how to post errors here, it should contain the path where it is stored, or search your mac for the file. Post it here please s attachment then.

And allow Minion in your firewall and and antivirus to let it connect and work properly.
  Reply With Quote
06/07/23, 08:09 AM   #3
mro999
Join Date: Jun 2023
Posts: 2
Excellent - found ~/.minion/minion.log

Alright - found the log... going to clear it and run to get a good read of what's going on...

So it looks like an uncaught exception outside of the Java world - Objective C array index out of bounds from the looks of it:

Code:
INFO  2023-06-07 09:04:33,802 [JavaFX Application Thread] gg.minion.Minion:start(43): Attempting to start Minion...
INFO  2023-06-07 09:04:34,346 [JavaFX Application Thread] gg.minion.Minion:logSystemInformation(127): os.name=Mac OS X
INFO  2023-06-07 09:04:34,346 [JavaFX Application Thread] gg.minion.Minion:logSystemInformation(128): os.version=10.16
INFO  2023-06-07 09:04:34,346 [JavaFX Application Thread] gg.minion.Minion:logSystemInformation(129): os.arch=x86_64
INFO  2023-06-07 09:04:34,346 [JavaFX Application Thread] gg.minion.Minion:logSystemInformation(130): java.runtime.version=1.8.0_92-b14
INFO  2023-06-07 09:04:34,347 [JavaFX Application Thread] gg.minion.Minion:logSystemInformation(131): java.class.path=/Applications/Minion.app/Contents/Java/Minion-jfx.jar:lib/httpclient-4.5.2.jar:lib/httpcore-4.4.4.jar:lib/commons-logging-1.2.jar:lib/commons-codec-1.9.jar:lib/commons-configuration-1.10.jar:lib/commons-lang-2.6.jar:lib/commons-jxpath-1.3.jar:lib/commons-collections-3.2.2.jar:lib/jackson-mapper-asl-1.9.13.jar:lib/jackson-core-asl-1.9.13.jar:lib/junrar-0.7.jar:lib/commons-logging-api-1.1.jar:lib/commons-vfs2-2.0.jar:lib/maven-scm-api-1.4.jar:lib/plexus-utils-1.5.6.jar:lib/maven-scm-provider-svnexe-1.4.jar:lib/maven-scm-provider-svn-commons-1.4.jar:lib/regexp-1.3.jar:lib/kefirbb-1.1.jar:lib/commons-io-2.4.jar:lib/jsr305-3.0.1.jar:lib/junique-1.0.4.jar:lib/jregex-1.2_01.jar:lib/controlsfx-8.40.11.jar:lib/log4j-api-2.6.2.jar:lib/log4j-core-2.6.2.jar
INFO  2023-06-07 09:04:34,347 [JavaFX Application Thread] gg.minion.Minion:logSystemInformation(132): java.library.path=/Applications/Minion.app/Contents/Java:/Applications/Minion.app/Contents/MacOS
INFO  2023-06-07 09:04:34,347 [JavaFX Application Thread] gg.minion.Minion:logSystemInformation(133): user.language=en
INFO  2023-06-07 09:04:34,347 [JavaFX Application Thread] gg.minion.Minion:logSystemInformation(134): user.home=/Users/mark
DEBUG 2023-06-07 09:04:34,907 [JavaFX Application Thread] gg.minion.controller.MinionController:initWindowControls(504): Controls initialized.
DEBUG 2023-06-07 09:04:34,909 [JavaFX Application Thread] gg.minion.util.FeedClient:checkNetworkConnections(106): Starting network check ...
DEBUG 2023-06-07 09:04:34,911 [JavaFX Application Thread] gg.minion.util.FeedClient:getRoutePlanner(61): System Default Http Proxy.
DEBUG 2023-06-07 09:04:35,452 [Thread-9] gg.minion.util.FeedClient:run(159): Ping Status for http://api.mmoui.com/: 200
DEBUG 2023-06-07 09:04:35,454 [Thread-10] gg.minion.util.FeedClient:run(159): Ping Status for http://cdn.mmoui.com/: 200
DEBUG 2023-06-07 09:04:36,047 [JavaFX Application Thread] gg.minion.controller.MinionController:open(311): Starting new Minion instance.
ERROR 2023-06-07 09:04:36,084 [JavaFX Application Thread] gg.minion.controller.MinionController:<init>(147): Catching javafx.fxml.LoadException: 
file:/Applications/Minion.app/Contents/Java/Minion-jfx.jar!/gg/minion/fxml/Minion.fxml

	at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2601)
	at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2571)
	at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2441)
	at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2409)
	at gg.minion.controller.MinionController.<init>(MinionController.java:145)
	at gg.minion.Minion.start(Minion.java:64)
	at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(LauncherImpl.java:863)
	at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(PlatformImpl.java:326)
	at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
Caused by: java.lang.reflect.InvocationTargetException
	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.reflec*****thod.invoke(Method.java:498)
	at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
	at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflec*****thod.invoke(Method.java:498)
	at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
	at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2566)
	... 10 more
Caused by: java.lang.ExceptionInInitializerError
	at java.awt.SystemTray.isSupported(SystemTray.java:219)
	at gg.minion.controller.MinionController.open(MinionController.java:312)
	at gg.minion.controller.MinionController.bootMinion(MinionController.java:198)
	at gg.minion.controller.MinionController.initLogin(MinionController.java:253)
	at gg.minion.controller.MinionController.initialize(MinionController.java:174)
	... 20 more
Caused by: java.lang.RuntimeException: Non-Java exception raised, not handled! (Original problem: Invalid parameter not satisfying: index < [_itemArray count])
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
	at java.lang.Runtime.load0(Runtime.java:809)
	at java.lang.System.load(System.java:1086)
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1845)
	at java.lang.Runtime.loadLibrary0(Runtime.java:870)
	at java.lang.System.loadLibrary(System.java:1122)
	at java.awt.Toolkit$3.run(Toolkit.java:1636)
	at java.awt.Toolkit$3.run(Toolkit.java:1634)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.Toolkit.loadLibraries(Toolkit.java:1633)
	at java.awt.Toolkit.<clinit>(Toolkit.java:1668)
	... 25 more

DEBUG 2023-06-07 09:04:36,175 [JavaFX Application Thread] gg.minion.Minion:stop(98): Close called.
DEBUG 2023-06-07 09:04:36,175 [Thread-7] gg.minion.MinionShutdownHook:run(21): Shutdown hook called.
I'm going to clear out my settings and see if I can get a "fresh install" going, or whether this is occurring before reading local configs...

...and it appears that we get the same error if I move aside my ~/.minion folder.

Last edited by mro999 : 06/07/23 at 08:11 AM.
  Reply With Quote
07/26/23, 09:36 PM   #4
phyllisstein
Join Date: Jul 2023
Posts: 2
I'm seeing the same thing under the most recent developer beta:

Code:
ProductName:		macOS
ProductVersion:		14.0
BuildVersion:		23A5301g
Code:
INFO  2023-07-26 23:27:03,999 [JavaFX Application Thread] gg.minion.Minion:start(43): Attempting to start Minion...
INFO  2023-07-26 23:27:04,445 [JavaFX Application Thread] gg.minion.util.ConfigurationManager:loadConfig(1192): Configuration file does not exist.  Creating ...
INFO  2023-07-26 23:27:04,505 [JavaFX Application Thread] gg.minion.Minion:logSystemInformation(127): os.name=Mac OS X
INFO  2023-07-26 23:27:04,505 [JavaFX Application Thread] gg.minion.Minion:logSystemInformation(128): os.version=10.16
INFO  2023-07-26 23:27:04,505 [JavaFX Application Thread] gg.minion.Minion:logSystemInformation(129): os.arch=x86_64
INFO  2023-07-26 23:27:04,505 [JavaFX Application Thread] gg.minion.Minion:logSystemInformation(130): java.runtime.version=1.8.0_92-b14
INFO  2023-07-26 23:27:04,505 [JavaFX Application Thread] gg.minion.Minion:logSystemInformation(131): java.class.path=/Applications/Minion.app/Contents/Java/Minion-jfx.jar:lib/httpclient-4.5.2.jar:lib/httpcore-4.4.4.jar:lib/commons-logging-1.2.jar:lib/commons-codec-1.9.jar:lib/commons-configuration-1.10.jar:lib/commons-lang-2.6.jar:lib/commons-jxpath-1.3.jar:lib/commons-collections-3.2.2.jar:lib/jackson-mapper-asl-1.9.13.jar:lib/jackson-core-asl-1.9.13.jar:lib/junrar-0.7.jar:lib/commons-logging-api-1.1.jar:lib/commons-vfs2-2.0.jar:lib/maven-scm-api-1.4.jar:lib/plexus-utils-1.5.6.jar:lib/maven-scm-provider-svnexe-1.4.jar:lib/maven-scm-provider-svn-commons-1.4.jar:lib/regexp-1.3.jar:lib/kefirbb-1.1.jar:lib/commons-io-2.4.jar:lib/jsr305-3.0.1.jar:lib/junique-1.0.4.jar:lib/jregex-1.2_01.jar:lib/controlsfx-8.40.11.jar:lib/log4j-api-2.6.2.jar:lib/log4j-core-2.6.2.jar
INFO  2023-07-26 23:27:04,505 [JavaFX Application Thread] gg.minion.Minion:logSystemInformation(132): java.library.path=/Applications/Minion.app/Contents/Java:/Applications/Minion.app/Contents/MacOS
INFO  2023-07-26 23:27:04,506 [JavaFX Application Thread] gg.minion.Minion:logSystemInformation(133): user.language=en
INFO  2023-07-26 23:27:04,506 [JavaFX Application Thread] gg.minion.Minion:logSystemInformation(134): user.home=/Users/daniel
DEBUG 2023-07-26 23:27:06,306 [JavaFX Application Thread] gg.minion.controller.MinionController:initWindowControls(504): Controls initialized.
DEBUG 2023-07-26 23:27:06,308 [JavaFX Application Thread] gg.minion.util.FeedClient:checkNetworkConnections(106): Starting network check ...
DEBUG 2023-07-26 23:27:06,309 [JavaFX Application Thread] gg.minion.util.FeedClient:getRoutePlanner(61): System Default Http Proxy.
DEBUG 2023-07-26 23:27:06,769 [Thread-9] gg.minion.util.FeedClient:run(159): Ping Status for http://api.mmoui.com/: 200
DEBUG 2023-07-26 23:27:06,788 [Thread-10] gg.minion.util.FeedClient:run(159): Ping Status for http://cdn.mmoui.com/: 200
DEBUG 2023-07-26 23:27:07,339 [JavaFX Application Thread] gg.minion.controller.MinionController:open(311): Starting new Minion instance.
ERROR 2023-07-26 23:27:07,561 [JavaFX Application Thread] gg.minion.controller.MinionController:<init>(147): Catching javafx.fxml.LoadException: 
file:/Applications/Minion.app/Contents/Java/Minion-jfx.jar!/gg/minion/fxml/Minion.fxml

	at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2601)
	at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2571)
	at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2441)
	at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2409)
	at gg.minion.controller.MinionController.<init>(MinionController.java:145)
	at gg.minion.Minion.start(Minion.java:64)
	at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(LauncherImpl.java:863)
	at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(PlatformImpl.java:326)
	at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
Caused by: java.lang.reflect.InvocationTargetException
	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.reflec*****thod.invoke(Method.java:498)
	at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
	at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflec*****thod.invoke(Method.java:498)
	at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
	at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2566)
	... 10 more
Caused by: java.lang.ExceptionInInitializerError
	at java.awt.SystemTray.isSupported(SystemTray.java:219)
	at gg.minion.controller.MinionController.open(MinionController.java:312)
	at gg.minion.controller.MinionController.bootMinion(MinionController.java:198)
	at gg.minion.controller.MinionController.initLogin(MinionController.java:253)
	at gg.minion.controller.MinionController.initialize(MinionController.java:174)
	... 20 more
Caused by: java.lang.RuntimeException: Non-Java exception raised, not handled! (Original problem: Invalid parameter not satisfying: index < [_itemArray count])
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
	at java.lang.Runtime.load0(Runtime.java:809)
	at java.lang.System.load(System.java:1086)
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1845)
	at java.lang.Runtime.loadLibrary0(Runtime.java:870)
	at java.lang.System.loadLibrary(System.java:1122)
	at java.awt.Toolkit$3.run(Toolkit.java:1636)
	at java.awt.Toolkit$3.run(Toolkit.java:1634)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.Toolkit.loadLibraries(Toolkit.java:1633)
	at java.awt.Toolkit.<clinit>(Toolkit.java:1668)
	... 25 more

DEBUG 2023-07-26 23:27:07,647 [JavaFX Application Thread] gg.minion.Minion:stop(98): Close called.
DEBUG 2023-07-26 23:27:07,648 [Thread-7] gg.minion.MinionShutdownHook:run(21): Shutdown hook called.
Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<minion>
<config-version>2</config-version>
<version>3.0.5</version>
<build>b514d8b5e7d5506eb98a93a8e06d57cc34f31c9e</build>
<libs-build>81fcfa6cd281365b8e6c40c51e2fc931caf4101d</libs-build>
<client>
        <concurrent-updates>2</concurrent-updates>
        <game-scan-depth>4</game-scan-depth>
    </client>
<user>
<ga-user-id>a5db4c96-16bb-4a96-92d9-c55c71a0156c</ga-user-id>
</user>
</minion>
I tried running the JAR, but Oracle JDK 8 doesn't run on ARM, and Zulu 8 and Oracle 20 threw a "Could not find or load main class" error.
  Reply With Quote
08/21/23, 03:40 PM   #5
phyllisstein
Join Date: Jul 2023
Posts: 2
Originally Posted by Baertram View Post
It should write a Minion.log file, check the sticky posts about how to post errors here, it should contain the path where it is stored, or search your mac for the file. Post it here please s attachment then.

And allow Minion in your firewall and and antivirus to let it connect and work properly.
Is Minion's source code released under a permissive license? Maybe some of us dev-beta dummies could try updating it for Sonoma.
  Reply With Quote
10/05/23, 11:47 AM   #6
dan_el2
Join Date: May 2017
Posts: 7
Minion runs on macOS 14 ("Sonoma") by using the "Minion by JAVA" method outlined in the Troubleshooting guide.
Using the steps below I got it to run on my M1.
  1. Download and install the latest version of Minion.
    -->https://minion.mmoui.com/?download
  2. Download and install JRE (Get the "macOS ARM64" version if you are on Apple Silicon).
    -->https://www.java.com/download/manual.jsp
  3. Set JAVA_HOME in Terminal:
    Code:
    export JAVA_HOME='/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home'
  4. Run Minion directly from Terminal:
    Code:
    java -jar /Applications/Minion.app/Contents/Java/Minion-jfx.jar
  5. Profit!

EDIT: I did not clean out my ~/.minion folder or any config files. And Minion was working just fine on macOS 13.x without any extra steps needed.

Last edited by dan_el2 : 10/05/23 at 11:54 AM.
  Reply With Quote
10/06/23, 10:04 AM   #7
Edem
 
Edem's Avatar
Join Date: Nov 2019
Posts: 3
Unhappy

Originally Posted by dan_el2 View Post
Minion runs on macOS 14 ("Sonoma") by using the "Minion by JAVA" method outlined in the Troubleshooting guide.
Using the steps below I got it to run on my M1.
  1. Download and install the latest version of Minion.
    -->https://minion.mmoui.com/?download
  2. Download and install JRE (Get the "macOS ARM64" version if you are on Apple Silicon).
    -->https://www.java.com/download/manual.jsp
  3. Set JAVA_HOME in Terminal:
    Code:
    export JAVA_HOME='/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home'
  4. Run Minion directly from Terminal:
    Code:
    java -jar /Applications/Minion.app/Contents/Java/Minion-jfx.jar
  5. Profit!

EDIT: I did not clean out my ~/.minion folder or any config files. And Minion was working just fine on macOS 13.x without any extra steps needed.
Unfortunately, it did not help:
Code:
DEBUG 2023-10-06 18:02:23,079 [JavaFX Application Thread] gg.minion.controller.MinionController:open(311): Starting new Minion instance.
2023-10-06 18:02:23.087 java[3546:256715] *** Assertion failure in -[NSMenu itemAtIndex:], NSMenu.m:1435
ERROR 2023-10-06 18:02:23,087 [JavaFX Application Thread] gg.minion.controller.MinionController:<init>(147): Catching javafx.fxml.LoadException: 
file:/Applications/Minion.app/Contents/Java/Minion-jfx.jar!/gg/minion/fxml/Minion.fxml

	at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2601)
	at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2571)
	at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2441)
	at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2409)
	at gg.minion.controller.MinionController.<init>(MinionController.java:145)
	at gg.minion.Minion.start(Minion.java:64)
	at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$161(LauncherImpl.java:863)
	at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$174(PlatformImpl.java:326)
	at com.sun.javafx.application.PlatformImpl.lambda$null$172(PlatformImpl.java:295)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$173(PlatformImpl.java:294)
	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
Caused by: java.lang.reflect.InvocationTargetException
	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.reflec*****thod.invoke(Method.java:498)
	at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
	at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflec*****thod.invoke(Method.java:498)
	at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
	at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2566)
	... 10 more
Caused by: java.lang.ExceptionInInitializerError
	at java.awt.SystemTray.isSupported(SystemTray.java:219)
	at gg.minion.controller.MinionController.open(MinionController.java:312)
	at gg.minion.controller.MinionController.bootMinion(MinionController.java:198)
	at gg.minion.controller.MinionController.initLogin(MinionController.java:253)
	at gg.minion.controller.MinionController.initialize(MinionController.java:174)
	... 20 more
Caused by: java.lang.RuntimeException: Non-Java exception raised, not handled! (Original problem: Invalid parameter not satisfying: index < [_itemArray count])
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
	at java.lang.Runtime.load0(Runtime.java:809)
	at java.lang.System.load(System.java:1086)
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1845)
	at java.lang.Runtime.loadLibrary0(Runtime.java:870)
	at java.lang.System.loadLibrary(System.java:1122)
	at java.awt.Toolkit$3.run(Toolkit.java:1636)
	at java.awt.Toolkit$3.run(Toolkit.java:1634)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.Toolkit.loadLibraries(Toolkit.java:1633)
	at java.awt.Toolkit.<clinit>(Toolkit.java:1668)
	... 25 more

Exception in Application start method
DEBUG 2023-10-06 18:02:23,109 [JavaFX Application Thread] gg.minion.Minion:stop(98): Close called.
2023-10-06 18:02:23,110 pool-2-thread-1 DEBUG Stopping LoggerContext[name=3d4eac69, org.apache.logging.log4j.core.LoggerContext@62eea482]
DEBUG 2023-10-06 18:02:23,110 [Thread-7] gg.minion.MinionShutdownHook:run(21): Shutdown hook called.
2023-10-06 18:02:23,110 pool-2-thread-1 DEBUG Stopping LoggerContext[name=3d4eac69, org.apache.logging.log4j.core.LoggerContext@62eea482]...
2023-10-06 18:02:23,111 pool-2-thread-1 DEBUG Shutting down OutputStreamManager SYSTEM_OUT.false.false
2023-10-06 18:02:23,111 pool-2-thread-1 DEBUG Shutting down OutputStreamManager SYSTEM_OUT.false.false-3
2023-10-06 18:02:23,111 pool-2-thread-1 DEBUG Shutting down FileManager /Users/edem/.minion/minion.log
2023-10-06 18:02:23,112 pool-2-thread-1 DEBUG Stopped XmlConfiguration[location=jar:file:/Applications/Minion.app/Contents/Java/Minion-jfx.jar!/log4j2.xml] OK
2023-10-06 18:02:23,112 pool-2-thread-1 DEBUG Stopped LoggerContext[name=3d4eac69, org.apache.logging.log4j.core.LoggerContext@62eea482]...
  Reply With Quote
10/06/23, 03:02 PM   #8
dan_el2
Join Date: May 2017
Posts: 7
Hm, working for me on my M1. I see some errors in Terminal when running "java -jar /Applications/Minion.app/Contents/Java/Minion-jfx.jar" to launch Minion but the App starts up fine (the Dock icon is a folder icon instead of the regular Minion App icon though)

I am not able to launch Minion by double clicking the Minion.app, only the Java method works for me.

What does "java -version" print when you run it in Terminal? Should be something like this:
Code:
redacted@Random-MBP ~ % java -version
java version "1.8.0_381"
Java(TM) SE Runtime Environment (build 1.8.0_381-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.381-b09, mixed mode)
@Edem: Delete your minion.log file, then start Minion using the Java method, then post the contents of the minion.log file (or attach it). Mine looks quite different than what you posted.

Last edited by dan_el2 : 10/06/23 at 03:14 PM.
  Reply With Quote
10/06/23, 09:44 PM   #9
Sootica
Join Date: Oct 2023
Posts: 2
Minion stopped working on MacOS Sonoma :(

I have the same problems described here and using the above methods launching via java did not work...
  Reply With Quote
10/07/23, 01:32 AM   #10
dan_el2
Join Date: May 2017
Posts: 7
Originally Posted by Sootica View Post
I have the same problems described here and using the above methods launching via java did not work...
I'd try cleaning out all Java/JDK/JRE installations, removing Minion, and also renaming your "~/.minion" directory to something like "~/.minion.bak" so you have a clean starting point. Then reinstall everything as described. I have outlined the steps in more detail below and also ran through all the steps myself again.

My device: M1 Pro MacBook running macOS 14.0

The steps:
  1. Delete "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin"
  2. Delete Contents of "/Library/Java/Extensions" and "/Library/Java/JavaVirtualMachines"
  3. Rename "/Users/<USERNAME>/.minion" to "/Users/<USERNAME>/.minion.bak" (you will have to make hidden folders visible in Finder first: CMD+Shift+.)
  4. Delete "/Applications/Minion.app"
  5. Download and install the latest version of Minion for macOS (NOTE: I did NOT download the Java version!)
    -->https://minion.mmoui.com/?download
  6. Download and install JRE (Get the "macOS ARM64" version if you are on Apple Silicon like me)
    -->This will install JRE to "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin"
    -->https://www.java.com/download/manual.jsp (Java 8 Update 381 at the time of writing)
  7. Set JAVA_HOME in Terminal:
    Code:
    export JAVA_HOME='/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home'
  8. Running "java -version" in Terminal should look like this now:
    Code:
    redacted@Random-MBP ~ % java -version
    java version "1.8.0_381"
    Java(TM) SE Runtime Environment (build 1.8.0_381-b09)
    Java HotSpot(TM) 64-Bit Server VM (build 25.381-b09, mixed mode)
  9. Now run Minion from Terminal using Java for the first time:
    Code:
    java -jar /Applications/Minion.app/Contents/Java/Minion-jfx.jar
  10. On first launch it will ask you to update. Click on the button "Update Now! (Restart)"
  11. Minion will attempt to relaunch itself after the update NOT using the Java method causing a pop-up to appear saying that the app cannot be opened because the developer cannot be verified. Click on the button "Cancel" and ignore the message.
  12. Run Minion from Terminal using Java again:
    Code:
    java -jar /Applications/Minion.app/Contents/Java/Minion-jfx.jar
  13. Select games (only ESO for me) and volumes to scan (only "/Volumes/Macintosh HD" for me)
  14. Answer any "Terminal wants to access XYZ" messages with "OK".
  15. Tell Minion where your addon folder is ("/Users/<USERNAME>/Documents/Elder Scrolls Online/live/AddOns/" for me)
  16. At this point I had to relaunch Minion (using Java) again because it would not display my addons at first. After relaunching it everything worked as expected. If you see your game twice in Minion (like I did) simply remove one.

If Minion won't run on your machine after following the steps above then you can still attach your minion.log file here. Otherwise I am at a loss. Hope this helps.
  Reply With Quote
10/07/23, 05:10 PM   #11
Sootica
Join Date: Oct 2023
Posts: 2
It worked!!!

Thank you so much for this detailed explanation! It worked! Still have to launch minion via terminal from now, but I'm setting up an Alfred automation to run the terminal script via a shortcut so not much trouble. Hope the developers would update the app to work normally soon
  Reply With Quote
10/08/23, 01:55 AM   #12
dan_el2
Join Date: May 2017
Posts: 7
Originally Posted by phyllisstein View Post
I tried running the JAR, but Oracle JDK 8 doesn't run on ARM, and Zulu 8 and Oracle 20 threw a "Could not find or load main class" error.
Maybe the more detailed steps in #10 work for you too?
  Reply With Quote
10/14/23, 04:58 AM   #13
erikgre
Join Date: May 2022
Posts: 1
Shortcut

i created a shortcut that does it for me atlest.
but minion and java ARM x64 must be installed to get it to work.

Minion Shortcut
  Reply With Quote
10/15/23, 10:17 AM   #14
Quiss42
Join Date: Mar 2022
Posts: 1
Originally Posted by dan_el2 View Post
Minion runs on macOS 14 ("Sonoma") by using the "Minion by JAVA" method outlined in the Troubleshooting guide.
Using the steps below I got it to run on my M1.
  1. Download and install the latest version of Minion.
    -->https://minion.mmoui.com/?download
  2. Download and install JRE (Get the "macOS ARM64" version if you are on Apple Silicon).
    -->https://www.java.com/download/manual.jsp
  3. Set JAVA_HOME in Terminal:
    Code:
    export JAVA_HOME='/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home'
  4. Run Minion directly from Terminal:
    Code:
    java -jar /Applications/Minion.app/Contents/Java/Minion-jfx.jar
  5. Profit!

EDIT: I did not clean out my ~/.minion folder or any config files. And Minion was working just fine on macOS 13.x without any extra steps needed.
This actually worked for me. Thanks a lot!
  Reply With Quote
10/15/23, 10:28 AM   #15
dan_el2
Join Date: May 2017
Posts: 7
Originally Posted by erikgre View Post
i created a shortcut that does it for me atlest.
but minion and java ARM x64 must be installed to get it to work.

Minion Shortcut
This is very useful. Using it too now, thank you!

Originally Posted by Quiss42 View Post
This actually worked for me. Thanks a lot!
Glad to hear it!
  Reply With Quote
10/24/23, 12:50 PM   #16
fireslasher
Join Date: Oct 2023
Posts: 1
I've been having issues ever since updating to Sonoma, and then I found this thread - nothing worked until I used the actual Oracle Java 1.8. So, something to note, you *must* use the Oracle version of Java, otherwise I just got the "main class not found" error when usin Zulu.
  Reply With Quote
11/04/23, 07:29 PM   #17
Coorbin
AddOn Author - Click to view addons
Join Date: Sep 2018
Posts: 15
Nothing in this thread works for me on the latest Sonoma 14.1. I had to boot up Minion on a Windows PC, copy over my Mac's Documents\Elder Scrolls Online folder, update addons, then copy the result back to my Mac.
  Reply With Quote
11/05/23, 01:45 AM   #18
dan_el2
Join Date: May 2017
Posts: 7
Originally Posted by Coorbin View Post
Nothing in this thread works for me on the latest Sonoma 14.1. I had to boot up Minion on a Windows PC, copy over my Mac's Documents\Elder Scrolls Online folder, update addons, then copy the result back to my Mac.
Did you follow all steps outlined in Post #10 including removing all other versions of Java? (like AdoptOpenJDK/Adoptium, Zulu etc.) - You have to use Oracle's Java Runtime for Minion to work!

I can confirm it's working on Sonoma 14.1 with Oracle's Java 8 Update 391.
  Reply With Quote
11/05/23, 05:31 AM   #19
AKS666
Join Date: Nov 2023
Posts: 1
Thank you very much, #10 works.
And the shortcut is awesome and very helpful.

Is there a reason that there's no updated version of Minion that just works? ^^
  Reply With Quote
11/05/23, 05:33 AM   #20
Coorbin
AddOn Author - Click to view addons
Join Date: Sep 2018
Posts: 15
Originally Posted by dan_el2 View Post
Did you follow all steps outlined in Post #10 including removing all other versions of Java? (like AdoptOpenJDK/Adoptium, Zulu etc.) - You have to use Oracle's Java Runtime for Minion to work!

I can confirm it's working on Sonoma 14.1 with Oracle's Java 8 Update 391.
OK, I finally figured out what was going on.

It turns out that the JAR file available on Minion's website is extremely out of date, and running it actually hurts compatibility with certain JREs on MacOS. The fully patched, latest version of Minion-jfx.jar has much better (but not perfect) compatibility with recent and open source Java runtimes on MacOS, as long as they have a working copy of JavaFX.

Before, I was using sdkman to manage JRE installs in my home folder and avoid having a system-level JRE, plus I didn't want to have all the Java applet browser extension and self-updater nonsense that Oracle ships.

I still want to run my system without Oracle JRE installed system-wide, so here's what I did:

1. Follow instructions in the previous post (the one you quoted) to install Oracle JRE (grr...), and use it to launch the ancient version of Minion on the website.

2. Minion will start successfully, and ask to patch. Accept the patch/update. This will modify Minion-jfx.jar. As of this writing, the sha256sum of the latest Minion JAR is e0706efb4c039964b6250cdcce6a1cab291d03d8ef270aa1158d22625fe2cca1. If I had a direct download link to this file, we could skip step 1 and 2 entirely, but I didn't bother to get the link yet.

3. Launch the Oracle JRE installer again, and it will give you an option to Remove. Go ahead and get rid of that thing.

4. Go to https://sdkman.io/ and follow instructions to install sdkman in your home folder.

5. Run: sdk install java 11.0.21.fx-librca

The above command will install the "Liberica" OpenJDK build, version 11, with JavaFX built-in, into your home directory in the ~/.sdkman folder. Java 11 is still an older runtime, but it is still an LTS, and much newer than Java 8. Besides, the Liberica Java 8 with JavaFX still doesn't work with the patched Minion for some reason, but Java 11 does.

I already went through the trouble of testing Java 17 and Java 21 (the two newest LTS releases) with patched Minion. They don't work due to some incompatible change in JavaFX. So the newest LTS version supported seems to be Java 11.

When SDKman installs Java, you get an option whether you want to make it your default Java. If you intend to have a newer Java runtime (whether system-wide or from sdkman) as your default, just say "no".

6. If you chose not to make Liberica Java 11 your default Java, run this: sdk use java 11.0.21.fx-librca

This will temporarily make your current shell use Liberica Java 11.

7. Now just run: java -jar Minion-jfx.jar

This will start up Minion and it will work normally without generating any exceptions.

In theory, someone could take the latest version of Minion's JAR, the latest version of the Liberica Java 11 runtime with JavaFX, bundle the two together into an app bundle, and provide a direct download that will just work. Another option would be, if Minion ever works with Java version 17 or later, GraalVM can compile a native Mac binary of Minion (no .jar at all!). But these projects would require additional work.
  Reply With Quote

ESOUI » Site Forums » Minion » Minion silently quits after launch on Mac Sonoma

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off