facebook

Unable to open internal browser

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #298580 Reply

    becogent
    Member

    Hi,

    I’m running MyEclipse 7.1.1 on Kubuntu 9.04 and the web browser component doesn’t seem to work.

    If I open a JSP or an HTML page and click the preview tab I get this message:

    Unable to open internal browser. Please check to see if your configured browser is supported by Eclipse

    I have Firefox 3 installed and if I look at the Preferences>general>Web Browser settings I have use external web browser selected and Firefox ticked.

    And, in the error log I can see the following:

    !ENTRY com.genuitec.eclipse.webdesigner3 4 0 2009-05-20 15:46:05.881
    !MESSAGE XPCOM error -2147467259
    !STACK 0
    org.eclipse.swt.SWTError: XPCOM error -2147467259
    at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:1638)
    at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:312)
    at org.eclipse.swt.browser.Browser.<init>(Browser.java:118)
    at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createDefaultBrowser(WebDesignerMultiPageEditor.java:493)
    at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createDefaultPreviewPage(WebDesignerMultiPageEditor.java:483)
    at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createPreviewPage(WebDesignerMultiPageEditor.java:446)
    at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createPages(WebDesignerMultiPageEditor.java:344)
    at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:310)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:266)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2820)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729)
    at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
    at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2643)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:646)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:605)
    at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:318)
    at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:160)
    at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:228)
    at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:207)
    at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274)
    at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:250)
    at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:363)
    at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$5.open(PackageExplorerPart.java:603)
    at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:820)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.runtime.Platform.run(Platform.java:880)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
    at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:818)
    at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1079)
    at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1183)
    at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:263)
    at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:257)
    at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:297)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
    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:386)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

    !ENTRY com.genuitec.eclipse.webdesigner3 4 0 2009-05-20 15:46:08.699
    !MESSAGE
    !STACK 0
    java.lang.NullPointerException
    at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.previewInDefaultBrowser(WebDesignerMultiPageEditor.java:1023)
    at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.previewPageChange(WebDesignerMultiPageEditor.java:970)
    at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.pageChange(WebDesignerMultiPageEditor.java:892)
    at org.eclipse.ui.part.MultiPageEditorPart$2.widgetSelected(MultiPageEditorPart.java:266)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1182)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1167)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1007)
    at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3242)
    at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2017)
    at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:320)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
    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:386)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

    !ENTRY org.eclipse.ui.browser 2 0 2009-05-20 15:56:38.367
    !MESSAGE Internal browser is not available: XPCOM error -2147467259

    [/i]

    #298594 Reply

    Loyal Water
    Member

    becogent,
    This a known compatibility issue between MyEclispe and Ubuntu which will be fixed in the next MyEclipse release (ME 7.5). Sorry for the inconvenience.

    BTW, the 7.5 mile stone release is due sometime this week or early next week.

    #298712 Reply

    becogent
    Member

    Not really a good idea given these release notes for the M1 release…

    Ubuntu 8.10+ not supported
    MyEclipse 7.5 M1 and all early versions are unstable on Ubuntu 8.10 and later systems. The root of the issue stems from a binary incompatibility between XUL Runner that is bundled in MyEclipse and XUL Runner that is bundled with the OS install. Learn more…

    Linux Internal Web Browser Stability
    The Visual HTML Designer on Linux has exhibited rare stability problems on some systems. Until this matter is resolved the WYSIWYG design mode has been restricted to a source-only mode of operation. You can reenable the WYSIYWG design mode for experimental use by including the commandline flag: -D linux.experimental

    #298738 Reply

    Loyal Water
    Member

    The designer issues on Ubuntu are complex — for some folks, they never ran into the issue in the first place — for other folks the fixes we’ve made in 7.5M1 (and soon to be GA) helped others that were previously broken but we are still seeing some other setups that still cannot load XUL-based tools.

    #298989 Reply

    Ubuntu 7.10 is off time of support from Canonical .
    Ubuntu is the most prevalent used desktop linux distribution.
    Don’t have support for Ubuntu 8.10 and never version sound like dont have a linux version of ME.

    #299016 Reply

    Loyal Water
    Member

    I have notified the developers of the consistent problem and we will look into it for 8.0. Sorry for the inconvenience.

    #299027 Reply

    becogent
    Member

    Can I ask for some clarification as this is a really annoying problem for me and there appear to be some slightly mixed messages in the preceding posts.

    (Remember I’m on Kubuntu/Ubuntu 9.04)

    Is your advice to upgrade to 7.5M1?

    Will the final fix be in 7.5 or do we have to wait until 8.0?

    #299065 Reply

    Riyad Kalla
    Member

    becogent,

    Sorry for the confusion — it’s partly because the problem *is* confusing. Here’s what’s going on:

    MyEclipse 7.1 and previous releases were based on XUL Runner 1.8 — no one had any problems on Linux. Then Ubuntu 8.10 came out (and after 9.04) and we started to get an influx of complaints that due to the platform conflict of XUL Runner in Ubuntu with the one in MyEclipse, the designers were failing to load in Design mode or Preview mode.

    We looked into the issue and found that for some users, everything worked fine. And for others it wouldn’t work and no amount of tweaking seemed to fix it.

    We targeted a large work item of updating our XUL Runner integration to the latest stable (1.9.0.4) for the MyEclipse 7.5 release — and we completed that work in 7.5M1. *Some* folks have said it fixed up their issues on Linux while others are still telling us things aren’t working.

    Again, internally, we can reproduce working behavior more often then we can reproduce the failure.

    We haven’t had time to dig deep on Linux/Ubuntu and figure out what the heck is going on with all the different flavors — not to mention 32-bit and 64-bit behave differently again.

    So we are targeting some research work to 8.0 for that.

    #299233 Reply

    rmcvay
    Member

    On my laptop my experience has been:
    8.04 – ME 7.0, 7.1 – ok
    9.04 – ME 7.1 bad, 7.5M1 ok

    #299646 Reply

    becogent
    Member

    Just to note, that I’ve now upgraded to 7.5 GA on Kubuntu 9.04 and this problem seems to be resolved.

    As an additional note, the installation was very flaky indeed until I upped the number of open files allowed and reinstalled. See here for the fix (https://www.genuitec.com/forums/topic/troubleshooting-how-to-fix-too-many-open-files-on-linux/) and note that a reboot is required for this to apply.

    #299651 Reply

    Scott Anderson
    Participant

    becogent,

    Thanks for the follow-up. The “Linux open files problem” causes a lot of issues. Why the distros ship with the number of open files allowed so low is still a mystery to me. It sure causes a lot of problems. Thanks for re-posting the workaround here for others that find this thread.

Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: Unable to open internal browser

You must be logged in to post in the forum log in