codota / tabnine-intellij

Jetbrains IDEs client for TabNine. Compatible with all IntelliJ-based IDEs. https://plugins.jetbrains.com/plugin/12798-tabnine
https://www.tabnine.com/install/intellij
MIT License
526 stars 67 forks source link

Problem to run the plugin from code source for mac M1 #662

Closed ayouballali closed 3 months ago

ayouballali commented 1 year ago

i am trying to run plugin from code source but i facing some problems

gz#27151

(related to Zendesk ticket #27151)

TzufTabnine commented 1 year ago

@ayouballali Please elaborate: Setup? What problems are you facing? IDE version? Tabnine plugin version? Screenshot/video of the error you are getting?

ayouballali commented 1 year ago

com.intellij.idea.Main - Unable to load JNA library (OS: Mac OS X 13.3.1)

java.lang.UnsatisfiedLinkError: /Users/aallali/Desktop/learning/projects/dbncontrib/tabnine-intellij/Common/build/idea-sandbox/system/tmp/jna11661574386924541414.tmp: dlopen(/Users/aallali/Desktop/learning/projects/dbncontrib/tabnine-intellij/Common/build/idea-sandbox/system/tmp/jna11661574386924541414.tmp, 0x0001): tried: '/Users/aallali/Desktop/learning/projects/dbncontrib/tabnine-intellij/Common/build/idea-sandbox/system/tmp/jna11661574386924541414.tmp' (fat file, but missing compatible architecture (have 'i386,x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/aallali/Desktop/learning/projects/dbncontrib/tabnine-intellij/Common/build/idea-sandbox/system/tmp/jna11661574386924541414.tmp' (no such file), '/Users/aallali/Desktop/learning/projects/dbncontrib/tabnine-intellij/Common/build/idea-sandbox/system/tmp/jna11661574386924541414.tmp' (fat file, but missing compatible architecture (have 'i386,x86_64', need 'arm64')) at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174) at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2394) at java.base/java.lang.Runtime.load0(Runtime.java:755) at java.base/java.lang.System.load(System.java:1953) at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:1018) at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:988) at com.sun.jna.Native.(Native.java:195) at com.intellij.jna.JnaLoader.load(JnaLoader.java:16) at com.intellij.idea.StartupUtil.loadSystemLibraries(StartupUtil.java:638) at com.intellij.idea.StartupUtil.lambda$prepareApp$4(StartupUtil.java:232) at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:215) at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:26) at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:194) at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:186) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699) at java.base/java.lang.Thread.run(Thread.java:833) 2023-10-16 20:41:59,299 [ 529] WARN - #com.intellij.idea.Main -
java.lang.reflect.InvocationTargetException at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1393) at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1368) at com.intellij.idea.StartupUtil.runInEdtAndWait(StartupUtil.java:818) at com.intellij.idea.StartupUtil.showUserAgreementAndConsentsIfNeeded(StartupUtil.java:787) at com.intellij.idea.StartupUtil.startApp(StartupUtil.java:265) at com.intellij.idea.StartupUtil.prepareApp(StartupUtil.java:243) at com.intellij.ide.plugins.MainRunner.lambda$start$0(MainRunner.java:47) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.lang.AssertionError: JNA library is not available at com.intellij.ui.mac.foundation.Foundation.(Foundation.java:28) at com.intellij.ui.mac.foundation.Foundation$NSAutoreleasePool.(Foundation.java:451) at com.intellij.ui.components.MacScrollBarUI.callMac(MacScrollBarUI.java:199) at com.intellij.ui.components.MacScrollBarUI.access$500(MacScrollBarUI.java:29) at com.intellij.ui.components.MacScrollBarUI$Native.(MacScrollBarUI.java:297) at com.intellij.ui.components.MacScrollBarUI$Style$1.(MacScrollBarUI.java:250) at com.intellij.ui.components.MacScrollBarUI$Style.(MacScrollBarUI.java:250) at com.intellij.ui.components.MacScrollBarUI.installUI(MacScrollBarUI.java:102) at java.desktop/javax.swing.JComponent.setUI(JComponent.java:733) at java.desktop/javax.swing.JScrollBar.setUI(JScrollBar.java:218) at com.intellij.ui.components.JBScrollBar.updateUI(JBScrollBar.java:88) at java.desktop/javax.swing.JScrollBar.(JScrollBar.java:173) at com.intellij.ui.components.JBScrollBar.(JBScrollBar.java:68) at com.intellij.ui.components.JBScrollBar.(JBScrollBar.java:64) at com.intellij.ui.components.JBScrollPane.createVerticalScrollBar(JBScrollPane.java:285) at java.desktop/javax.swing.JScrollPane.(JScrollPane.java:301) at com.intellij.ui.components.JBScrollPane.(JBScrollPane.java:95) at com.intellij.openapi.ui.DialogWrapper$ErrorText.(DialogWrapper.java:2061) at com.intellij.openapi.ui.DialogWrapper$ErrorText.(DialogWrapper.java:2053) at com.intellij.openapi.ui.DialogWrapper.init(DialogWrapper.java:1280) at com.intellij.ide.gdpr.AgreementUi$createDialog$dialogWrapper$1.(AgreementUi.kt:45) at com.intellij.ide.gdpr.AgreementUi.createDialog(AgreementUi.kt:42) at com.intellij.ide.gdpr.AgreementUi.access$createDialog(AgreementUi.kt:23) at com.intellij.ide.gdpr.AgreementUi$Companion.create(AgreementUi.kt:217) at com.intellij.ide.gdpr.Agreements.showEndUserAndDataSharingAgreements(Agreements.kt:23) at com.intellij.idea.StartupUtil.lambda$showUserAgreementAndConsentsIfNeeded$13(StartupUtil.java:787) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:308) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:792) at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739) at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:761) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:417) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92) 2023-10-16 20:41:59,324 [ 554] WARN - i.mac.MacOSApplicationProvider - com/apple/eawt/OpenURIHandler java.lang.NoClassDefFoundError: com/apple/eawt/OpenURIHandler at com.intellij.ui.mac.MacOSApplicationProvider.initApplication(MacOSApplicationProvider.java:54) at com.intellij.idea.ApplicationLoader.startApp(ApplicationLoader.kt:146) 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:366) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:792) at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739) at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:761) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:417) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92) Caused by: java.lang.ClassNotFoundException: com.apple.eawt.OpenURIHandler at com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:357) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:592) Caused by: java.lang.AssertionError: JNA library is not available

at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
... 19 more

Caused by: java.lang.ClassNotFoundException: com.apple.eawt.OpenURIHandler

2023-10-16 20:42:00,303 [ 1533] ERROR - oncurrency.BoundedTaskExecutor - java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.Foundation java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.Foundation at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:168) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:629) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:581) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:157) at com.intellij.openapi.application.Preloader.lambda$preload$1(Preloader.java:74) at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:215) at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:26) at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:194) at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:207) at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:183) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.Foundation at com.intellij.ui.mac.foundation.MacUtil$ActivityImpl.(MacUtil.java:193) at com.intellij.ui.mac.foundation.MacUtil.wakeUpNeo(MacUtil.java:225) at com.intellij.openapi.progress.util.AbstractProgressIndicatorBase.startSystemActivity(AbstractProgressIndicatorBase.java:94) at com.intellij.openapi.progress.util.AbstractProgressIndicatorBase.start(AbstractProgressIndicatorBase.java:72) at com.intellij.openapi.progress.util.AbstractProgressIndicatorExBase.start(AbstractProgressIndicatorExBase.java:46) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:161) ... 17 more Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.AssertionError: JNA library is not available [in thread "AWT-EventQueue-0"] at com.intellij.ui.mac.foundation.Foundation.(Foundation.java:28) at com.intellij.ui.mac.foundation.Foundation$NSAutoreleasePool.(Foundation.java:451) at com.intellij.ui.components.MacScrollBarUI.callMac(MacScrollBarUI.java:199) at com.intellij.ui.components.MacScrollBarUI.access$500(MacScrollBarUI.java:29) at com.intellij.ui.components.MacScrollBarUI$Native.(MacScrollBarUI.java:297) at com.intellij.ui.components.MacScrollBarUI$Style$1.(MacScrollBarUI.java:250) at com.intellij.ui.components.MacScrollBarUI$Style.(MacScrollBarUI.java:250) at com.intellij.ui.components.MacScrollBarUI.installUI(MacScrollBarUI.java:102) at java.desktop/javax.swing.JComponent.setUI(JComponent.java:733) at java.desktop/javax.swing.JScrollBar.setUI(JScrollBar.java:218) at com.intellij.ui.components.JBScrollBar.updateUI(JBScrollBar.java:88) at java.desktop/javax.swing.JScrollBar.(JScrollBar.java:173) at com.intellij.ui.components.JBScrollBar.(JBScrollBar.java:68) at com.intellij.ui.components.JBScrollBar.(JBScrollBar.java:64) at com.intellij.ui.components.JBScrollPane.createVerticalScrollBar(JBScrollPane.java:285) at java.desktop/javax.swing.JScrollPane.(JScrollPane.java:301) at com.intellij.ui.components.JBScrollPane.(JBScrollPane.java:95) at com.intellij.openapi.ui.DialogWrapper$ErrorText.(DialogWrapper.java:2061) at com.intellij.openapi.ui.DialogWrapper$ErrorText.(DialogWrapper.java:2053) at com.intellij.openapi.ui.DialogWrapper.init(DialogWrapper.java:1280) at com.intellij.ide.gdpr.AgreementUi$createDialog$dialogWrapper$1.(AgreementUi.kt:45) at com.intellij.ide.gdpr.AgreementUi.createDialog(AgreementUi.kt:42) at com.intellij.ide.gdpr.AgreementUi.access$createDialog(AgreementUi.kt:23) at com.intellij.ide.gdpr.AgreementUi$Companion.create(AgreementUi.kt:217) at com.intellij.ide.gdpr.Agreements.showEndUserAndDataSharingAgreements(Agreements.kt:23) at com.intellij.idea.StartupUtil.lambda$showUserAgreementAndConsentsIfNeeded$13(StartupUtil.java:787) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:308) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:792) at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739) at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:761) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:417) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92) 2023-10-16 20:42:00,309 [ 1539] ERROR - oncurrency.BoundedTaskExecutor - IntelliJ IDEA 2020.2 Build #IC-202.6397.94 2023-10-16 20:42:00,308 [ 1538] ERROR - oncurrency.BoundedTaskExecutor - java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.MacUtil$ActivityImpl java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.MacUtil$ActivityImpl at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:168) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:629) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:581) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:157) at com.intellij.openapi.application.Preloader.lambda$preload$1(Preloader.java:74) at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:215) at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:26) at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:194) at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:207) Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.Foundation

Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.AssertionError: JNA library is not available [in thread "AWT-EventQueue-0"]

at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:183)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
at java.base/java.lang.Thread.run(Thread.java:833)

Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.MacUtil$ActivityImpl at com.intellij.ui.mac.foundation.MacUtil.wakeUpNeo(MacUtil.java:225) Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.MacUtil$ActivityImpl

at com.intellij.openapi.progress.util.AbstractProgressIndicatorBase.startSystemActivity(AbstractProgressIndicatorBase.java:94)
at com.intellij.openapi.progress.util.AbstractProgressIndicatorBase.start(AbstractProgressIndicatorBase.java:72)
at com.intellij.openapi.progress.util.AbstractProgressIndicatorExBase.start(AbstractProgressIndicatorExBase.java:46)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:161)
... 17 more

Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.Foundation [in thread "Preloader Pool[ApplicationImpl pooled thread 1]"] at com.intellij.ui.mac.foundation.MacUtil$ActivityImpl.(MacUtil.java:193) ... 22 more 2023-10-16 20:42:00,311 [ 1541] ERROR - oncurrency.BoundedTaskExecutor - IntelliJ IDEA 2020.2 Build #IC-202.6397.94 2023-10-16 20:42:00,311 [ 1541] ERROR - oncurrency.BoundedTaskExecutor - JDK: 17.0.8.1; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o. 2023-10-16 20:42:00,311 [ 1541] ERROR - oncurrency.BoundedTaskExecutor - OS: Mac OS X 2023-10-16 20:42:00,303 [ 1533] ERROR - oncurrency.BoundedTaskExecutor - java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.MacUtil$ActivityImpl java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.MacUtil$ActivityImpl at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:168) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:629) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:581) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:157) at com.intellij.openapi.application.Preloader.lambda$preload$1(Preloader.java:74) at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:215) at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:26) at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:194) at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:207) at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:183) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.Foundation [in thread "Preloader Pool[ApplicationImpl pooled thread 1]"]

at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
at java.base/java.lang.Thread.run(Thread.java:833)

Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.MacUtil$ActivityImpl at com.intellij.ui.mac.foundation.MacUtil.wakeUpNeo(MacUtil.java:225) at com.intellij.openapi.progress.util.AbstractProgressIndicatorBase.startSystemActivity(AbstractProgressIndicatorBase.java:94) at com.intellij.openapi.progress.util.AbstractProgressIndicatorBase.start(AbstractProgressIndicatorBase.java:72) at com.intellij.openapi.progress.util.AbstractProgressIndicatorExBase.start(AbstractProgressIndicatorExBase.java:46) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:161) ... 17 more Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.Foundation [in thread "Preloader Pool[ApplicationImpl pooled thread 1]"] at com.intellij.ui.mac.foundation.MacUtil$ActivityImpl.(MacUtil.java:193) ... 22 more 2023-10-16 20:42:00,312 [ 1542] ERROR - oncurrency.BoundedTaskExecutor - IntelliJ IDEA 2020.2 Build #IC-202.6397.94 Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.MacUtil$ActivityImpl

2023-10-16 20:42:00,312 [ 1542] ERROR - oncurrency.BoundedTaskExecutor - JDK: 17.0.8.1; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o. 2023-10-16 20:42:00,312 [ 1542] ERROR - oncurrency.BoundedTaskExecutor - OS: Mac OS X 2023-10-16 20:42:00,312 [ 1542] ERROR - oncurrency.BoundedTaskExecutor - Last Action:
2023-10-16 20:42:00,312 [ 1542] ERROR - oncurrency.BoundedTaskExecutor - Last Action:
2023-10-16 20:42:00,310 [ 1540] ERROR - oncurrency.BoundedTaskExecutor - JDK: 17.0.8.1; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o. Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.Foundation [in thread "Preloader Pool[ApplicationImpl pooled thread 1]"]

2023-10-16 20:42:00,312 [ 1542] ERROR - oncurrency.BoundedTaskExecutor - OS: Mac OS X 2023-10-16 20:42:00,310 [ 1540] ERROR - oncurrency.BoundedTaskExecutor - java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.MacUtil$ActivityImpl java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.MacUtil$ActivityImpl at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:168) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:629) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:581) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:157) at com.intellij.openapi.application.Preloader.lambda$preload$1(Preloader.java:74) at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:215) at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:26) at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:194) at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:207) at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:183) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.MacUtil$ActivityImpl at com.intellij.ui.mac.foundation.MacUtil.wakeUpNeo(MacUtil.java:225) at com.intellij.openapi.progress.util.AbstractProgressIndicatorBase.startSystemActivity(AbstractProgressIndicatorBase.java:94) at com.intellij.openapi.progress.util.AbstractProgressIndicatorBase.start(AbstractProgressIndicatorBase.java:72) at com.intellij.openapi.progress.util.AbstractProgressIndicatorExBase.start(AbstractProgressIndicatorExBase.java:46) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:161) ... 17 more Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.Foundation [in thread "Preloader Pool[ApplicationImpl pooled thread 1]"] at com.intellij.ui.mac.foundation.MacUtil$ActivityImpl.(MacUtil.java:193) ... 22 more 2023-10-16 20:42:00,313 [ 1543] ERROR - oncurrency.BoundedTaskExecutor - Last Action:
2023-10-16 20:42:00,313 [ 1543] ERROR - oncurrency.BoundedTaskExecutor - IntelliJ IDEA 2020.2 Build #IC-202.6397.94 2023-10-16 20:42:00,313 [ 1543] ERROR - oncurrency.BoundedTaskExecutor - JDK: 17.0.8.1; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o. 2023-10-16 20:42:00,313 [ 1543] ERROR - oncurrency.BoundedTaskExecutor - OS: Mac OS X 2023-10-16 20:42:00,313 [ 1543] ERROR - oncurrency.BoundedTaskExecutor - Last Action:
2023-10-16 20:42:00,324 [ 1554] ERROR - oncurrency.BoundedTaskExecutor - java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.MacUtil$ActivityImpl java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.MacUtil$ActivityImpl at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:168) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:629) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:581) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:157) at com.intellij.openapi.application.Preloader.lambda$preload$1(Preloader.java:74) at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:215) at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:26) at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:194) at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:207) at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:183) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.MacUtil$ActivityImpl at com.intellij.ui.mac.foundation.MacUtil.wakeUpNeo(MacUtil.java:225) at com.intellij.openapi.progress.util.AbstractProgressIndicatorBase.startSystemActivity(AbstractProgressIndicatorBase.java:94) at com.intellij.openapi.progress.util.AbstractProgressIndicatorBase.start(AbstractProgressIndicatorBase.java:72) at com.intellij.openapi.progress.util.AbstractProgressIndicatorExBase.start(AbstractProgressIndicatorExBase.java:46) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:161) ... 17 more Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.Foundation [in thread "Preloader Pool[ApplicationImpl pooled thread 1]"] at com.intellij.ui.mac.foundation.MacUtil$ActivityImpl.(MacUtil.java:193) ... 22 more 2023-10-16 20:42:00,324 [ 1554] ERROR - oncurrency.BoundedTaskExecutor - IntelliJ IDEA 2020.2 Build #IC-202.6397.94 2023-10-16 20:42:00,324 [ 1554] ERROR - oncurrency.BoundedTaskExecutor - JDK: 17.0.8.1; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o. 2023-10-16 20:42:00,324 [ 1554] ERROR - oncurrency.BoundedTaskExecutor - OS: Mac OS X 2023-10-16 20:42:00,324 [ 1554] ERROR - oncurrency.BoundedTaskExecutor - Last Action:
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.MacUtil$ActivityImpl

Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.Foundation [in thread "Preloader Pool[ApplicationImpl pooled thread 1]"]

Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.MacUtil$ActivityImpl

Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.Foundation [in thread "Preloader Pool[ApplicationImpl pooled thread 1]"]

2023-10-16 20:42:00,396 [ 1626] WARN - nSystem.impl.ActionManagerImpl - keymap "Xcode" not found [Plugin: com.intellij] 2023-10-16 20:42:00,511 [ 1741] ERROR - oncurrency.BoundedTaskExecutor - Could not initialize class com.intellij.ui.mac.foundation.Foundation java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.mac.foundation.Foundation at com.intellij.ui.mac.touchbar.NSAutoreleaseLock.(NSAutoreleaseLock.java:10) at com.intellij.ui.mac.touchbar.Utils.getAppId(Utils.java:54) at com.intellij.ui.mac.touchbar.TouchBarsManager.initialize(TouchBarsManager.java:186) at com.intellij.ui.mac.touchbar.TouchBarsManager.onApplicationInitialized(TouchBarsManager.java:64) at com.intellij.idea.IdeStarterKt$postOpenUiTasks$1.run(IdeStarter.kt:226) at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:215) at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:26) at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:194) at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:186) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.AssertionError: JNA library is not available [in thread "AWT-EventQueue-0"] at com.intellij.ui.mac.foundation.Foundation.(Foundation.java:28) at com.intellij.ui.mac.foundation.Foundation$NSAutoreleasePool.(Foundation.java:451) at com.intellij.ui.components.MacScrollBarUI.callMac(MacScrollBarUI.java:199) at com.intellij.ui.components.MacScrollBarUI.access$500(MacScrollBarUI.java:29) at com.intellij.ui.components.MacScrollBarUI$Native.(MacScrollBarUI.java:297) at com.intellij.ui.components.MacScrollBarUI$Style$1.(MacScrollBarUI.java:250) at com.intellij.ui.components.MacScrollBarUI$Style.(MacScrollBarUI.java:250) at com.intellij.ui.components.MacScrollBarUI.installUI(MacScrollBarUI.java:102) at java.desktop/javax.swing.JComponent.setUI(JComponent.java:733) at java.desktop/javax.swing.JScrollBar.setUI(JScrollBar.java:218) at com.intellij.ui.components.JBScrollBar.updateUI(JBScrollBar.java:88) at java.desktop/javax.swing.JScrollBar.(JScrollBar.java:173) at com.intellij.ui.components.JBScrollBar.(JBScrollBar.java:68) at com.intellij.ui.components.JBScrollBar.(JBScrollBar.java:64) at com.intellij.ui.components.JBScrollPane.createVerticalScrollBar(JBScrollPane.java:285) at java.desktop/javax.swing.JScrollPane.(JScrollPane.java:301) at com.intellij.ui.components.JBScrollPane.(JBScrollPane.java:95) at com.intellij.openapi.ui.DialogWrapper$ErrorText.(DialogWrapper.java:2061) at com.intellij.openapi.ui.DialogWrapper$ErrorText.(DialogWrapper.java:2053) at com.intellij.openapi.ui.DialogWrapper.init(DialogWrapper.java:1280) at com.intellij.ide.gdpr.AgreementUi$createDialog$dialogWrapper$1.(AgreementUi.kt:45) at com.intellij.ide.gdpr.AgreementUi.createDialog(AgreementUi.kt:42) at com.intellij.ide.gdpr.AgreementUi.access$createDialog(AgreementUi.kt:23) at com.intellij.ide.gdpr.AgreementUi$Companion.create(AgreementUi.kt:217) at com.intellij.ide.gdpr.Agreements.showEndUserAndDataSharingAgreements(Agreements.kt:23) at com.intellij.idea.StartupUtil.lambda$showUserAgreementAndConsentsIfNeeded$13(StartupUtil.java:787) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:308) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:792) at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739) at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:761) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:417) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92) 2023-10-16 20:42:00,512 [ 1742] ERROR - oncurrency.BoundedTaskExecutor - IntelliJ IDEA 2020.2 Build #IC-202.6397.94 2023-10-16 20:42:00,512 [ 1742] ERROR - oncurrency.BoundedTaskExecutor - JDK: 17.0.8.1; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o. 2023-10-16 20:42:00,512 [ 1742] ERROR - oncurrency.BoundedTaskExecutor - OS: Mac OS X 2023-10-16 20:42:00,512 [ 1742] ERROR - oncurrency.BoundedTaskExecutor - Last Action:
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.AssertionError: JNA library is not available [in thread "AWT-EventQueue-0"]

objc[48721]: Class WebSwapCGLLayer is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/Frameworks/libANGLE-shared.dylib (0x22b906fe0) and /Applications/IntelliJ IDEA.app/Contents/jbr/Contents/Frameworks/Chromium Embedded Framework.framework/Libraries/libGLESv2.dylib (0x10849fc28). One of the two will be used. Which one is undefined.

ayouballali commented 1 year ago

this is the log i have in intellij ide version : 2023.2.3 plugin version : i cloned the source code here and i run gradle runIde

ayouballali commented 1 year ago

@TzufTabnine

TzufTabnine commented 1 year ago

@ayouballali We are investigating it