vlsi commented on issue #6083:
URL: https://github.com/apache/jmeter/issues/6083#issuecomment-1750559044

   @weisJ , do you think it might be Darklaf-related?
   
   ```
   Crashed Thread:        0  Dispatch queue: com.apple.main-thread
   
   Exception Type:        EXC_BREAKPOINT (SIGTRAP)
   Exception Codes:       0x0000000000000001, 0x000000018749161c
   
   Termination Reason:    Namespace SIGNAL, Code 5 Trace/BPT trap: 5
   Terminating Process:   exc handler [6785]
   
   Application Specific Information:
   References to Carbon menus are disallowed with AppKit menu system (see 
rdar://101002625). Use instances of NSMenu and NSMenuItem directly instead.
   ```
   
   
   @zzxrain , do you think you could try running without darklaf?
   For instance:
   Download sources, replace LAF as follows:
   
   ```diff
   --- 
a/src/core/src/main/java/org/apache/jmeter/gui/action/LookAndFeelCommand.java
   +++ 
b/src/core/src/main/java/org/apache/jmeter/gui/action/LookAndFeelCommand.java
   @@ -172,7 +172,7 @@ public class LookAndFeelCommand extends AbstractAction {
         * @return command that would activate the preferred LaF
         */
        public static String getPreferredLafCommand() {
   -        String laf = PREFS.get(USER_PREFS_KEY, null);
   +        String laf = "laf:com.apple.laf.AquaLookAndFeel";
            if (laf != null) {
                return laf;
            }
   ```
   
   Start JMeter with `./gradlew runGui`
   
   Will it launch?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@jmeter.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to