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[5301:299207] unrecognized type is 4294967295 and java[5301:299207] *** Assertion failure in -[NSEvent _initWithCGEvent:eventRef:] #142
Comments
I assume youre on macOs? https://stackoverflow.com/questions/53800953/focus-and-unfocus-javafx-application-leads-to-assertion-failure-on-macos-mojav Seems likely to be a dependency issue with your mac version of jdk. Might want to double check the versions u are on. I highly suspect is cause of the version of java intellij runs duke on. |
@EugeneTeu Yup I am on macOs and my current version is JDK11.0.5. I look through the website you provided but it doesn't seem to provide any solution on this error except updating JDK, but we are restricted to JDK11 right? |
About the restriction, not sure about it, can @damithc confirm? |
The produced jar file is required to be compatible with Java 11 runtime. Any incompatibilities will be considered a bugs (and penalized). Hence, it is safer to use JDK 11 for development as well. |
Is there any way to solve this issue without updating JDK? I encountered the same problem on macOS as well. |
Have you tried changing the version of javafx to 11.0.2 in the build.gradle file? According to the bug tracker for javafx the fix has been backported to version 11.0.2, but I am not able to test since I'm on Windows. Keep in mind you might have to restart your IDE for the changes in build.gradle to take effect. |
I think it works. Thank you very much. |
Hello,
does anyone know how to solve this error? It appears a few seconds after I run my Launcher. Everything works fine and I am still able to continue the operation on my duke window.
Thank you in advance:)
The text was updated successfully, but these errors were encountered: