Closed ayouballali closed 3 months ago
@ayouballali Please elaborate: Setup? What problems are you facing? IDE version? Tabnine plugin version? Screenshot/video of the error you are getting?
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.
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.
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.
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.
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.
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.
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.
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.
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.
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
@TzufTabnine
@ayouballali We are investigating it
i am trying to run plugin from code source but i facing some problems
gz#27151
(related to Zendesk ticket #27151)