Mac failed to set about handler on plugin startup
Hi,
Ever since updating to the latest version of intellij (2021.2.3) on mac m1, i get the following error when running my platform plugin project:
2021-11-25 17:20:25,798 [ 1026] WARN - i.mac.MacOSApplicationProvider - 'void com.apple.eawt.Application.setAboutHandler(com.apple.eawt.AboutHandler)'
java.lang.NoSuchMethodError: 'void com.apple.eawt.Application.setAboutHandler(com.apple.eawt.AboutHandler)'
at com.intellij.ui.mac.MacOSApplicationProvider$Worker.initMacApplication(MacOSApplicationProvider.java:72)
at com.intellij.ui.mac.MacOSApplicationProvider.initApplication(MacOSApplicationProvider.java:57)
at com.intellij.idea.ApplicationLoader.startApp(ApplicationLoader.kt:150)
at com.intellij.idea.ApplicationLoader.executeInitAppInEdt(ApplicationLoader.kt:66)
at com.intellij.idea.ApplicationLoader.access$executeInitAppInEdt(ApplicationLoader.kt:1)
at com.intellij.idea.ApplicationLoader$initApplication$1$1.run(ApplicationLoader.kt:363)
at java.desktop/java.awt.event.InvocationEvent.dispatch$$$capture(InvocationEvent.java:313)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
My IntelliJ about info is as follows:
IntelliJ IDEA 2021.2.3 (Ultimate Edition)
Build #IU-212.5457.46, built on October 12, 2021
Runtime version: 11.0.12+7-b1504.40 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.0.1
GC: G1 Young Generation, G1 Old Generation
Memory: 6144M
Cores: 8
Registry: ide.balloon.shadow.size=0
Non-Bundled Plugins: PsiViewer (212-SNAPSHOT), org.jetbrains.idea.grammar (2021.1.2), org.jetbrains.kotlin (212-1.6.0-release-799-IJ5457.46), com.chrisrm.idea.MaterialThemeUI (6.9.1)
Kotlin: 212-1.6.0-release-799-IJ5457.46
Any ideas on how I could go about solving this would be greatly appreciated.
Thanks,
Alex
Please sign in to leave a comment.
Alex, what is the configuration of the project you try to run?
Run configuration for the project is same as the default "IDEA" run configuration for intellij community edition, except my bundled version of java is azul Zulu15.29+15-CA (build 15.0.2+7)
Please make sure you're using the latest gradle-intellij-plugin.
Possibly related : https://youtrack.jetbrains.com/issue/JBR-1718