Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.NoSuchMethodError: accessibilityHitTest but sketch still functions #368

Closed
processing-bot opened this issue Jan 23, 2022 · 4 comments

Comments

@processing-bot
Copy link
Collaborator

Created by: tmatinla

Description

After starting and whenever I click somewhere in PDE, an error
java.lang.NoSuchMethodError: accessibilityHitTest
is shown in the Console

This started with beta 3, so it might be due to Java version upgrade.

Environment

  • Processing version: 4.0b3
  • Operating System and OS version: macOS Monterey (12.1)
  • Other information: Intel Mac

Possible Causes / Solutions

There's a similar issue in this SO question: https://stackoverflow.com/questions/70112706/java-lang-nosuchmethoderror-accessibilityhittest
The discussion refers to this issue: https://bugs.openjdk.java.net/browse/JDK-8274326 that is fixed in 17.0.2, so it might help to upgrade to that when it is available (adoptium/adoptium#109 for tracking the release).

@processing-bot
Copy link
Collaborator Author

Created by: benfry

As mentioned over in #408, this seems to still be a problem even though beta 6 is using Java 17.0.2.

And as noted above, the accessibilityHitTest issue is a problem inside Java, see:
https://bugs.openjdk.java.net/browse/JDK-8274326
and this is the issue claiming that it's fixed in 17.0.2 b1:
https://bugs.openjdk.java.net/browse/JDK-8274604
…but still no luck.

Will keep this open so that folks can find it, but at least it doesn't seem to be affecting anything.

@processing-bot
Copy link
Collaborator Author

Created by: retiutut

https://bugs.openjdk.java.net/browse/JDK-8283347

@benfry This recent issue claims that it cannot be reproduced in JDK 18 and 19. Is it possible to push Processing 4 to one of these?

From my testing, this seems limited to macOS. It really does dirty up the console logs when looking through user interactions.

Take Care,
RW

@processing-bot
Copy link
Collaborator Author

Created by: benfry

Added code to suppress the error (assuming this was coming through as red text) for 4.0 beta 8.

Still not sure why people are seeing this with beta 6 and later, which use 17.0.2. I haven't seen it.

@processing-bot
Copy link
Collaborator Author

Created by: github-actions[bot]

This issue has been automatically locked. To avoid confusion with reports that have already been resolved, closed issues are automatically locked 30 days after the last comment. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant