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 the program functions properly #408

Closed
processing-bot opened this issue Feb 13, 2022 · 10 comments
Labels
cannot fix duplicate This issue or pull request already exists has attachment Attachment was not transfered from GitLab

Comments

@processing-bot
Copy link
Collaborator

Created by: NRShao

Description

As title says, this error pops up in console, even on a really simple program.
image

In my more complicated project, the project itself works perfectly fine, but still throws errors.

Expected Behavior

Expected no errors

Current Behavior

Currently, error pops up whenever I click the display window, and error pops up whenever I try to export the project.
Side note: Also expected that I can export, but it says "Error during export" with no additional details aside from
image

Steps to Reproduce

  1. Code included in first screenshot above.
  2. I went from fresh download -> open application -> write that -> error.

Your Environment

  • Processing version: 4.0b5
  • Operating System and OS version: MacOS Big Sur 11.6.3
  • Other information:

Possible Causes / Solutions

I've tried to search for as many solutions as possible, and what people seem to think it boils down to in other applications, is a Java bug, but I installed JDK 17.0.2, and updated my java version. Not sure what other steps to take or other potential causes.

I haven't been able to find much information about this kind of error. Thanks in advance for your time, and if this is just something that I'm doing wrong, sorry for taking up time!

@processing-bot
Copy link
Collaborator Author

Created by: benfry

Yeah, I saw the error when exporting just recently, and already fixed it here: 1bb5b3e so that'll be resolved for 4.0 beta 6.

The accessibilityHitTest issue is a problem inside Java, see:
https://bugs.openjdk.java.net/browse/JDK-8274326
which it looks like it should be fixed in 17.0.2:
https://bugs.openjdk.java.net/browse/JDK-8274604

I'm trying to get beta 6 out now, which will have 17.0.2, so give that a shot and see if it happens again.

@processing-bot
Copy link
Collaborator Author

Created by: NRShao

Oh beautiful. Thanks for the quick reply!

@processing-bot
Copy link
Collaborator Author

Created by: dkBrazz

this is a possibly relevant issue reported on StackOverflow
https://stackoverflow.com/questions/71173094/

@processing-bot
Copy link
Collaborator Author

Created by: benfry

@dkBrazz Nope, that's #409

@processing-bot
Copy link
Collaborator Author

Created by: NRShao

I updated to 4.0b6, and the exporting works!! however, it seems like the accessibilityHitTest issue with on click events is still happening.

@processing-bot
Copy link
Collaborator Author

Created by: benfry

Nuts, ok. Thanks for reporting back.

@processing-bot
Copy link
Collaborator Author

Created by: NRShao

ofc! It doesnt seem to impact the functionality of the programs I'm running, so after exporting I guess out of sight out of mind?

@processing-bot
Copy link
Collaborator Author

Created by: benfry

Yeah, fingers crossed… But also odd that it's listed as “fixed” in JDK 17.0.2 b1 (https://bugs.openjdk.java.net/browse/JDK-8274604).

@processing-bot
Copy link
Collaborator Author

Created by: benfry

Closing this one as duplicate of #368.

@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.
Labels
cannot fix duplicate This issue or pull request already exists has attachment Attachment was not transfered from GitLab
Projects
None yet
Development

No branches or pull requests

1 participant