JVM Terminated . Exit code = 255 when launching Talend Studio on Ubuntu

Employee

JVM Terminated . Exit code = 255 when launching Talend Studio on Ubuntu

Hello

 

I have installed Talend Studio 6.5.1 on Linux Ubuntu 16.04.

 

I have also installed Oracle JDK 1.8 and have setup the JAVA_HOME

 

ubuntu@ip-172-31-14-163:~$ echo $JAVA_HOME
/usr/lib/jvm/java-8-oracle
ubuntu@ip-172-31-14-163:~$ echo $JRE_HOME
/usr/lib/jvm/java-8-oracle/jre
ubuntu@ip-172-31-14-163:~$ echo $PATH
/home/ubuntu/bin:/home/ubuntu/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/usr/lib/jvm/java-8-oracle:/usr/lib/jvm/java-8-oracle/jre
ubuntu@ip-172-31-14-163:~$ java -version
java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)
ubuntu@ip-172-31-14-163:~$

 

I have configured the Talend Studio's ini file 'Talend-Studio-linux-gtk-x86_64.ini' and have added the java path also:

 

-vm /usr/lib/jvm/java-8-oracle/bin
-vmargs
-Xms512m
-Xmx1536m
-Dfile.encoding=UTF-8
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-XX:+UseStringDeduplication

 

When attempt to launch the Studio, I get the usual popups

Talend_Studio_project_selection_popup.png

Talend_Studio_progress_popup.png

but then I get this error :

 

error_popup.png

 

The terminal windows shows this error:

 

Xlib:  extension "RANDR" missing on display ":2.0".
Starting Groovy-Eclipse compiler resolver.  Specified compiler level: unspecified
247 2.4.300.xx-201509250011-e44 = STARTING
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
Configuring bonita client on host localhost:18080 with API_TYPE=HTTP
Progress Monitor is null
org.eclipse.core.runtime.CoreException: Plug-in org.talend.mdm.repository.enterprise was unable to load class org.talend.mdm.repository.enterprise.ui.processor.RemoveUIContributionBeforeStartup.
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:178)
	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
	at org.bonitasoft.studio.application.BonitaStudioWorkbenchAdvisor.executeConfigurationElement(BonitaStudioWorkbenchAdvisor.java:482)
	at org.bonitasoft.studio.application.BonitaStudioWorkbenchAdvisor.preStartup(BonitaStudioWorkbenchAdvisor.java:412)
	at org.talend.mdm.bos.core.InitBonitaWorkspaceLoginTask.run(InitBonitaWorkspaceLoginTask.java:119)
	at org.talend.rcp.intro.ApplicationWorkbenchAdvisor.preStartup(ApplicationWorkbenchAdvisor.java:115)
	at org.eclipse.ui.internal.Workbench$24.runWithException(Workbench.java:1699)
	at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:32)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3774)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3412)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2897)
	at org.eclipse.ui.internal.Workbench.access$8(Workbench.java:2797)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:633)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
	at org.talend.rcp.intro.Application.start(Application.java:255)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
	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 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Caused by: java.lang.NoClassDefFoundError: org/bonitasoft/studio/application/contribution/IPreStartupContribution
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
	at org.eclipse.osgi.internal.loader.ModuleClassLoader.defineClass(ModuleClassLoader.java:272)
	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defineClass(ClasspathManager.java:632)
	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(ClasspathManager.java:588)
	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:540)
	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:527)
	at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:324)
	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:327)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:402)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)
	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:573)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
	... 33 more
Caused by: java.lang.ClassNotFoundException: org.bonitasoft.studio.application.contribution.IPreStartupContribution cannot be found by org.talend.mdm.repository.enterprise_6.5.1.20180116_1512
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:439)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)
	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 49 more
java.lang.NullPointerException
	at org.bonitasoft.studio.application.BonitaStudioWorkbenchAdvisor.executeConfigurationElement(BonitaStudioWorkbenchAdvisor.java:487)
	at org.bonitasoft.studio.application.BonitaStudioWorkbenchAdvisor.preStartup(BonitaStudioWorkbenchAdvisor.java:412)
	at org.talend.mdm.bos.core.InitBonitaWorkspaceLoginTask.run(InitBonitaWorkspaceLoginTask.java:119)
	at org.talend.rcp.intro.ApplicationWorkbenchAdvisor.preStartup(ApplicationWorkbenchAdvisor.java:115)
	at org.eclipse.ui.internal.Workbench$24.runWithException(Workbench.java:1699)
	at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:32)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3774)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3412)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2897)
	at org.eclipse.ui.internal.Workbench.access$8(Workbench.java:2797)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:633)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
	at org.talend.rcp.intro.Application.start(Application.java:255)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
	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 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Exception in thread "Thread-0" java.lang.NullPointerException
	at org.eclipse.ui.internal.ide.IDEWorkbenchPlugin$2.run(IDEWorkbenchPlugin.java:366)
	at org.eclipse.swt.widgets.Display.timerProc(Display.java:4380)
	at org.eclipse.equinox.launcher.JNIBridge._takedown_splash(Native Method)
	at org.eclipse.equinox.launcher.JNIBridge.takeDownSplash(JNIBridge.java:167)
	at org.eclipse.equinox.launcher.Main.takeDownSplash(Main.java:2168)
	at org.eclipse.equinox.launcher.Main$SplashHandler.run(Main.java:113)
Xlib:  extension "RANDR" missing on display ":2.0".
ubuntu@ip-172-31-14-163:~/TalendStudio-6.5.1/studio$ 

Does anyone know what the issue could be ?

 

Appreciate your help.

 

Thanks

 

Patrice

Four Stars

Re: JVM Terminated . Exit code = 255 when launching Talend Studio on Ubuntu

Try starting Talend after executing this below command.
+extension RANDR

 

Employee

Re: JVM Terminated . Exit code = 255 when launching Talend Studio on Ubuntu

Hi.

 

How do I execute the command ? Is that something I add to the initialization file ? or do I just issue it at the linux prompt ?