Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-11923

BrowserSim cannot start on Ubuntu with Eclipse 3.7.2 installed by package manager

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 3.3.0.CR1
    • 3.3.0.Beta3
    • browsersim
    • None
    • Hide
      1. On Ubuntu (I used Ubuntu 12.04 x86_64) open Synaptic Package Manager and install Eclipse (3.7.2).
      2. Run Eclipse > Install New Software > http://download.jboss.org/jbosstools/updates/nightly/core/trunk/ > check Mobile Browser Simulator > Install
      3. After Eclipse restart, try to run BrowserSim.
      4. Open Error Log to see the IOException
      Show
      On Ubuntu (I used Ubuntu 12.04 x86_64) open Synaptic Package Manager and install Eclipse (3.7.2). Run Eclipse > Install New Software > http://download.jboss.org/jbosstools/updates/nightly/core/trunk/ > check Mobile Browser Simulator > Install After Eclipse restart, try to run BrowserSim. Open Error Log to see the IOException

      BrowserSim throws the following error when it is run from Eclipse 3.7.2 installed by package manager (not downloaded from eclipse.org).

      null
      Error
      Mon May 21 19:33:00 EET 2012
      Cannot find bundle: org.eclipse.swt.gtk.linux.x86_64
      
      java.io.IOException: Cannot find bundle: org.eclipse.swt.gtk.linux.x86_64
      	at org.jboss.tools.vpe.browsersim.eclipse.util.BrowserSimLauncher.getBundleLocation(BrowserSimLauncher.java:106)
      	at org.jboss.tools.vpe.browsersim.eclipse.util.BrowserSimLauncher.launchBrowserSim(BrowserSimLauncher.java:43)
      	at org.jboss.tools.vpe.browsersim.eclipse.actions.RunBrowserSimAction.run(RunBrowserSimAction.java:49)
      	at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
      	at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
      	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
      	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
      	at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
      	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
      	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
      	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
      	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      	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:616)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
      

            yradtsevich Yahor Radtsevich (Inactive)
            yradtsevich Yahor Radtsevich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: