-
Bug
-
Resolution: Done
-
Major
-
None
-
None
Launching BrowserSim fails with NPE, adding information from workspace log
Before webkitgtk3-devel is installed
!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)
After:
!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)