MyEclipse: Visual editors on x64 Linux

ewinston - Oct 13, 2009 - 01:54 AM
Post subject: Visual editors on x64 Linux
Do the visual editors work on 64bit Linux? I don't think I have ever been able to get those to work but I don't see many other comments about it so I didn't know if it was a configuration issue on my part.

When I try it either hangs and I have to kill the process or I get the following error (on 8.0 M1)

Code:

org.mozilla.xpcom.XPCOMException: The function "createInstanceByContractID" returned an error condition  (0x80004002)
   at org.mozilla.xpcom.internal.XPCOMJavaProxy.callXPCOMMethod(Native Method)
   at org.mozilla.xpcom.internal.XPCOMJavaProxy.invoke(XPCOMJavaProxy.java:143)
   at $Proxy8.createInstanceByContractID(Unknown Source)
   at com.genuitec.eclipse.webdesigner3.util.XPCOMUtil.getSupportedFonts(XPCOMUtil.java:275)
   at com.genuitec.eclipse.webdesigner3.toolbar.FontFaceComboContributionItem.getInitStrings(FontFaceComboContributionItem.java:33)
   at com.genuitec.eclipse.webdesigner3.toolbar.Webdesigner3ComboContributionItem.createControl(Webdesigner3ComboContributionItem.java:89)
   at com.genuitec.eclipse.webdesigner3.toolbar.Webdesigner3ComboContributionItem.fill(Webdesigner3ComboContributionItem.java:167)
   at org.eclipse.jface.action.ToolBarManager.update(ToolBarManager.java:353)
   at org.eclipse.jface.action.ToolBarManager.createControl(ToolBarManager.java:111)
   at org.eclipse.jface.action.ToolBarContributionItem.fill(ToolBarContributionItem.java:192)
   at org.eclipse.jface.action.CoolBarManager.update(CoolBarManager.java:928)
   at com.genuitec.eclipse.webdesigner3.toolbar.EmbeddedToolfolderManager.createToolbars(EmbeddedToolfolderManager.java:416)
   at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createVisualEditor(WebDesignerMultiPageEditor.java:705)
   at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createDesignPage(WebDesignerMultiPageEditor.java:578)
   at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createPages(WebDesignerMultiPageEditor.java:343)
   at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:357)
   at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:662)
   at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)
   at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
   at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:286)
   at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2857)
   at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762)
   at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754)
   at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705)
   at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
   at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701)
   at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685)
   at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:344)
   at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:192)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
   at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
   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:194)
   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:368)
   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:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
   at org.eclipse.equinox.launcher.Main.main(Main.java:1287)


I am using OpenSuse 11.1 with Mozilla 3.5.3 installed and xul-runner versions 1.8.1, 1.9.0 and 1.9.1 installed to test if that was the issue.

Thanks
support-nipun - Oct 20, 2009 - 06:42 PM
Post subject: RE: Visual editors on x64 Linux
Can you set MOZILLA_FIVE_HOME to "" in a script before launching MyEclipse. Does that help?
ewinston - Oct 27, 2009 - 04:08 AM
Post subject: RE: Visual editors on x64 Linux
I tried this and I was still getting the same thing. When I removed all the xulrunners but the one needed for Mozilla 3.5 I get the popup saying that the design view is unavailable because it conflicts with the system browser. The page it points to recommends doing what you just suggested.

Thanks,
Edward
support-nipun - Nov 05, 2009 - 05:46 PM
Post subject: RE: Visual editors on x64 Linux
Edward,
I will ask the dev to look into this and we will try to fix this for the 8.0 or 8.5 release. Sorry for the inconvinience.
adrian.challinor - Apr 10, 2010 - 02:41 PM
Post subject: RE: Visual editors on x64 Linux
This still seems to be an issue with MyEclipse for Spring 8.5.0

Startup command is:


export GDK_NATIVE_WINDOWS=true
export MOZILLA_FIVE_HOME=""
cd "/home/adrian/Genuitec/MyEclipse for Spring 8.5/"
"/home/adrian/Genuitec/MyEclipse for Spring 8.5/myeclipseforspring" -vmargs -Xmx500M -XX:MaxPermSize=128M -Dlinux.experimental=true

Error is:

org.mozilla.xpcom.XPCOMException: The function "createInstanceByContractID" returned an error condition (0x80004002)
at org.mozilla.xpcom.internal.XPCOMJavaProxy.callXPCOMMethod(Native Method)
at org.mozilla.xpcom.internal.XPCOMJavaProxy.invoke(XPCOMJavaProxy.java:143)
at $Proxy9.createInstanceByContractID(Unknown Source)
at com.genuitec.eclipse.webdesigner3.util.XPCOMUtil.getSupportedFonts(XPCOMUtil.java:275)
at com.genuitec.eclipse.webdesigner3.toolbar.FontFaceComboContributionItem.getInitStrings(FontFaceComboContributionItem.java:33)
at com.genuitec.eclipse.webdesigner3.toolbar.Webdesigner3ComboContributionItem.createControl(Webdesigner3ComboContributionItem.java:89)
at com.genuitec.eclipse.webdesigner3.toolbar.Webdesigner3ComboContributionItem.fill(Webdesigner3ComboContributionItem.java:167)
at org.eclipse.jface.action.ToolBarManager.update(ToolBarManager.java:353)
at org.eclipse.jface.action.ToolBarManager.createControl(ToolBarManager.java:111)
at org.eclipse.jface.action.ToolBarContributionItem.fill(ToolBarContributionItem.java:192)
at org.eclipse.jface.action.CoolBarManager.update(CoolBarManager.java:928)
at com.genuitec.eclipse.webdesigner3.toolbar.EmbeddedToolfolderManager.createToolbars(EmbeddedToolfolderManager.java:416)
at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createVisualEditor(WebDesignerMultiPageEditor.java:801)
at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createDesignPage(WebDesignerMultiPageEditor.java:665)
at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createPages(WebDesignerMultiPageEditor.java:405)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:357)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:662)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:271)
at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1417)
at org.eclipse.ui.internal.EditorManager$5.runWithException(EditorManager.java:942)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3468)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3115)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1384)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3468)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3115)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
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:194)
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:368)
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:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
romulusisin - Jun 23, 2010 - 03:29 PM
Post subject:
I get the exact same problem on Open Suse 11.2 64 bit running Myeclipse 8.5 final release. Stack trace given below. Given that this has been an open problem since Oct 2009 are you looking to fix this anytime soon ?

I develop on a linux environment most of the time. My subscription renewal is coming up and myeclipse is of no use to me if the WYSIWYG JSP / HTML editors are non functional.

What is the possibility of including a patch for this for a future milestone release ?

Code:

org.mozilla.xpcom.XPCOMException: The function "createInstanceByContractID" returned an error condition  (0x80004002)
   at org.mozilla.xpcom.internal.XPCOMJavaProxy.callXPCOMMethod(Native Method)
   at org.mozilla.xpcom.internal.XPCOMJavaProxy.invoke(XPCOMJavaProxy.java:143)
   at $Proxy9.createInstanceByContractID(Unknown Source)
   at com.genuitec.eclipse.webdesigner3.util.XPCOMUtil.getSupportedFonts(XPCOMUtil.java:275)
   at com.genuitec.eclipse.webdesigner3.toolbar.FontFaceComboContributionItem.getInitStrings(FontFaceComboContributionItem.java:33)
   at com.genuitec.eclipse.webdesigner3.toolbar.Webdesigner3ComboContributionItem.createControl(Webdesigner3ComboContributionItem.java:89)
   at com.genuitec.eclipse.webdesigner3.toolbar.Webdesigner3ComboContributionItem.fill(Webdesigner3ComboContributionItem.java:167)
   at org.eclipse.jface.action.ToolBarManager.update(ToolBarManager.java:353)
   at org.eclipse.jface.action.ToolBarManager.createControl(ToolBarManager.java:111)
   at org.eclipse.jface.action.ToolBarContributionItem.fill(ToolBarContributionItem.java:192)
   at org.eclipse.jface.action.CoolBarManager.update(CoolBarManager.java:928)
   at com.genuitec.eclipse.webdesigner3.toolbar.EmbeddedToolfolderManager.createToolbars(EmbeddedToolfolderManager.java:416)
   at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createVisualEditor(WebDesignerMultiPageEditor.java:801)
   at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createDesignPage(WebDesignerMultiPageEditor.java:665)
   at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createPages(WebDesignerMultiPageEditor.java:405)
   at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:357)
   at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:662)
   at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)
   at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
   at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:286)
   at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2857)
   at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762)
   at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754)
   at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705)
   at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
   at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701)
   at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685)
   at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2676)
   at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)
   at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)
   at org.eclipse.ui.internal.ide.handlers.OpenResourceHandler.execute(OpenResourceHandler.java:129)
   at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)
   at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
   at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
   at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
   at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:470)
   at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:824)
   at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:880)
   at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:569)
   at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:510)
   at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:125)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
   at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1467)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1175)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1200)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1185)
   at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1212)
   at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:706)
   at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:2837)
   at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:703)
   at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1570)
   at org.eclipse.swt.widgets.Control.windowProc(Control.java:4594)
   at org.eclipse.swt.widgets.Display.windowProc(Display.java:4191)
   at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
   at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:7603)
   at org.eclipse.swt.widgets.Display.eventProc(Display.java:1185)
   at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
   at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1860)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3110)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
   at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
   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:194)
   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:368)
   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:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
   at org.eclipse.equinox.launcher.Main.main(Main.java:1287)


