Title: Unable to run JavaFX in Processing 4.5.6 MacOS · Issue #1561 · processing/processing4 · GitHub
Open Graph Title: Unable to run JavaFX in Processing 4.5.6 MacOS · Issue #1561 · processing/processing4
X Title: Unable to run JavaFX in Processing 4.5.6 MacOS · Issue #1561 · processing/processing4
Description: Most appropriate sub-area of Processing 4? Core/Environment/Rendering Processing version 4.5.6 Operating system MacOS Bug description Test code: Error Message: Aug 05, 2026 1:14:08 PM com.sun.glass.ui.mac.MacApplication lambda$waitForRea...
Open Graph Description: Most appropriate sub-area of Processing 4? Core/Environment/Rendering Processing version 4.5.6 Operating system MacOS Bug description Test code: Error Message: Aug 05, 2026 1:14:08 PM com.sun.glass...
X Description: Most appropriate sub-area of Processing 4? Core/Environment/Rendering Processing version 4.5.6 Operating system MacOS Bug description Test code: Error Message: Aug 05, 2026 1:14:08 PM com.sun.glass...
Opengraph URL: https://github.com/processing/processing4/issues/1561
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to run JavaFX in Processing 4.5.6 MacOS","articleBody":"### Most appropriate sub-area of Processing 4?\n\nCore/Environment/Rendering\n\n### Processing version\n\n4.5.6\n\n### Operating system\n\nMacOS\n\n### Bug description\n\nTest code:\n\n\nError Message:\n`Aug 05, 2026 1:14:08 PM com.sun.glass.ui.mac.MacApplication lambda$waitForReactivation$6\nWARNING: Timeout while waiting for app reactivation\n*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '0x0 is an invalid NSTrackingRectTag. Common possible reasons for this are: 1. already removed this trackingRectTag, 2. Truncated the NSTrackingRectTag to 32bit at some point.'\n*** First throw call stack:\n(\n\t0 CoreFoundation 0x000000018e9a11c0 __exceptionPreprocess + 176\n\t1 libobjc.A.dylib 0x000000018e42a91c objc_exception_throw + 88\n\t2 Foundation 0x000000019022f330 -[NSCalendarDate initWithCoder:] + 0\n\t3 AppKit 0x00000001937ffb78 -[_NSTrackingAreaAKViewHelper removeTrackingRect:] + 200\n\t4 libglass.dylib 0x000000010981703c -[GlassViewDelegate setFrameSize:] + 360\n\t5 libglass.dylib 0x000000010981c134 -[GlassView3D setFrameSize:] + 92\n\t6 AppKit 0x0000000192d98434 -[NSView setFrame:] + 300\n\t7 libglass.dylib 0x000000010981c194 -[GlassView3D setFrame:] + 76\n\t8 AppKit 0x0000000192da4f8c -[NSView resizeWithOldSuperviewSize:] + 488\n\t9 AppKit 0x0000000192da4928 -[NSView resizeSubviewsWithOldSize:] + 360\n\t10 AppKit 0x0000000192d8a9ac -[NSView setFrameSize:] + 920\n\t11 AppKit 0x0000000192d98434 -[NSView setFrame:] + 300\n\t12 AppKit 0x0000000192da4f8c -[NSView resizeWithOldSuperviewSize:] + 488\n\t13 AppKit 0x0000000192da4928 -[NSView resizeSubviewsWithOldSize:] + 360\n\t14 AppKit 0x0000000192d8a9ac -[NSView setFrameSize:] + 920\n\t15 AppKit 0x0000000192da3a60 -[NSThemeFrame setFrameSize:] + 264\n\t16 AppKit 0x0000000192da33a0 -[NSWindow _oldPlaceWindow:fromServer:] + 612\n\t17 AppKit 0x0000000192da2868 -[NSWindow _setFrameCommon:display:fromServer:] + 1876\n\t18 libglass.dylib 0x0000000109827150 Java_com_sun_glass_ui_mac_MacWindow__1setBounds2 + 416\n\t19 ??? 0x0000000119eafbe0 0x0 + 4729797600\n\t20 ??? 0x0000000119eaa6ac 0x0 + 4729775788\n\t21 ??? 0x0000000119eaa6ac 0x0 + 4729775788\n\t22 ??? 0x0000000119eaa6ac 0x0 + 4729775788\n\t23 ??? 0x0000000119eab09c 0x0 + 4729778332\n\t24 ??? 0x0000000119eaa6ac 0x0 + 4729775788\n\t25 ??? 0x0000000119eaa6ac 0x0 + 4729775788\n\t26 ??? 0x0000000119eaa6ac 0x0 + 4729775788\n\t27 ??? 0x0000000119eaa6ac 0x0 + 4729775788\n\t28 ??? 0x0000000119eaa6ac 0x0 + 4729775788\n\t29 ??? 0x0000000119eaa6ac 0x0 + 4729775788\n\t30 ??? 0x0000000119eaa6ac 0x0 + 4729775788\n\t31 ??? 0x0000000119eaa6ac 0x0 + 4729775788\n\t32 ??? 0x0000000119eaa6ac 0x0 + 4729775788\n\t33 ??? 0x0000000119eab09c 0x0 + 4729778332\n\t34 ??? 0x0000000119eaa270 0x0 + 4729774704\n\t35 ??? 0x0000000112af3ef8 0x0 + 4608442104\n\t36 ??? 0x0000000119eaa270 0x0 + 4729774704\n\t37 ??? 0x0000000119eaa6ac 0x0 + 4729775788\n\t38 ??? 0x0000000119eab09c 0x0 + 4729778332\n\t39 ??? 0x0000000119ea4140 0x0 + 4729749824\n\t40 libjvm.dylib 0x000000010a28a1f4 _ZN9JavaCalls11call_helperEP9JavaValueRK12methodHandleP17JavaCallArgumentsP10JavaThread + 984\n\t41 libjvm.dylib 0x000000010a2e9574 _ZL20jni_invoke_nonstaticP7JNIEnv_P9JavaValueP8_jobject11JNICallTypeP10_jmethodIDP18JNI_ArgumentPusherP10JavaThread + 916\n\t42 libjvm.dylib 0x000000010a2edc90 jni_CallVoidMethod + 312\n\t43 libglass.dylib 0x0000000109812a58 -[GlassRunnable run] + 92\n\t44 Foundation 0x000000019019aadc __NSThreadPerformPerform + 264\n\t45 CoreFoundation 0x000000018e932f30 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28\n\t46 CoreFoundation 0x000000018e932ec4 __CFRunLoopDoSource0 + 172\n\t47 CoreFoundation 0x000000018e932c30 __CFRunLoopDoSources0 + 232\n\t48 CoreFoundation 0x000000018e931854 __CFRunLoopRun + 820\n\t49 CoreFoundation 0x000000018ea041c4 _CFRunLoopRunSpecificWithOptions + 532\n\t50 HIToolbox 0x000000019b717560 RunCurrentEventLoopInMode + 320\n\t51 HIToolbox 0x000000019b71a8bc ReceiveNextEventCommon + 488\n\t52 HIToolbox 0x000000019b8a414c _BlockUntilNextEventMatchingListInMode + 48\n\t53 AppKit 0x000000019340c35c _DPSBlockUntilNextEventMatchingListInMode + 228\n\t54 AppKit 0x0000000192d60084 _DPSNextEvent + 576\n\t55 AppKit 0x00000001938f58b0 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688\n\t56 AppKit 0x00000001938f55bc -[NSApplication(NSEventRouting) nextEventMatchingMask:untilDate:inMode:dequeue:] + 72\n\t57 AppKit 0x0000000192d5313c -[NSApplication run] + 368\n\t58 libglass.dylib 0x0000000109814be0 -[GlassApplication runLoop:] + 1996\n\t59 Foundation 0x000000019019aadc __NSThreadPerformPerform + 264\n\t60 CoreFoundation 0x000000018e932f30 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28\n\t61 CoreFoundation 0x000000018e932ec4 __CFRunLoopDoSource0 + 172\n\t62 CoreFoundation 0x000000018e932c30 __CFRunLoopDoSources0 + 232\n\t63 CoreFoundation 0x000000018e931854 __CFRunLoopRun + 820\n\t64 CoreFoundation 0x000000018ea041c4 _CFRunLoopRunSpecificWithOptions + 532\n\t65 libjli.dylib 0x00000001041a5174 CreateExecutionEnvironment + 404\n\t66 libjli.dylib 0x00000001041a11a0 JLI_Launch + 1232\n\t67 java 0x000000010415fb9c main + 408\n\t68 dyld 0x000000018e4b7e00 start + 6992\n)\n2026-08-05 13:14:08.182 java[5379:8111238] Apple AWT Internal Exception: 0x0 is an invalid NSTrackingRectTag. Common possible reasons for this are: 1. already removed this trackingRectTag, 2. Truncated the NSTrackingRectTag to 32bit at some point.\n2026-08-05 13:14:08.182 java[5379:8111238] trace: (\n\t0 CoreFoundation 0x000000018e9a11c0 __exceptionPreprocess + 176\n\t1 libobjc.A.dylib 0x000000018e42a91c objc_exception_throw + 88\n\t2 Foundation 0x000000019022f330 -[NSCalendarDate initWithCoder:] + 0\n\t3 AppKit 0x00000001937ffb78 -[_NSTrackingAreaAKViewHelper removeTrackingRect:] + 200\n\t4 libglass.dylib 0x000000010981703c -[GlassViewDelegate setFrameSize:] + 360\n\t5 libglass.dylib 0x000000010981c134 -[GlassView3D setFrameSize:] + 92\n\t6 AppKit 0x0000000192d98434 -[NSView setFrame:] + 300\n\t7 libglass.dylib 0x000000010981c194 -[GlassView3D setFrame:] + 76\n\t8 AppKit 0x0000000192da4f8c -[NSView resizeWithOldSuperviewSize:] + 488\n\t9 AppKit 0x0000000192da4928 -[NSView resizeSubviewsWithOldSize:] + 360\n\t10 AppKit 0x0000000192d8a9ac -[NSView setFrameSize:] + 920\n\t11 AppKit 0x0000000192d98434 -[NSView setFrame:] + 300\n\t12 AppKit 0x0000000192da4f8c -[NSView resizeWithOldSuperviewSize:] + 488\n\t13 AppKit 0x0000000192da4928 -[NSView resizeSubviewsWithOldSize:] + 360\n\t14 AppKit 0x0000000192d8a9ac -[NSView setFrameSize:] + 920\n\t15 AppKit 0x0000000192da3a60 -[NSThemeFrame setFrameSize:] + 264\n\t16 AppKit 0x0000000192da33a0 -[NSWindow _oldPlaceWindow:fromServer:] + 612\n\t17 AppKit 0x0000000192da2868 -[NSWindow _setFrameCommon:display:fromServer:] + 1876\n\t18 libglass.dylib 0x0000000109827150 Java_com_sun_glass_ui_mac_MacWindow__1setBounds2 + 416\n\t19 ??? 0x0000000119eafbe0 0x0 + 4729797600\n\t20 ??? 0x0000000119eaa6ac 0x0 + 4729775788\n\t21 ??? 0x0000000119eaa6ac 0x0 + 4729775788\n\t22 ??? 0x0000000119eaa6ac 0x0 + 4729775788\n\t23 ??? 0x0000000119eab09c 0x0 + 4729778332\n\t24 ??? 0x0000000119eaa6ac 0x0 + 4729775788\n\t25 ??? 0x0000000119eaa6ac 0x0 + 4729775788\n\t26 ??? 0x0000000119eaa6ac 0x0 + 4729775788\n\t27 ??? 0x0000000119eaa6ac 0x0 + 4729775788\n\t28 ??? 0x0000000119eaa6ac 0x0 + 4729775788\n\t29 ??? 0x0000000119eaa6ac 0x0 + 4729775788\n\t30 ??? 0x0000000119eaa6ac 0x0 + 4729775788\n\t31 ??? 0x0000000119eaa6ac 0x0 + 4729775788\n\t32 ??? 0x0000000119eaa6ac 0x0 + 4729775788\n\t33 ??? 0x0000000119eab09c 0x0 + 4729778332\n\t34 ??? 0x0000000119eaa270 0x0 + 4729774704\n\t35 ??? 0x0000000112af3ef8 0x0 + 4608442104\n\t36 ??? 0x0000000119eaa270 0x0 + 4729774704\n\t37 ??? 0x0000000119eaa6ac 0x0 + 4729775788\n\t38 ??? 0x0000000119eab09c 0x0 + 4729778332\n\t39 ??? 0x0000000119ea4140 0x0 + 4729749824\n\t40 libjvm.dylib 0x000000010a28a1f4 _ZN9JavaCalls11call_helperEP9JavaValueRK12methodHandleP17JavaCallArgumentsP10JavaThread + 984\n\t41 libjvm.dylib 0x000000010a2e9574 _ZL20jni_invoke_nonstaticP7JNIEnv_P9JavaValueP8_jobject11JNICallTypeP10_jmethodIDP18JNI_ArgumentPusherP10JavaThread + 916\n\t42 libjvm.dylib 0x000000010a2edc90 jni_CallVoidMethod + 312\n\t43 libglass.dylib 0x0000000109812a58 -[GlassRunnable run] + 92\n\t44 Foundation 0x000000019019aadc __NSThreadPerformPerform + 264\n\t45 CoreFoundation 0x000000018e932f30 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28\n\t46 CoreFoundation 0x000000018e932ec4 __CFRunLoopDoSource0 + 172\n\t47 CoreFoundation 0x000000018e932c30 __CFRunLoopDoSources0 + 232\n\t48 CoreFoundation 0x000000018e931854 __CFRunLoopRun + 820\n\t49 CoreFoundation 0x000000018ea041c4 _CFRunLoopRunSpecificWithOptions + 532\n\t50 HIToolbox 0x000000019b717560 RunCurrentEventLoopInMode + 320\n\t51 HIToolbox 0x000000019b71a8bc ReceiveNextEventCommon + 488\n\t52 HIToolbox 0x000000019b8a414c _BlockUntilNextEventMatchingListInMode + 48\n\t53 AppKit 0x000000019340c35c _DPSBlockUntilNextEventMatchingListInMode + 228\n\t54 AppKit 0x0000000192d60084 _DPSNextEvent + 576\n\t55 AppKit 0x00000001938f58b0 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688\n\t56 AppKit 0x00000001938f55bc -[NSApplication(NSEventRouting) nextEventMatchingMask:untilDate:inMode:dequeue:] + 72\n\t57 AppKit 0x0000000192d5313c -[NSApplication run] + 368\n\t58 libglass.dylib 0x0000000109814be0 -[GlassApplication runLoop:] + 1996\n\t59 Foundation 0x000000019019aadc __NSThreadPerformPerform + 264\n\t60 CoreFoundation 0x000000018e932f30 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28\n\t61 CoreFoundation 0x000000018e932ec4 __CFRunLoopDoSource0 + 172\n\t62 CoreFoundation 0x000000018e932c30 __CFRunLoopDoSources0 + 232\n\t63 CoreFoundation 0x000000018e931854 __CFRunLoopRun + 820\n\t64 CoreFoundation 0x000000018ea041c4 _CFRunLoopRunSpecificWithOptions + 532\n\t65 libjli.dylib 0x00000001041a5174 CreateExecutionEnvironment + 404\n\t66 libjli.dylib 0x00000001041a11a0 JLI_Launch + 1232\n\t67 java 0x000000010415fb9c main + 408\n\t68 dyld 0x000000018e4b7e00 start + 6992\n)\nlibc++abi: terminating due to uncaught exception of type NSException\nCould not run the sketch (Target VM failed to initialize).\nMake sure that you haven't set the maximum available memory too high.\nFor more information, read Help → Troubleshooting.\n`\n\n### Steps to reproduce this\n\n1. Try running source code below.\n\n\n\n\n### snippet\n\n```processing\n\nimport processing.javafx.*;\nimport javafx.stage.Stage;\nimport javafx.scene.Scene;\nimport javafx.scene.layout.Pane;\n\nvoid setup(){\n size(1,1, FX2D);\n Stage stage = new Stage();\n stage.setTitle(\"JavaFX Demo\");\n Pane pane = new Pane(); \n Scene scene = new Scene(pane, 400, 400);\n stage.setScene(scene);\n stage.show(); \n}\n```\n\n\n### Additional context\n\n_No response_\n\n### Would you like to work on the issue?\n\nNo, I’m just reporting the issue","author":{"url":"https://github.com/vsquared","@type":"Person","name":"vsquared"},"datePublished":"2026-08-05T18:20:56Z","url":"https://github.com/processing/processing4/issues/1561"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8a203992-068a-902d-d047-203752d3d4f0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A5E0:21C555:1145DF:170BDE:6B05F77E |
| html-safe-nonce | d662fb7f9cea7fa9573032132484a5375d743c8a997842612b2f1a3219d728df |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUUwOjIxQzU1NToxMTQ1REY6MTcwQkRFOjZCMDVGNzdFIiwidmlzaXRvcl9pZCI6IjI3Njc2MDg0NzQxNDkxODk1MDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 63b3c702fc42c8727a799dead18c914eda05f607cfae453f3316972e0f96dc22 |
| hovercard-subject-tag | issue:5073949958 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/processing/processing4/1561/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fef941b177ac48d03f1589241ff3419b9cfef0ca046a938266653a586a3c626f/processing/processing4/issues/1561 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fef941b177ac48d03f1589241ff3419b9cfef0ca046a938266653a586a3c626f/processing/processing4/issues/1561 |
| og:image:alt | Most appropriate sub-area of Processing 4? Core/Environment/Rendering Processing version 4.5.6 Operating system MacOS Bug description Test code: Error Message: Aug 05, 2026 1:14:08 PM com.sun.glass... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vsquared |
| hostname | github.com |
| expected-hostname | github.com |
| None | c214754a6652274794ed4e054a7b71be999d69843f103ba54893001d45010ece |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/processing4 git https://github.com/processing/processing4.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 844382769 |
| octolytics-dimension-repository_nwo | processing/processing4 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 844382769 |
| octolytics-dimension-repository_network_root_nwo | processing/processing4 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d164a4e71eb333b2b17fd5b17e18efb7855505c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width