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

Error: Could not set field a on class "Class" #599

Open
velara3 opened this issue May 1, 2024 · 0 comments
Open

Error: Could not set field a on class "Class" #599

velara3 opened this issue May 1, 2024 · 0 comments

Comments

@velara3
Copy link

velara3 commented May 1, 2024

I'm getting an error when trying to import a class:

const imagePath = "com.fileformats.PngImage";
const ImageClass = java.import(imagePath); // error here

I get:

Uncaught Error Error: Could not set field a on class com.fileformats.PngImage
java.lang.IllegalAccessException: Can not set static final java.lang.String field com.fileformats.PngImage.a to null value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant