]
Konstantin Marmalyukov commented on JBIDE-17404:
------------------------------------------------
[~burrsutter], How can I get free RHEL distro for testing?
CordovaSim cannot be launched on RHEL7
--------------------------------------
Key: JBIDE-17404
URL:
https://issues.jboss.org/browse/JBIDE-17404
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: aerogear-hybrid, browsersim
Environment: RHEL7 latest, 64bit
Installed webkitgtk3-devel 0:2.0.4-6-el7
TicketMonster Cordava example from latest WFK
JBDS 8.0.0.Beta1
OpenJDK 7
Reporter: Karel Piwko
Assignee: Konstantin Marmalyukov
Fix For: 4.2.0.CR1
Attachments: CordovaSimFailure.png, snapshot1.png
Launching BrowserSim fails with NPE, adding information from workspace log
Before webkitgtk3-devel is installed
{code}
!ENTRY No engine information on the config.json, this is OK if using an old project.
Falling back to default engine. 2 0 2014-05-23 13:03:54.128
!MESSAGE org.jboss.tools.aerogear.hybrid.core
!ENTRY org.jboss.tools.vpe.browsersim 4 0 2014-05-23 13:03:56.162
!MESSAGE BrowserSim is failed to start with the following error:
"No more handles"
Please note that WebKitGTK 1.2.0 or newer must be installed and available in the library
load path.
If not, use your package manager to install libwebkitgtk.
Also see <a
href="https://community.jboss.org/docs/DOC-18100">BrowserSim
FAQ</a>.
Stack trace:
org.eclipse.swt.SWTError: No more handles
at org.eclipse.swt.SWT.error(SWT.java:4467)
at org.eclipse.swt.SWT.error(SWT.java:4356)
at org.eclipse.swt.SWT.error(SWT.java:4327)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:103)
at
org.jboss.tools.vpe.browsersim.browser.BrowserSimBrowser.<init>(BrowserSimBrowser.java:36)
at
org.jboss.tools.vpe.browsersim.browser.AbstractWebKitBrowser.<init>(AbstractWebKitBrowser.java:25)
at
org.jboss.tools.vpe.browsersim.browser.internal.WebKitBrowser_gtk_linux_x86_64.<init>(WebKitBrowser_gtk_linux_x86_64.java:37)
at
org.jboss.tools.vpe.browsersim.browser.WebKitBrowserFactory.createBrowser(WebKitBrowserFactory.java:39)
at
org.jboss.tools.vpe.cordovasim.CordovaSimRunner.createCordovaSim(CordovaSimRunner.java:189)
at
org.jboss.tools.vpe.cordovasim.CordovaSimRunner.startCordovaSim(CordovaSimRunner.java:90)
at org.jboss.tools.vpe.cordovasim.CordovaSimRunner.main(CordovaSimRunner.java:84)
{code}
After:
{code}
!ENTRY No engine information on the config.json, this is OK if using an old project.
Falling back to default engine. 2 0 2014-05-23 14:03:57.380
!MESSAGE org.jboss.tools.aerogear.hybrid.core
!ENTRY No engine information on the config.json, this is OK if using an old project.
Falling back to default engine. 2 0 2014-05-23 14:03:57.380
!MESSAGE org.jboss.tools.aerogear.hybrid.core
!ENTRY org.eclipse.core.jobs 4 2 2014-05-23 14:03:57.395
!MESSAGE An internal error occurred during: "Launching TicketMonster-Cordova".
!STACK 0
java.lang.NullPointerException
at
org.jboss.tools.vpe.cordovasim.eclipse.launch.internal.CordovaSimLauncher.launchCordovaSim(CordovaSimLauncher.java:157)
at
org.jboss.tools.vpe.cordovasim.eclipse.launch.internal.CordovaSimLauncher.launchCordovaSim(CordovaSimLauncher.java:115)
at
org.jboss.tools.vpe.cordovasim.eclipse.launch.internal.CordovaSimLaunchConfigurationDelegate.launch(CordovaSimLaunchConfigurationDelegate.java:24)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:884)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
{code}