southwolf opened a new issue, #6403:
URL: https://github.com/apache/jmeter/issues/6403

   ### Expected behavior
   
   JMeter should be running without crashes
   
   ### Actual behavior
   
   JMeter crashes when switching input sources throwing exception
   
   `Terminating app due to uncaught exception 'NSInvalidArgumentException', 
reason: '+[AWTView keyboardInputSourceChanged:]: unrecognized selector sent to 
class 0x12ef615e8'`
   
   ### Steps to reproduce the problem
   
   1. Download and run JMeter 5.6.3 on MacOS 15.2 from terminal by `./jmeter.sh`
   2. Switch input sources (Ctrl + Space)
   3. JMeter Crashes throwing exception
   ```
   *** Terminating app due to uncaught exception 'NSInvalidArgumentException', 
reason: '+[AWTView keyboardInputSourceChanged:]: unrecognized selector sent to 
class 0x12ef615e8'
   *** First throw call stack:
   (
        0   CoreFoundation                      0x00007ff81a09ab8e 
__exceptionPreprocess + 242
        1   libobjc.A.dylib                     0x00007ff819b80f12 
objc_exception_throw + 62
        2   CoreFoundation                      0x00007ff81a1422bc 
-[NSObject(NSObject) doesNotRecognizeSelector:] + 0
        3   CoreFoundation                      0x00007ff81a00bb44 
___forwarding___ + 1379
        4   CoreFoundation                      0x00007ff81a00b558 
_CF_forwarding_prep_0 + 120
        5   CoreFoundation                      0x00007ff81a02095e 
__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 137
        6   CoreFoundation                      0x00007ff81a0acec4 
___CFXRegistrationPost_block_invoke + 86
        7   CoreFoundation                      0x00007ff81a0ace1a 
_CFXRegistrationPost + 528
        8   CoreFoundation                      0x00007ff819ff07de 
_CFXNotificationPost + 817
        9   Foundation                          0x00007ff81af78e3b 
-[NSNotificationCenter postNotificationName:object:userInfo:] + 82
        10  AppKit                              0x00007ff81dc34efb 
__NSSelectedKeyboardInputSourcesChangedNotification + 58
        11  CoreFoundation                      0x00007ff81a020996 
__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 193
        12  CoreFoundation                      0x00007ff81a0acec4 
___CFXRegistrationPost_block_invoke + 86
        13  libdispatch.dylib                   0x00007ff819d9b455 
_dispatch_call_block_and_release + 12
        14  libdispatch.dylib                   0x00007ff819d9c7e2 
_dispatch_client_callout + 8
        15  libdispatch.dylib                   0x00007ff819da8e43 
_dispatch_main_queue_drain + 999
        16  libdispatch.dylib                   0x00007ff819da8a4e 
_dispatch_main_queue_callback_4CF + 31
        17  CoreFoundation                      0x00007ff81a068723 
__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
        18  CoreFoundation                      0x00007ff81a02a44f 
__CFRunLoopRun + 2515
        19  CoreFoundation                      0x00007ff81a02944c 
CFRunLoopRunSpecific + 550
        20  HIToolbox                           0x00007ff825c0e413 
RunCurrentEventLoopInMode + 292
        21  HIToolbox                           0x00007ff825c13d63 
ReceiveNextEventCommon + 501
        22  HIToolbox                           0x00007ff825c14029 
_BlockUntilNextEventMatchingListInModeWithFilter + 66
        23  AppKit                              0x00007ff81d8e95d3 
_DPSNextEvent + 902
        24  AppKit                              0x00007ff81e33c038 
-[NSApplication(NSEventRouting) 
_nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1290
        25  libosxapp.dylib                     0x000000012ebc5b3a 
-[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 121
        26  AppKit                              0x00007ff81d8da549 
-[NSApplication run] + 610
        27  libosxapp.dylib                     0x000000012ebc597f 
+[NSApplicationAWT runAWTLoopWithApp:] + 219
        28  libawt_lwawt.dylib                  0x000000012ef2c588 +[AWTStarter 
starter:headless:] + 809
        29  JavaNativeFoundation                0x00007ffb1d1fd8de +[JNFRunLoop 
_performCopiedBlock:] + 15
        30  Foundation                          0x00007ff81afebc49 
__NSThreadPerformPerform + 178
        31  CoreFoundation                      0x00007ff81a02b4a0 
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
        32  CoreFoundation                      0x00007ff81a02b442 
__CFRunLoopDoSource0 + 157
        33  CoreFoundation                      0x00007ff81a02b219 
__CFRunLoopDoSources0 + 203
        34  CoreFoundation                      0x00007ff81a029e3c 
__CFRunLoopRun + 960
        35  CoreFoundation                      0x00007ff81a02944c 
CFRunLoopRunSpecific + 550
        36  libjli.dylib                        0x000000010cdc45b5 
CreateExecutionEnvironment + 398
        37  libjli.dylib                        0x000000010cdc081f JLI_Launch + 
1315
        38  java                                0x00000001048242cc main + 364
        39  dyld                                0x00000002049d02cd start + 1805
   )
   libc++abi: terminating due to uncaught exception of type NSException
   ./jmeter: line 199: 82976 Abort trap: 6           "$JAVA_HOME/bin/java" 
$ARGS $JVM_ARGS $JMETER_OPTS -jar "$PRGDIR/ApacheJMeter.jar" "$@"
   ```
   
   ### JMeter Version
   
   5.6.3
   
   ### Java Version
   
   Oracle JDK java version "1.8.0_291"
   
   ### OS Version
   
   MacOS 15.2 (24C101)


-- 
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.apache.org

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

Reply via email to