romulusisin - Jun 25, 2010 - 06:04 PM
Post subject:
I would like a response to this query please
support-joy - Jun 30, 2010 - 11:08 AM
Post subject:
romulusisin, adrian.challinor,

Can you answer few queries for me to get to the root cause?
1. Can you copy and paste your installation details? Open MyEclipse IDE, from menu options click on MyEclipse > Installation Summary > Installation Details.
2. How did you install MyEclipse? Meaning all-in-one installer / pulse / archived update site on top of eclipse classic?
3. Click on Help > About MyEclipse Enterprise Workbench > Installation Details > Configuration, look under *** System properties and copy and paste com.genuitec.pulse.client.handshake.id here?
4. Can you check Window > Preferences > General > Web Browser and let me know what is the default web-browser selected?
5. Can you elaborate in detail the steps that resulted in the above issue. I would appreciate if you can attach screenshots. You can either [pm]/send a mail to support@myeclipseide.com with reference to this weblink. Please include ATTN:Joy in the subject, this will help in quick tracing.
Sorry for the inconvenience.
adrian.challinor - Jul 18, 2010 - 04:18 PM
Post subject:
Installation Details:

*** Date:
Sunday, 18 July 2010 16:02:10 o'clock BST

** System properties:
OS=Linux


Other plugis loaded: log4e
OS version=2.6.32
Java version=1.6.0_13


*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 8.6M1
Build id: 8.6M1-20100525


*** Eclipse details:
MyEclipse for Spring





Version: 8.6.0








Eclipse startup command=-os
linux
-ws
gtk
-arch
x86_64
-showsplash
-launcher
/usr/share/MyEclipse for Spring 8.6 M2/myeclipseforspring
-name
Myeclipseforspring
--launcher.library
/usr/share/MyEclipse for Spring 8.6 M2/../Genuitec/Common/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.200.v20090519/eclipse_1206.so
-startup
/usr/share/MyEclipse for Spring 8.6 M2/../Genuitec/Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-exitdata
9a8019
-install
/usr/share/MyEclipse for Spring 8.6 M2
-configuration
/usr/share/MyEclipse for Spring 8.6 M2/configuration
-vm
/usr/share/Genuitec/Common/binary/com.sun.java.jdk.linux.x86_64_1.6.0.013/bin/java


Installed from All-In_One installer myeclipseforspring-8.6M2-linux-gtk-x86_64.tgz

com.genuitec.pulse.client.handshake.id=f14b0ef6-e563-4dad-9a16-6a36cf3481f2

WebBrowser - Use Internal Webbrowser.


Detailed description: Following the ME4S tutorials to scaffold a new application. Having created the app, I want to change some of the JSP pages. Unable to open JSP. Changed to Default systen web browser, no difference.

System configuration:
Ubuntu 10.4
Linux 2.6.32-23
AMD 64bit processpr (Phenom II X4 965_ 4 GB Memory

ME4S loaded in /usr/share (which is an SSD and hence fast). Startup script is:
adrian@bast:~$ cat bin/myeclipse
#!/bin/sh
LOCN="/usr/share/MyEclipse for Spring 8.6 M2/"

export GDK_NATIVE_WINDOWS=true
export MOZILLA_FIVE_HOME=""
cd "$LOCN"
"${LOCN}myeclipseforspring" \
-vmargs -Xms256m -Xmx1024M -XX:MaxPermSize=256M -XX:ReservedCodeCacheSize=64m \
-Dlinux.experimental=true
adrian.challinor - Jul 18, 2010 - 04:29 PM
Post subject:
Late breaking news - Changing the editor via right click, Open With... and selecting "MyEclipse Visual JSF Dsigner" as opposed to "MyEclipse Visual JSP Designer" seems to work better.

Email with screenshots on its way
support-joy - Jul 19, 2010 - 09:50 AM
Post subject:
Thank you Adrian. I acknowledge receipt of your mail with screenshots. I shall escalate this issue to dev team members. In the interim, I would request you to use MyEclipse Visual JSF Designer. I shall get back to you, whenever I have more on this.

Sorry for the inconvenience.
support-joy - Jul 21, 2010 - 01:57 PM
Post subject:
All,

We are aware of this problem. And this will be fixed in MyEclipse 9.
Sorry for the inconvenience.
lufer - Aug 26, 2010 - 04:21 PM
Post subject:
That's great news!
Let's wait MyEclipse 9 and check it out.
rprimintela - Aug 29, 2011 - 08:27 PM
Post subject: Same problem
I just install the 9.1.0 version and have the same problem
support-swapna - Aug 30, 2011 - 06:06 AM
Post subject:
rprimintela ,

Sorry that you are seeing this issue with MyEclipse.

1) Can you add the -Dlinux.experimental=true to the end of the myeclipse.ini file in your MyEclipse installation folder? Make sure it is after the -vmargs line.

2) If the above workaround doesn't work for you, can you share your OS and version details ?
rprimintela - Aug 30, 2011 - 03:10 PM
Post subject: Doen't work yet
Already set the variable -Dlinux.experimental=true

Here my SO spec:

Linux 2.6.40.3-0.fc15.x86_64 #1 SMP Tue Aug 16 04:10:59 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

Fedora release 15 (Lovelock)
support-tony - Aug 31, 2011 - 06:12 AM
Post subject:
rprimintela,

Did you place the -Dlinux.experimental=true setting after the -vmargs line in myeclipse.ini?

If you have included the setting in the right place but still don't get the visual editors, do you get some error dialog? This is what should happen if the experimental flag is set but there is some other incompatibility. The dialog will have a link to further information that may help.

I tried this on Fedora 15 but only have a 32 bit installation, at the moment. It worked fine. However, I had installed xulrunner 1.9.1 previously. Could you install a version of xulrunner that is earlier than 2.0? This is often the problem.

As you can see from the need to specify linux.experimental=true, the tools are still experimental. This is due to the fact we have never been able to achieve a good level of stability with XULRunner on Linux due to technical reasons with the XULRunner builds and constantly changing Linux distributions with corresponding conflicts.

I'm sorry that this has remained in experimental mode for so long; going forward we are looking for alternative solutions as Mozilla has ended support for embedded XULRunner, which is what we use in our Visual Designers.
rprimintela - Aug 31, 2011 - 02:47 PM
Post subject: Same problem
Here is myeclipseforspring.ini
Code:

#ansi (do not remove)
#ansi (do not remove)
-startup
../Common/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
../Common/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.1.R36x_v20100810
-install
/home/rprimintela/Programas/MyEclipseForSpring/MyEclipse for Spring 9
-vm
/home/rprimintela/Programas/MyEclipseForSpring/Common/binary/com.sun.java.jdk.linux.x86_64_1.6.0.013/bin/java
-configuration
/home/rprimintela/Programas/MyEclipseForSpring/MyEclipse for Spring 9/configuration
-nl
en_US
-vmargs
-Xmx768m
-XX:MaxPermSize=384m
-XX:ReservedCodeCacheSize=64m
-Dlinux.experimental=true
 


The xulrunner version that ask me to install is very old, now I have this
xulrunner-6.0-2.fc15.x86_64

Can you help me with commands to downgrade?
support-tony - Sep 01, 2011 - 07:52 AM
Post subject:
rprimintela,

I managed to get this working with Fedora 15 64 bit. There are probably other ways to do this but this is what I did:



Let me know if this works for you.
rprimintela - Sep 01, 2011 - 02:47 PM
Post subject: Sorry still dont work
Sorry Tony, not working. I pass you my stacktrace:
Code:

!ENTRY org.eclipse.osgi 2 1 2011-09-01 09:36:22.771
!MESSAGE NLS unused message: Unnecessary_Semicolon_ERROR in: org.eclipse.wst.html.core.internal.HTMLCorePluginResources

!ENTRY org.eclipse.osgi 2 1 2011-09-01 09:36:22.772
!MESSAGE NLS missing message: Obsolete_attribute_name___ERROR_ in: org.eclipse.wst.html.core.internal.HTMLCorePluginResources

