I have encountered a time consuming problem in running android studio. every time I open the app on windows 10 enterprise,it comes with a different error! for example, the fallowing errors have appeared :
Error Launching Studio
Error invoking main method
an other error on running :
Internal Error. Please report to https://code.google.com/p/android/issues
com.intellij.ide.plugins.PluginManager$StartupAbortedException:
java.lang.reflect.InvocationTargetException
at com.intellij.ide.plugins.PluginManager.lambda$start$0(PluginManager.java:95)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.ide.plugins.PluginManager.lambda$start$0(PluginManager.java:92)
... 1 more
Caused by: java.lang.VerifyError: (class: com/intellij/openapi/util/io/FileUtilRt, method: getUserContentLoadLimit signature: ()I) Incompatible argument to function
at com.intellij.openapi.application.PathManager.ensureConfigFolderExists(PathManager.java:196)
at com.intellij.idea.StartupUtil.checkSystemFolders(StartupUtil.java:195)
at com.intellij.idea.StartupUtil.prepareAndStart(StartupUtil.java:118)
at com.intellij.idea.MainImpl.start(MainImpl.java:34)
... 6 more
another error :
Internal Error. Please report to
https://https://code.google.com/p/android/issues
java.lang.VerifyError: (class: gnu/trove/TObjectHash, method: contains
signature: (Ljava/lang/Object;)Z) Incompatible argument to function
at com.intellij.util.containers.Interner.<init>(Interner.java:32)
at com.intellij.util.containers.StringInterner.<init>(StringInterner.java:21)
at com.intellij.util.containers.WeakStringInterner.<init>(WeakStringInterner.java:29)
at com.intellij.util.lang.UrlClassLoader.<init>(UrlClassLoader.java:168)
at com.intellij.util.lang.UrlClassLoader$Builder.get(UrlClassLoader.java:140)
at com.intellij.ide.BootstrapClassLoaderUtil.initClassLoader(BootstrapClassLoaderUtil.java:69)
at com.intellij.ide.Bootstrap.main(Bootstrap.java:32)
at com.intellij.idea.Main.main(Main.java:103)
and some other similar errors related to launching Studio referring to intellij and java as mentioned previously
On Version 2.3.2 : Usually While It is connected to the internet, the android studio's panel pops up and freezes , and while offline , the errors appear .
On Version 3.0.1 : in this version there is no pop up panel , the errors appear in this case.
the results alternatively change between mentioned forms!
I even upgraded my windows hoping that the problem would be solved.but it did not!moreover , I have tried several different versions of jdk, Studio and have defined JDK_HOME , JAVA_HOME . the result is annoying.
my system info:
processor : core i3 2120 # 3.3
installed memory : 4 GB
GPU: Nvidia GeForce 520 GT
Adapter Ram : 2GB
Related
FYI: kafka noob here
I downloaded Offset Explorer 2 (Kafka Tool) on my Mac and when I open it, it shows up in my Activity Monitor for a few seconds and then closed. No UI appears and there is no error message displayed.
However, I was able to see the error log:
...
ERROR com.kafkatool.ui.MainApp - Error starting main application
java.lang.NullPointerException
at java.awt.Window.init(Window.java:497)
at java.awt.Window.<init>(Window.java:537)
at java.awt.Frame.<init>(Frame.java:420)
at java.awt.Frame.<init>(Frame.java:385)
at javax.swing.JFrame.<init>(JFrame.java:189)
at com.kafkatool.ui.MainFrame.<init>(MainFrame.java:97)
at com.kafkatool.ui.MainApp.<init>(MainApp.java:33)
at com.kafkatool.ui.MainApp.main(MainApp.java:110)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:84)
at com.install4j.runtime.launcher.MacLauncher.main(MacLauncher.java:52)
What I have tried:
Uninstalling/Reinstalling
I tried installing via HomeBrew
I tried installing via downloading it form the official site
I tried uninstalling/reinstalling different version of Java (openJDK and the name-brand stuff)
rebooting
None of the above seems to have any affect. I still see the same error message in the log
Has anyone encountered with the following error during use Eclipse latest version: 202003?
I've downloaded it, update Java 1.8 to the latest Java version, start eclipse, add my PHP project and during the building or validation or DLTK indexing I got an Internal error.
Part from eclipse .log file:
!ENTRY org.eclipse.dltk.core.index.lucene 1 1 2020-04-30 16:33:01.599
!MESSAGE Recovering index storage: Y:\.metadata\.plugins\org.eclipse.dltk.core.index.lucene\index\4b74b979-df85-4fb0-bd11-ad91f89ae355\timestamps
!ENTRY org.eclipse.dltk.core.index.lucene 4 4 2020-04-30 16:33:01.617
!MESSAGE Index writer could not be created, index data might be corrupted.
!STACK 0
java.io.IOException: The request is not supported
at sun.nio.ch.FileDispatcherImpl.lock0(Native Method)
at sun.nio.ch.FileDispatcherImpl.lock(Unknown Source)
at sun.nio.ch.FileChannelImpl.tryLock(Unknown Source)
at java.nio.channels.FileChannel.tryLock(Unknown Source)
at org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:126)
at org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:41)
at org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:45)
at org.apache.lucene.store.SleepingLockWrapper.obtainLock(SleepingLockWrapper.java:84)
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:729)
at org.eclipse.dltk.internal.core.index.lucene.IndexContainer.createWriter(IndexContainer.java:139)
at org.eclipse.dltk.internal.core.index.lucene.IndexContainer.getWriter(IndexContainer.java:146)
at org.eclipse.dltk.internal.core.index.lucene.IndexContainer.getTimestampsWriter(IndexContainer.java:167)
at org.eclipse.dltk.internal.core.index.lucene.IndexRecovery.tryRecover(IndexRecovery.java:62)
at org.eclipse.dltk.internal.core.index.lucene.IndexContainer.getWriter(IndexContainer.java:149)
at org.eclipse.dltk.internal.core.index.lucene.IndexContainer.getTimestampsWriter(IndexContainer.java:167)
at org.eclipse.dltk.internal.core.index.lucene.IndexRecovery.tryRecover(IndexRecovery.java:62)
at org.eclipse.dltk.internal.core.index.lucene.IndexContainer.getWriter(IndexContainer.java:149)
at org.eclipse.dltk.internal.core.index.lucene.IndexContainer.getTimestampsWriter(IndexContainer.java:167)
........
I've no idea what is going wrong? WTF?
Java version is: jre1.8.0_251 and I've also tried reinstall previous java version what I used. This was: 1.8.0_202...but I got the same error again, and again, and again :(
I would like upgrade my Eclipse because of Symfony plugin...
Previous used java version: 1.8.0_191. I've reinstalled it and got back the error:
An internal error occurred during: "Build Modules".
java.lang.StackOverflowError
Building process stop at 49% :(
Can anybody help me?
Hi this is problem with DLTK 6.1 + PDT 7.1. We already fixed this: no more async and FS locks. Please update to recent snapshots or try Eclipse 2020-06 M2 or newest: https://www.eclipse.org/downloads/packages/release/2020-06/m2
I'm facing some issue compiling an app in Cordova.
Basically after a Windows re-installation I re-istalled Android Studio, NPM and Cordova but when I try to run an application (I tried with the application I was working on before the OS re-installation and even with the "basic" Cordova app) Cordova give me "Exception in thread "main" java.lang.NullPointerException" (rest of the error below).
I've installed Gradle manually "C:\src\gradle-5.6" and set the environment variable (before Windows re-istallation I didn't installed it manually and it was working) and tried even to download and configure via env. varible the same version on the
\platforms\android\cordova\lib\builders\ProjectBuilder.js file, which is 4.10.3 but still the same error.
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=C:\Users\william.manzato\AppData\Local\Android\Sdk\
(recommended setting)
ANDROID_HOME=C:\Users\william.manzato\AppData\Local\Android\Sdk\
(DEPRECATED) Subproject Path: CordovaLib Subproject Path: app
Exception in thread "main" java.lang.NullPointerException
at org.gradle.wrapper.PathAssembler.getDistName(PathAssembler.java:84)
at org.gradle.wrapper.PathAssembler.getDistribution(PathAssembler.java:40)
at org.gradle.wrapper.Install.createDist(Install.java:44)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
C:\Users\william.manzato\Wamp\NCR Error Codes
Translator\platforms\android\gradlew: Command failed with exit code 1
Error output: Exception in thread "main"
java.lang.NullPointerException
at org.gradle.wrapper.PathAssembler.getDistName(PathAssembler.java:84)
at org.gradle.wrapper.PathAssembler.getDistribution(PathAssembler.java:40)
at org.gradle.wrapper.Install.createDist(Install.java:44)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Did anyone else faced this issue and managed to solve it?
I reply by myself to this in case someone faces the same issue.
I just downgrade java (JRE and JDK) from 221 to 212, rebooted the pc et voilá, it works again.
Machine : Windows 64 Bit
Java Installed : Jre6, Jre7
Classpath contains : Jdk6, Jdk7
Stack Trace :
java.lang.ExceptionInInitializerError
at com.jniwrapper.win32.ie.Browsers.getIEVersion(Unknown Source)
at com.amdocs.uif.widgets.browser.JExplorerBrowserFactory.initialize(JExplorerBrowserFactory.java:254)
at com.amdocs.uif.workspace.MDIWorkspace.initialize(MDIWorkspace.java:1351)
at com.amdocs.uif.workspace.MDIWorkspace.<init>(MDIWorkspace.java:1305)
at com.amdocs.uif.workspace.MDIWorkspace.<init>(MDIWorkspace.java:1284)
at com.amdocs.uif.workspace.RuntimeContext.main(RuntimeContext.java:287)
at com.amdocs.uif.workspace.Main.main(Main.java:24)
Caused by: com.jniwrapper.LibraryNotFoundException: Cannot find JNIWrapper native library (jniwrap64.dll) in java.library.path: C:\oms\Java\jdk1.7.0_51\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;%SONAR_RUNNER_HOME%\bin;C:\env\jdk1.7.0_51\bin;C:\env\jdk1.7.0_51\jre\bin;C:\env\jdk1.6.0_24\jre\bin\client;O:\ora11202w\bin;C:\ANT_HOME\bin;.
Please use 32 bit JVM . This should resolve the issue.
Trying to launch a java FX application on a Linux system using X. I get the following stack trace. After a bunch of googling and installing various packages, I am at a loss. Any thoughts?
java -jar tacoma_testing.jar
Prism-ES2 Error : GL_VERSION (major.minor) = 1.4
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.javafx.main.Main.launchApp(Main.java:698)
at com.javafx.main.Main.main(Main.java:871)
Caused by: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: /projects/tacoma/tacoma_regression_testing/jdk1.7.0_25/jre/lib/amd64/libglass.so: libgio-2.0.so.0: cannot open shared object file: No such file or directory
at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:281)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:124)
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:163)
at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:47)
at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:115)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.UnsatisfiedLinkError: /projects/tacoma/tacoma_regression_testing/jdk1.7.0_25/jre/lib/amd64/libglass.so: libgio-2.0.so.0: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1957)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1882)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1843)
at java.lang.Runtime.load0(Runtime.java:795)
at java.lang.System.load(System.java:1061)
at com.sun.glass.utils.NativeLibLoader.loadLibraryFullPath(NativeLibLoader.java:200)
at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:88)
at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:31)
at com.sun.glass.ui.Application.loadNativeLibrary(Application.java:73)
at com.sun.glass.ui.Application.loadNativeLibrary(Application.java:80)
at com.sun.glass.ui.gtk.GtkPlatformFactory$1.run(GtkPlatformFactory.java:28)
at com.sun.glass.ui.gtk.GtkPlatformFactory$1.run(GtkPlatformFactory.java:25)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.glass.ui.gtk.GtkPlatformFactory.<clinit>(GtkPlatformFactory.java:25)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at com.sun.glass.ui.PlatformFactory.getPlatformFactory(PlatformFactory.java:20)
at com.sun.glass.ui.Application.Run(Application.java:103)
at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:271)
... 5 more
Redhat is not listed as as supported configuration for JavaFX 2.2.
Nor is running JavaFX in a headless mode.
This may change for Java 8, but Java 8 has not been released yet, so the list of supported configurations for JavaFX running on Java 8 has not been published.
Currently the supported configuration set for Linux is only => Ubuntu 10.4+ gtk2 2.18+ with optional additional requirements for av codecs if you also want media playback support.
So try using a supported Ubuntu system instead of Redhat and you may or may not get that working in a headless environment.
I tested and it works fine with Redhat 6. Redhat 5 seems to be the problem.
Redhat Enterprise Linux 6 support will be added for Java 8 (to be released in the next few weeks).
A RHEL 5.5 support request was closed as won't fix, see RT-22564 "JavaFX Support for Red Hat Enterprise Linux 5.5".
If you can find a way to install gtk2 2.18+ on RHEL 5 you may be able to get it to work, though no promises.