Tagged: MOZILLA SWTError x86_64
- This topic has 12 replies, 3 voices, and was last updated 6 years, 10 months ago by support-tony.
-
AuthorPosts
-
Sylvain BonnemaisonParticipantHi,
I just update MyEclipse to 2017 CI 9 and the log show this error:org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)] at org.eclipse.swt.SWT.error(SWT.java:4559) at org.eclipse.swt.browser.Mozilla.initMozilla(Mozilla.java:2237) at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:691)
The application is running on Arch Linux x86_64.
How to solve this problem ?
This problem happen with GTK2 configuration only. It work fine with GTK3 but still have problem with graphic item position with this configuration.
Thanks
Sylvain BonnemaisonParticipantAfter downloading XulRunner 1.9.2.19 and adding the following option to myeclipse.ini
-Dorg.eclipse.swt.browser.XULRunnerPath=/opt/xulrunner-1.9.2
the log files shows the following messages
eclipse.buildId=15.0.1.CI-009 java.version=1.8.0_112 java.vendor=Oracle Corporation BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86_64 ... !ENTRY org.eclipse.jface 2 0 2017-12-03 10:21:08.634 !MESSAGE Ignored labelProviderChanged notification because control is diposed. This indicates a potential memory leak. This is only logged once per viewer instance, but similar calls will still be ignored. !STACK 0 java.lang.RuntimeException at org.eclipse.jface.viewers.ContentViewer$1.labelProviderChanged(ContentViewer.java:95) at org.eclipse.jface.viewers.BaseLabelProvider$1.run(BaseLabelProvider.java:72) ... !ENTRY org.eclipse.osgi 4 0 2017-12-03 10:21:08.657 !MESSAGE Application error !STACK 1 org.eclipse.swt.SWTError: XPCOM error 0x80004005 at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:2966) ...
Creating a new workspace works fine. Re-opening the new one generate the same problem.
- This reply was modified 6 years, 11 months ago by Sylvain Bonnemaison.
Sylvain BonnemaisonParticipantI have tested with xulrunner version 1.9.2 (x86), 1.9.2.19 (x86), 2.0 (x86_64), 36.0.4 (x86_64) and 41.0.2 (x86_64) with a small difference in the result :
... !ENTRY org.eclipse.e4.ui.workbench 4 0 2017-12-03 22:12:57.075 !MESSAGE Exception occurred while rendering: org.eclipse.e4.ui.model.application.ui.advanced.impl.PlaceholderImpl@3119fcad (elementId: org.eclipse.ui.views.ProblemView, tags: [], contributorURI: null) (widget: null, renderer: org.eclipse.e4.ui.workbench.renderers.swt.ElementReferenceRenderer@4c14b1bd, toBeRendered: true, onTop: false, visible: true, containerData: null, accessibilityPhrase: null) (closeable: false) !STACK 0 java.lang.IllegalArgumentException: Argument cannot be null at org.eclipse.swt.SWT.error(SWT.java:4514) ... !ENTRY org.eclipse.jface 2 0 2017-12-03 22:12:57.363 !MESSAGE Ignored labelProviderChanged notification because control is diposed. This indicates a potential memory leak. This is only logged once per viewer instance, but similar calls will still be ignored. !STACK 0 java.lang.RuntimeException at org.eclipse.jface.viewers.ContentViewer$1.labelProviderChanged(ContentViewer.java:95) ... !ENTRY org.eclipse.osgi 4 0 2017-12-03 22:12:57.389 !MESSAGE Application error !STACK 1 org.eclipse.swt.SWTError: XPCOM error 0x80004002 at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:2966)
There is not such behavior with Eclipse Oxygen.
- This reply was modified 6 years, 11 months ago by Sylvain Bonnemaison.
support-swapnaModeratorSylvain,
Sorry that you are seeing this issue. Thank you for the detailed info. We could replicate the problem at our end and the dev team is looking into it. We will keep you posted about the fix details.
Thank you for reporting it. Apologies for inconvenience caused.
–Swapna
MyEclipse Support
Sylvain BonnemaisonParticipantAny fix yet to solve the problem ?
I can’t use the IDE since more 10 days.
support-tonyKeymasterSilvain,
Apologies for the delay as we tried to replicate the issue and figure a workaround.
Fortunately, we’ve managed to see the issue with a version of Arch Linux (Anarchy linux), though only when the webkit2gtk package was not installed. Could you check that you have that package installed? If not please install it and check with GTK2.
If you have the package installed and are still seeing the issue, could you please let us know how you are switching MyEclipse to using GTK2? You can either set the environment variable SWT_GTK3=0 before starting MyEclipse:
SWT_GTK3=0 [path to MyEclipse install]/myeclipse
or by adding the following two lines, above the vmargs, to myeclipse.ini:
--launcher.GTK_version 2
Also, if you continue getting the error, please let us know the windows manager/desktop environment you’re using to help us replicate.
Either way, please let us know how you get on.
Sylvain BonnemaisonParticipant“webkit2gtk-2.18.3-3” is already installed on the system.
The configuration is using de vmargs in myeclipse.ini.
The system is running Gnome 3.26.2.
Just after, the last log file content after launching myeclipse twice. There no error and the IDE start to show and then disappear. (It runs with GTK3 with graphic item position problem)
clipse.buildId=15.0.1.CI-009 java.version=1.8.0_112 java.vendor=Oracle Corporation BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86_64 !ENTRY org.eclipse.core.resources 2 10035 2017-12-16 03:00:54.683 !MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes. !ENTRY org.eclipse.ui 2 0 2017-12-16 03:00:56.914 !MESSAGE Warnings while parsing the images from the 'org.eclipse.ui.commandImages' extension point. !SUBENTRY 1 org.eclipse.ui 2 0 2017-12-16 03:00:56.915 !MESSAGE Cannot bind to an undefined command: plug-in='com.genuitec.eclipse.theming.ui', id='com.genuitec.myeclipse.help.darktheme.commandid' !ENTRY org.eclipse.wst.common.project.facet.core 4 0 2017-12-16 03:00:58.720 !MESSAGE Project facet grails.app has not been defined. It is used in plugin com.vmware.vfabric.ide.eclipse.tcserver.core. !ENTRY org.eclipse.e4.ui.workbench 2 0 2017-12-16 03:00:59.417 !MESSAGE Removing part descriptor with the 'com.genuitec.eclipse.modeling.ui.OverviewView' id and the 'JSF Flow Overview' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class. !ENTRY org.eclipse.jface 2 0 2017-12-16 03:00:59.513 !MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation. !SUBENTRY 1 org.eclipse.jface 2 0 2017-12-16 03:00:59.513 !MESSAGE A conflict occurred for CTRL+SHIFT+Z: Binding(CTRL+SHIFT+Z, ParameterizedCommand(Command(org.eclipse.angularjs.ui.navigate.open.angular.element,Open Angular Element, Opens an Angular Element in a JavaScript editor, Category(org.eclipse.ui.category.navigate,Navigate,null,true), org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@5028cec0, ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.ui.contexts.window,,,system) Binding(CTRL+SHIFT+Z, ParameterizedCommand(Command(org.eclipse.ui.edit.redo,Redo, Redo the last operation, Category(org.eclipse.ui.category.edit,Edit,null,true), org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@3a8c7347, ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.ui.contexts.dialogAndWindow,,gtk,system) Binding(CTRL+SHIFT+Z, ParameterizedCommand(Command(org.skyway.core.ui.generate,Generate, Generate with Skyway, Category(org.skyway.core.ui.category.views,Window,null,true), org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@4cf08d08, ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.ui.contexts.window,,,system) !SUBENTRY 1 org.eclipse.jface 2 0 2017-12-16 03:00:59.513 !MESSAGE A conflict occurred for CTRL+SHIFT+V: Binding(CTRL+SHIFT+V, ParameterizedCommand(Command(net.jeeeyul.pdetools.clipboard.pasteHistory,Paste Content in History, , Category(net.jeeeyul.pdetools.category,PDE Tools,null,true), org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@5739e15e, ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.ui.contexts.dialogAndWindow,,,system) Binding(CTRL+SHIFT+V, ParameterizedCommand(Command(org.eclipse.jdt.debug.ui.command.OpenFromClipboard,Open from Clipboard, Opens a Java element or a Java stack trace from clipboard, Category(org.eclipse.ui.category.navigate,Navigate,null,true), org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@41f17bb7, ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.ui.contexts.window,,,system) Binding(CTRL+SHIFT+V, ParameterizedCommand(Command(org.skyway.core.ui.validate,Validate, Run Skyway Validation, Category(org.skyway.core.ui.category.views,Window,null,true), org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@18be3e85, ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.ui.contexts.window,,,system)
support-tonyKeymasterSylvain,
That’s disappointing. I have the same versions of webkit2gtk and gnome but don’t see an issue with GTK 2, although I do see the “no more handles” problem with GTK 3 when trying to shift views around the workbench.
For some eclipse users who’ve seen this, sometimes using a different JDK has solved the issue. As I can’t replicate the problem, I don’t know if that will work in this case but you can try commenting out the -vm and following lines in your myeclipse.ini file, so that the system installed JDK is picked up, and this will replicate what Oxygen is picking up also (you mentioned that you don’t see the issue with Oxygen).
If you still see the issue, could you let us know exactly when the error occurs (that is, what you are doing at the time the error occurs) and attach your myeclipse.ini file to help us replicate your setup. Also, since you don’t see it with Oxygen, could you try with a Neon install, to check if it’s a problem that got fixed in Oxygen.
Something else occurs to me. Your opening post suggests that you were running with MyEclipse CI 8 without a problem. If this is so, you can revert to CI 8 and, hopefully, get up and running. Go to Help->Check for Updates. The resulting dialog should show no updates but will also give you the option of locking to CI 8. Just click the Lock button and then OK, to have the installation revert to CI 8.
Please let us know how you get on and sorry for the continuing problems.
Sylvain BonnemaisonParticipantI still have the same problem by reverting to version CI8. Even using a different JDK.
See attached MyEclipse configuration file.
Sylvain BonnemaisonParticipantHere is the configuration file content:
#ansi (do not remove) -startup plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar --launcher.library plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.400.v20160518-1444 --launcher.GTK_version 2 --launcher.defaultAction openFile -vm /opt/jdk1.8.0_151/bin/java -configuration /opt/myeclipse-2017/configuration -install /home/workspace -vmargs -Xms256m -Xmx1024m -XX:+UseG1GC -XX:+UseStringDeduplication -Dosgi.requiredJavaVersion=1.8 -Dosgi.nls.warnings=ignore -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-41.0.2/ -Dorg.eclipse.swt.browser.UseWebKitGTK=true
support-tonyKeymasterSylvain,
Thanks for those pieces of information.
So, to be clear, are you saying that you didn’t see the problem with CI 8 but after updating to CI 9 you did see the problem, but now, after reverting to CI 8, you still see the problem? Is that right?
You may need to launch MyEclipse once with the -clean flag to ensure the plug-in cache is cleared after reverting to CI 8. You can do this by launching myeclipse from the command line and adding the flag, such as:
./myeclipse -clean
Please also check my previous reply for suggestions about trying eclipse neon and asking for details on when the problem occurs. Additionally, you can try downloading and installing the older 2017 Stable 1.0 release (which can be downloaded from our site), which would give you a cleaner MyEclipse install without the updates (though it is a much older release).
Sylvain BonnemaisonParticipantRunning from the console :
./myeclipse -clean
I get the following error message :org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized. Will retry after the state location is initialized. org.eclipse.m2e.logback.configuration: Logback config file: /home/sbonnema/Workspaces/MyEclipse 2017 CI/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.7.0.20160603-1933.xml SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [bundleresource://1416.fwk1555690610:1/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [bundleresource://1416.fwk1555690610:2/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder] org.eclipse.m2e.logback.configuration: Initializing logback # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x0000000000000000, pid=30486, tid=0x00007f2bd4244700 ...
with the attached error log file.
The IDE start with a new blank workspace.
- This reply was modified 6 years, 11 months ago by Sylvain Bonnemaison.
Attachments:
You must be logged in to view attached files.
support-tonyKeymasterSylvain,
Sorry for the delay in responding (we had some internal technical issues).
It’s disappointing that the clean didn’t help. I’ve now checked with both Gnome and Mate desktop manager in an install of Antergos (a derivative of Arch Linux). I do see the issue with Mate and did get some initial problems with Gnome (though not the problem you see). However, in the case of Mate, using GTK2 and the UseWebKitGTK property did solve the issue after a settings change though the NO_MORE_HANDLES issue did appear when trying to open an internal browser but that didn’t affect further use of the IDE. With Gnome, I didn’t see that issue at all. Installing xulrunner and setting the xulrunner path property did cause much more problems. So, I have the following questions and suggestions:
- Which window manager are you using (for example, Gnome, KDE, Mate)?
- If you aren’t able set the option on the MyEclipse dashboard to prevent its showing up in subsequent launches, add the following line to the com.genuitec.eclipse.dashboard.prefs file, found in the .metadata/.plugins/org.eclipse.core.runtime/.settings folder of your workspace:
com.genuitec.eclipse.dashboard.uidashboard.startup=false
With Mate, it is the attempt to open this view that is causing the NO_MORE_HANDLES issue for me. - Remove the xulrunner path property from your myeclipse.ini file
- Start with a fresh workspace and see if the above settings work.
- If you still see the issue, when does it occur and how does it affect other use of the IDE?
- Which release of MyEclipse were you using before updating to CI 9 and started to see the problem?
Please try to answer all questions, if the suggestions don’t help; they will help us investigate it further. However, this sort of issue is related to underlying problems with the eclipse base, so we may not be able to provide a solution until MyEclipse 2018, which will be based on eclipse Oxygen, which you wrote doesn’t show the problem.
-
AuthorPosts