facebook

Internal Browser problems

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #286932 Reply

    pmtghome
    Member

    I’m using the MyEclipse 6.5.0 plugin for eclipse 3.3.2 on an ubuntu 8.04 x86 PC.

    when I first install MyEclipse as a plugin, it makes me restart the IDE. When it starts back up again, everything works great. Specifically the internal browser is working fine, and selected as the default browser. However, if I close eclipse and re-open it, trying to launch the browser gives me an error “error launching internal browser. please select an external browser from the preferences menu.” Looking at the preferences menu, not only is mozilla now selected as the default, but the internal browser option is disabled. if I move my ~/.eclipse/…/configuration/eclipse folder, start eclipse, stop eclipse, move the folder back, and start eclipse with the -clean option, it “tricks” it into letting the browser work again (but only until I close eclipse, the next time I get the same errors) it’s not giving me a stack trace, just a NullPointerException. Thanks in advance for any help

    #286946

    Loyal Water
    Member

    Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.

    The NullPointerException is the only exception recorded under the <workspace>/.metadata/.log file?

    #286952

    pmtghome
    Member

    *** Date:
    Thursday, July 10, 2008 8:07:41 AM EDT

    ** System properties:
    OS=Linux
    OS version=2.6.24-19-generic
    Java version=1.5.0_15

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.5.0 GA
    Build id: 6.5.0-GA-20080609

    *** Eclipse details:
    Eclipse SDK

    Version: 3.3.2
    Build id: M20080221

    <workspace>/.metadata/.log:

    !SESSION 2008-07-10 08:08:59.141 ———————————————–
    eclipse.buildId=M20080221-1800
    java.version=1.5.0_15
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
    Command-line arguments: -os linux -ws gtk -arch x86

    !ENTRY com.genuitec.eclipse.core 1 0 2008-07-10 08:09:07.940
    !MESSAGE Unable to locate .myeclipse.properties file

    !ENTRY org.eclipse.ui.browser 2 0 2008-07-10 08:09:18.964
    !MESSAGE Internal browser is not available: XPCOM error -2147467259

    !ENTRY com.genuitec.eclipse.ast.deploy.core 1 0 2008-07-10 08:10:09.369
    !MESSAGE
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.ui.internal.browser.browsers.MozillaBrowser.openURL(MozillaBrowser.java:51)
    at com.genuitec.eclipse.ast.deploy.core.ui.action.OpenMyEclipseWebBrowserAction.run(Unknown Source)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:256)
    at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
    at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:443)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

    !ENTRY org.eclipse.ui 4 0 2008-07-10 08:10:13.676
    !MESSAGE Unable to create editor ID com.genuitec.eclipse.examples.browser.editor: An unexpected exception was thrown.
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.ui.internal.browser.BrowserViewer.getURL(BrowserViewer.java:831)
    at org.eclipse.ui.internal.browser.BrowserViewer.navigate(BrowserViewer.java:614)
    at org.eclipse.ui.internal.browser.BrowserViewer.setURL(BrowserViewer.java:660)
    at org.eclipse.ui.internal.browser.BrowserViewer.setURL(BrowserViewer.java:287)
    at org.eclipse.ui.internal.browser.WebBrowserEditor.createPartControl(WebBrowserEditor.java:80)
    at com.genuitec.eclipse.examples.browser.ExamplesBrowserEditor.createPartControl(ExamplesBrowserEditor.java:159)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:426)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592)
    at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:299)
    at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:179)
    at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
    at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:400)
    at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
    at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
    at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1604)
    at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
    at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
    at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
    at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
    at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
    at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217)
    at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207)
    at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:774)
    at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:673)
    at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:634)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2737)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2651)
    at org.eclipse.ui.internal.WorkbenchPage.access$13(WorkbenchPage.java:2643)
    at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2595)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2590)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2574)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2557)
    at com.genuitec.eclipse.examples.browser.ExamplesBrowserEditor.openDefaultInput(ExamplesBrowserEditor.java:142)
    at com.genuitec.eclipse.examples.actions.OpenExamplesAction.run(OpenExamplesAction.java:62)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:256)
    at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

    !ENTRY org.eclipse.ui 4 0 2008-07-10 08:10:13.724
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.ClassCastException: org.eclipse.ui.internal.ErrorEditorPart
    at com.genuitec.eclipse.examples.actions.OpenExamplesAction.run(OpenExamplesAction.java:62)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:256)
    at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

    #286954

    pmtghome
    Member

    *** Date:
    Thursday, July 10, 2008 8:26:28 AM EDT

    ** System properties:
    OS=Linux
    OS version=2.6.24-19-generic
    Java version=1.5.0_15

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.5.0 GA
    Build id: 6.5.0-GA-20080609

    *** Eclipse details:
    Eclipse SDK

    Version: 3.3.2
    Build id: M20080221-1800

    Eclipse Platform

    Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
    Build id: M20080221-1800

    Eclipse RCP

    Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
    Build id: M20080221-1800

    Eclipse Java Development Tools

    Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
    Build id: M20080221-1800

    Eclipse Plug-in Development Environment

    Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
    Build id: M20080221-1800

    Eclipse Project SDK

    Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
    Build id: M20080221-1800

    Eclipse Graphical Editing Framework

    Version: 3.3.2.v20080129
    Build id: 20080221-1602

    Eclipse startup command=-os
    linux
    -ws
    gtk
    -arch
    x86
    -showsplash
    /opt/eclipse//plugins/org.eclipse.platform_3.3.3.r33x_r20080129/splash.bmp
    -launcher
    /opt/eclipse/eclipse
    -name
    Eclipse
    –launcher.library
    /opt/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.3.R33x_v20080118/eclipse_1023.so
    -startup
    /opt/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
    -clean
    -vm
    /usr/lib/jvm/java-1.5.0-sun-1.5.0.15/jre/bin/../lib/i386/client/libjvm.so

    it didn’t all copy the first time, sorry

    #286965

    pmtghome
    Member

    Another interesting note:
    if I do
    chmod 000 ~/.eclipse/…/configuration/eclipse/plugins/org.eclipse.wst.common.*

    it seems to fix the internal browser problem, I haven’t found out yet what this breaks, but I’m sure it’s something

    #286970

    pmtghome
    Member

    nevermind (ps, how do I delete posts?)

    #286976

    Loyal Water
    Member

    Did you get it to work ?

    #286977

    pmtghome
    Member

    no, I made a post that turned out to be incorrect, but couldn’t figure out how to delete it. I found a set of plugins that, if deleted, fix the error, but obviously it causes other errors, the plugins are org.eclipse.wst.common….

    #287208

    tanis
    Member

    [UPDATED]
    Just read about the post that mentioned ‘just install libstdc++5’ … and it solves this like a champ!!

    [OLD POST]
    have this EXACT issue and am also using Ubuntu 8.04.

    Basically, when I use the -Dlinux.experimental=true … all the graphical designers via MyEclipse cause the XPCOM error to flash up. And… even if I don’t express that environmental variable on future start-ups of eclipse… the Internal Web Browser option is grayed out on the General Preferences from that point on.

    Setting that environment variable makes my eclipse unstable and I have to then re-install the thing.

    Any suggestions?

    #342947

    Rhaseven7h
    Member

    On Ubuntu 13.04 using Eclipse it automagically worked, I was not sure which webkit I was missing, so I installed all that seemed relevant, if someone has pinpointed which it is, please comment,

    Regards,

    Gabriel Medina

    aptitude install libqt4-webkit libqt5webkit5 libqtscript4-webkit libqtwebkit4 libswt-webkit-gtk-3-jni libwebkitgtk-1.0-0 libwebkitgtk-3.0-0
    #342948

    Rhaseven7h
    Member

    On Ubuntu 13.04 using Eclipse it automagically worked, I was not sure which webkit I was missing, so I installed all that seemed relevant, if someone has pinpointed which it is, please comment,

    Regards,

    Gabriel Medina

    aptitude install libqt4-webkit libqt5webkit5 libqtscript4-webkit libqtwebkit4 libswt-webkit-gtk-3-jni libwebkitgtk-1.0-0 libwebkitgtk-3.0-0
Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: Internal Browser problems

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