Title: Processing 4 in Python mode Sound Library not working · Issue #1588 · processing/processing4 · GitHub
Open Graph Title: Processing 4 in Python mode Sound Library not working · Issue #1588 · processing/processing4
X Title: Processing 4 in Python mode Sound Library not working · Issue #1588 · processing/processing4
Description: Most appropriate sub-area of Processing 4? I'm not sure Processing version 4.5.7 (but really every version since 4 came out) Operating system MacOS Tahoe 26.7.1 Bug description I get the following error when starting a project that uses ...
Open Graph Description: Most appropriate sub-area of Processing 4? I'm not sure Processing version 4.5.7 (but really every version since 4 came out) Operating system MacOS Tahoe 26.7.1 Bug description I get the following ...
X Description: Most appropriate sub-area of Processing 4? I'm not sure Processing version 4.5.7 (but really every version since 4 came out) Operating system MacOS Tahoe 26.7.1 Bug description I get the follow...
Opengraph URL: https://github.com/processing/processing4/issues/1588
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Processing 4 in Python mode Sound Library not working","articleBody":"### Most appropriate sub-area of Processing 4?\n\nI'm not sure\n\n### Processing version\n\n4.5.7 (but really every version since 4 came out)\n\n### Operating system\n\nMacOS Tahoe 26.7.1\n\n### Bug description\n\nI get the following error when starting a project that uses the Sound Library:\n\njava.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')\n\tat jycessing.LibraryImporter.addJarToClassLoader(LibraryImporter.java:315)\n\tat jycessing.LibraryImporter.recursivelyAddJarsToClasspath(LibraryImporter.java:164)\n\tat jycessing.LibraryImporter.addLibrary(LibraryImporter.java:140)\n\tat jycessing.LibraryImporter$1.__call__(LibraryImporter.java:82)\n\tat org.python.core.PyObject.__call__(PyObject.java:480)\n\tat org.python.core.PyObject.__call__(PyObject.java:484)\n\tat org.python.pycode._pyx11.f$0(MicCheck.pyde:1)\n\tat org.python.pycode._pyx11.call_function(MicCheck.pyde)\n\tat org.python.core.PyTableCode.call(PyTableCode.java:171)\n\tat org.python.core.PyCode.call(PyCode.java:18)\n\tat org.python.core.Py.runCode(Py.java:1614)\n\tat org.python.core.Py.exec(Py.java:1658)\n\tat org.python.pycode._pyx10.f$0(/Users/Joey/Desktop/MicCheck/MicCheck.pyde:96)\n\tat org.python.pycode._pyx10.call_function(/Users/Joey/Desktop/MicCheck/MicCheck.pyde)\n\tat org.python.core.PyTableCode.call(PyTableCode.java:171)\n\tat org.python.core.PyCode.call(PyCode.java:18)\n\tat org.python.core.Py.runCode(Py.java:1614)\n\tat org.python.core.Py.exec(Py.java:1658)\n\tat org.python.util.PythonInterpreter.exec(PythonInterpreter.java:276)\n\tat jycessing.PAppletJythonDriver.processSketch(PAppletJythonDriver.java:233)\n\tat jycessing.PAppletJythonDriver.findSketchMethods(PAppletJythonDriver.java:613)\n\tat jycessing.Runner.runSketchBlocking(Runner.java:399)\n\tat jycessing.mode.run.SketchRunner.lambda$2(SketchRunner.java:112)\n\tat java.base/java.lang.Thread.run(Thread.java:840)\n\nHmm. Can't load native code to bring window to front using the absolute path: /Users/Joey/Documents/Processing/modes/PythonMode/mode/libjniosx.dylib.\nHmm. Can't load native code to bring window to front.\n\n\n### Steps to reproduce this\n\n1. Open the MicCheck project (zip file provided in snippet section)\n\n2. Run the code\n\n3. I get the error message listed in the Bug Description section.\n\n\n### snippet\n\n[MicCheck.zip](https://github.com/user-attachments/files/33879156/MicCheck.zip)\n\n\n\n\n### Additional context\n\nThe Sound Library using Python mode has never work in any version of Processing 4.\n\n### Would you like to work on the issue?\n\nNo, I’m just reporting the issue","author":{"url":"https://github.com/jcarlis1","@type":"Person","name":"jcarlis1"},"datePublished":"2026-10-23T15:27:07Z","url":"https://github.com/processing/processing4/issues/1588"}
| 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:c821f421-08cb-5465-9521-7718dc7bb253 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 87E2:BED9D:12B4EB:18F8F7:6B05F79A |
| html-safe-nonce | a0441af4c6b7a338b778f24821e0c39eeee836b9bf78b6f82d0d57da13358807 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4N0UyOkJFRDlEOjEyQjRFQjoxOEY4Rjc6NkIwNUY3OUEiLCJ2aXNpdG9yX2lkIjoiNDExNDkzMTYwNDk4NjI0NDEwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 03cb10bc6d563793e7649511f8265e00ed4dfb04392d7f2dbae4819e858b54ef |
| hovercard-subject-tag | issue:6000610813 |
| 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/1588/issue_layout |
| twitter:image | https://opengraph.githubassets.com/437506b55dc21230516ea70c3bc7ae7a53afb3cf77f748c3c16a3b0fd96cd252/processing/processing4/issues/1588 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/437506b55dc21230516ea70c3bc7ae7a53afb3cf77f748c3c16a3b0fd96cd252/processing/processing4/issues/1588 |
| og:image:alt | Most appropriate sub-area of Processing 4? I'm not sure Processing version 4.5.7 (but really every version since 4 came out) Operating system MacOS Tahoe 26.7.1 Bug description I get the following ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jcarlis1 |
| 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