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

Unhandled error when parsing Aqua Preferences on Mac OSX Big Sur #47

Open
raducoravu opened this issue Nov 16, 2020 · 2 comments
Open

Comments

@raducoravu
Copy link

On Big Sur run with Java 1.8 or 15 the JIDE code throws an error when parsing part of the Aqua Preferences file:

  java.io.IOException: parseInt: unsupported byte count:16
at com.jidesoft.plaf.aqua.BinaryPListParser.parseInt(BinaryPListParser.java:673)
at com.jidesoft.plaf.aqua.BinaryPListParser.parseObjectTable(BinaryPListParser.java:424)
at com.jidesoft.plaf.aqua.BinaryPListParser.parse(BinaryPListParser.java:310)
at com.jidesoft.plaf.aqua.AquaPreferences.readPList(AquaPreferences.java:134)
at com.jidesoft.plaf.aqua.AquaPreferences.loadGlobalPreferences(AquaPreferences.java:90)
at com.jidesoft.plaf.aqua.AquaPreferences.get(AquaPreferences.java:62)
at com.jidesoft.plaf.aqua.AquaPreferences.getString(AquaPreferences.java:56)
at com.jidesoft.plaf.aqua.AquaJideUtils.isGraphite(AquaJideUtils.java:485)
@vtummal
Copy link

vtummal commented Jun 18, 2021

Hello @raducoravu
Did you find a resolution to your issue? I have the exact same problem with my application after upgrade to Big Sur.
Thanks!

@raducoravu
Copy link
Author

@vtummal I patched the class BinaryPListParser and created our custom build of the Jide jar. But I'm not sure if the patch is correct, it just hides the error so this is why I did not propose a fix.

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

2 participants