!ENTRY org.eclipse.ui 4 0 2011-09-01 09:40:48.581
!MESSAGE Unable to create editor ID com.genuitec.eclipse.webdesigner3.editors.jsp: The function "createInstanceByContractID" returned an error condition  (0x80004002)
!STACK 0
org.mozilla.xpcom.XPCOMException: The function "createInstanceByContractID" returned an error condition  (0x80004002)
   at org.mozilla.xpcom.internal.XPCOMJavaProxy.callXPCOMMethod(Native Method)
   at org.mozilla.xpcom.internal.XPCOMJavaProxy.invoke(XPCOMJavaProxy.java:143)
   at $Proxy10.createInstanceByContractID(Unknown Source)
   at com.genuitec.eclipse.webdesigner3.util.XPCOMUtil.getSupportedFonts(XPCOMUtil.java:275)
   at com.genuitec.eclipse.webdesigner3.toolbar.FontFaceComboContributionItem.getInitStrings(FontFaceComboContributionItem.java:33)
   at com.genuitec.eclipse.webdesigner3.toolbar.Webdesigner3ComboContributionItem.createControl(Webdesigner3ComboContributionItem.java:89)
   at com.genuitec.eclipse.webdesigner3.toolbar.Webdesigner3ComboContributionItem.fill(Webdesigner3ComboContributionItem.java:167)
   at org.eclipse.jface.action.ToolBarManager.update(ToolBarManager.java:353)
   at org.eclipse.jface.action.ToolBarManager.createControl(ToolBarManager.java:111)
   at org.eclipse.jface.action.ToolBarContributionItem.fill(ToolBarContributionItem.java:192)
   at org.eclipse.jface.action.CoolBarManager.update(CoolBarManager.java:930)
   at com.genuitec.eclipse.webdesigner3.toolbar.EmbeddedToolfolderManager.createToolbars(EmbeddedToolfolderManager.java:424)
   at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createVisualEditor(WebDesignerMultiPageEditor.java:830)
   at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createDesignPage(WebDesignerMultiPageEditor.java:676)
   at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createPages(WebDesignerMultiPageEditor.java:416)
   at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:348)
   at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)
   at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
   at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
   at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
   at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
   at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
   at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
   at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
   at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1254)
   at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1207)
   at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1606)
   at org.eclipse.ui.internal.PartStack.add(PartStack.java:497)
   at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
   at org.eclipse.ui.internal.PartStack.add(PartStack.java:483)
   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:225)
   at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
   at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:778)
   at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:677)
   at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:638)
   at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2860)
   at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2768)
   at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2760)
   at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2711)
   at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
   at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2707)
   at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2691)
   at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2682)
   at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)
   at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)
   at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:365)
   at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:168)
   at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:229)
   at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:208)
   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.navigator.OpenAndExpand.run(OpenAndExpand.java:49)
   at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:221)
   at org.eclipse.ui.navigator.CommonNavigatorManager$3.open(CommonNavigatorManager.java:185)
   at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)
   at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:845)
   at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
   at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
   at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
   at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:843)
   at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1131)
   at org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:462)
   at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1235)
   at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:264)
   at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:258)
   at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:298)
   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:3540)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
   at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
   at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
   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:369)
   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:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
   at org.eclipse.equinox.launcher.Main.main(Main.java:1383)


And here my -ini file


Code:

#ansi (do not remove)
#ansi (do not remove)
-startup
../Common/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
../Common/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.1.R36x_v20100810
-install
/home/rprimintela/Programas/MyEclipseForSpring/MyEclipseForSpring9
-vm
/home/rprimintela/Programas/MyEclipseForSpring/Common/binary/com.sun.java.jdk.linux.x86_64_1.6.0.013/bin/java
-configuration
/home/rprimintela/Programas/MyEclipseForSpring/MyEclipseForSpring9/configuration
-nl
en_US
-vmargs
-Xmx768m
-XX:MaxPermSize=384m
-XX:ReservedCodeCacheSize=64m
-Dlinux.experimental=true
-Dorg.eclipse.swt.browser.XULRunnerPath=/home/rprimintela/Programas/MyEclipseForSpring/xulrunner

support-tony - Sep 02, 2011 - 07:07 AM
Post subject:
rprimintela,

Sorry. I thought it was working because I tried the visual JSF designer and that works fine. However, after your post, the other visual designers that I try all show the same error as you posted.

The good news is that you should be able to use the MyEclipse Visual JSF Designer on jsp, jsf and xhtml files.

The bad news is that the code in all the visual designers is experimental, as I mentioned above, and can't be made to work on all systems, especially the newer ones.

We do intend to change the implementation of the visual designers to avoid using xulrunner but can't commit to a release date, at the moment. In the meantime, you can use the visual JSF designer and the other non-visual editors. We'll keep trying to find a temporary solution for some systems that users have and will post when we find any.
All times are GMT - 6 Hours
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits