We have a RCP eclipse plugin based UI console developed in Eclipse Release 4.5.1 (Mars.1) with Java 1.8. We are porting from Windows to Linux x86_64 using Eclipse Release 4.5.2 (Mars.2) with Java 1.8.
When we try to launch the application, the application crashes after display of splash screen with a pop-up saying that a log is created. Please find below a snippet of log file:
!ENTRY org.eclipse.e4.ui.swt.gtk 2 0 2016-06-06 10:28:58.603
!MESSAGE Could not resolve module: org.eclipse.e4.ui.swt.gtk [98]
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.css.swt.theme; bundle-version="0.10.0"
!ENTRY org.eclipse.core.net.linux.x86_64 2 0 2016-06-06 10:28:58.603
!MESSAGE Could not resolve module: org.eclipse.core.net.linux.x86_64 [100]
Unresolved requirement: Fragment-Host: org.eclipse.core.net; bundle-version="1.1.0"
!ENTRY org.eclipse.swt.gtk.linux.x86_64 2 0 2016-06-06 10:28:58.603
!MESSAGE Could not resolve module: org.eclipse.swt.gtk.linux.x86_64 [99]
Unresolved requirement: Fragment-Host: org.eclipse.swt; bundle-version="[3.0.0,4.0.0)"
!ENTRY org.eclipse.core.filesystem.linux.x86_64 2 0 2016-06-06 10:28:58.603
!MESSAGE Could not resolve module: org.eclipse.core.filesystem.linux.x86_64 [97]
Unresolved requirement: Fragment-Host: org.eclipse.core.filesystem; bundle-version="[1.3.0,2.0.0)"
We're not sure how to proceed as the dates on the plugins show fragments that were created earlier, later, or the same day as the host bundle.
Unresolved requirement: org.eclipse.swt_3.104.2.v20160212-1350.jar
Could not resolve module: org.eclipse.swt.gtk.linux.x86_64_3.104.2.v20160212-1350.jar
Unresolved requirement: org.eclipse.core.net_1.2.300.v20141118-1725.jar
Could not resolve module: org.eclipse.core.net.linux.x86_64_1.1.100.v20140124-2013.jar
Unresolved requirement: org.eclipse.e4.ui.css.swt.theme_0.10.0.v20150422-0725.jar
Could not resolve module: org.eclipse.e4.ui.swt.gtk_1.0.1.v20150708-1529.jar
Unresolved requirement: org.eclipse.core.filesystem_1.5.0.v20150725-1910.jar
Could not resolve module: org.eclipse.core.filesystem.linux.x86_64_1.2.200.v20140124-1940
Related
I am not able to open eclipse downloaded on a remote desktop running on Windows server 2012 R2 standard edition. How do I solve this issue?
Here is what I have tried:
Deleted configuration/.log file
Deleted .fileTable.1, .fileTable.2, .fileTableLock in configuration/org.eclipse.osgi/.manager
Deleted framework.info.1 in configuration/org.eclipse.osgi
I am not at liberty to restart the shared server.
This is in my .eclipseproduct:
name=Eclipse Platform
id=org.eclipse.platform
version=4.6.3
And here is the beginning of the log file:
!ENTRY org.eclipse.equinox.ds 2 0 2018-02-16 10:28:57.812
!MESSAGE [SCR] Enabling components of bundle org.eclipse.ui.trace did not complete in 30000 ms
!ENTRY org.eclipse.core.runtime 4 0 2018-02-16 10:29:02.855
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Unable to acquire the state change lock for the module: osgi.identity; osgi.identity="org.eclipse.core.runtime"; type="osgi.bundle"; version:Version="3.12.0.v20160606-1342"; singleton:="true" [id=98] STARTED [STARTED]
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:337)
at org.eclipse.osgi.container.Module.start(Module.java:401)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1600)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Caused by: java.util.concurrent.TimeoutException: Timeout after waiting 5 seconds to acquire the lock.
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)
... 8 more
Root exception:
java.util.concurrent.TimeoutException: Timeout after waiting 5 seconds to acquire the lock.
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)
at org.eclipse.osgi.container.Module.start(Module.java:401)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1600)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
I know that this issue is old, but still wanted to add my 2 cents to this as it is still un answered.
Go to the location where you have installed Eclipse.
You should find a configuration folder.
Just search for all ".fileTableLock" files in that directory and its sub directories and delete those files.
You should be able to restart your IDE.
I tried this solution with myeclipse and word¿ks, specifically I tried this:
backup on a zip all your files from this folder
delete the files
the folder is
\MyEclipse 2017 CI\configuration\org.eclipse.osgi.manager
restart myeclipse
I am running the new Version of AnypointStudio for win 64bit-5.1.0-201503171252 on a Windows 8.1 with Java 8.
If I click on a Element in the flow, I will see only:
.
I check the Eclipse Logfile (AnypointStudio\workspace\.metadata\.log) and find this error:
!ENTRY org.eclipse.e4.ui.workbench 4 2 2015-04-09 19:42:58.236
!MESSAGE Problems occurred when invoking code from plug-in: org.eclipse.e4.ui.workbench".
!STACK 0
java.lang.NoClassDefFoundError: org/mule/tooling/apikit/common/metadata/resolver/APIkitRouterInvokerMetadataResolver$1$1
at org.mule.tooling.apikit.common.metadata.resolver.APIkitRouterInvokerMetadataResolver$1.call(APIkitRouterInvokerMetadataResolver.java:65)
at org.mule.tooling.apikit.common.metadata.resolver.APIkitRouterInvokerMetadataResolver$1.call(APIkitRouterInvokerMetadataResolver.java:1)
at org.mule.tooling.utils.SilentRunner.run(SilentRunner.java:16)
I try this on different Workstation with the same error.
I search the missing class and found this file in the plugin folder:
AnypointStudio-for-win-64bit-5.1.0-201503171252\AnypointStudio\plugins\org.mule.tooling.apikit.common_1.6.1.201503121950\org\mule\tooling\apikit\common\metadata\resolver\APIkitRouterInvokerMetadataResolver$1$1.class
have you tried removing the older APIKit plugin and only installing the latest? It could be a conflict between the different versions.
HTH,
Eva
I'm trying to setup my eclipse plugin development target and receive the following error multiple times:
!ENTRY org.eclipse.e4.ui.css.swt 4 0 2015-01-30 15:15:06.879
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.e4.ui.css.swt [955]
Unresolved requirement: Require-Bundle: org.eclipse.e4.ui.css.core; bundle-version="0.9.0"
-> Bundle-SymbolicName: org.eclipse.e4.ui.css.core; bundle-version="0.10.100.v20140424-2042"; singleton:="true"
org.eclipse.e4.ui.css.core [1134]
Unresolved requirement: Require-Bundle: org.apache.batik.css; bundle-version="1.7.0"
-> Bundle-SymbolicName: org.apache.batik.css; bundle-version="1.7.0.v201011041433"
org.apache.batik.css [1177]
Unresolved requirement: Import-Package: org.w3c.dom.events; version="[3.0.0,4.0.0)"
Does this mean that none of these plugins can be resolved, or just not the last one org.w3c.dom.events or is this a result from the mismatch of the bundle versions of org.eclipse.e4.ui.css.core?
for JMC 8 The minimum JDK requirement is version=8, for JMC 8.1 The minimum JDK requirement is version=11
you are facing this issue because you are trying to open JMC 8.1 with JDK 8. Install JMC version 8 then your issue will resolve.
It is just org.w3c.dom.events that can't be resolved.
You should have a org.w3c.dom.events plugin.
If you are setting up a target platform for plugin development the easiest thing to use is everything in the 'Eclipse SDK' download form http://download.eclipse.org/eclipse/downloads/
I faced the same problem. It turned out, I was missing the org.w3c.dom.events plugin in my dependencies in my product file or launch configuration.
I had this issue despite the module being present. I found that it was a caching problem in Windows.
I deleted the contents of: C:/users/UserName/.eclipse
Afterwards, Eclipse started fine.
I have installed Fuse IDE 7.1.60 (http://repo.fusesource.com/ide/) as a plugin to Eclipse Kepler (clean installation).
My OS is Windows 7 (64bit) and I'm having Oracle Java 1.7 JDK installed into a path with no whitespaces and JAVA_HOME set. Eclipse recognizes the JDK.
Unfortunately, in the "File|New" menu there is no "Fuse Project" option and neither in the "Window|Preferences".
I would be very thankful for hints, which could cause this behaviour!
There are only a few messages in the eclipse log:
!ENTRY org.eclipse.ui 2 2 2013-08-30 17:06:33.091
!MESSAGE Invalid preference category path: org.fusesource.ide.branding.preferences.root (bundle: org.fusesource.ide.camel.editor, page: org.fusesource.ide.camel.editor.preferences.FusePreferencePage)
!ENTRY org.eclipse.ui 2 2 2013-08-30 17:06:33.096
!MESSAGE Invalid preference category path: org.fusesource.ide.branding.preferences.root (bundle: org.fusesource.ide.camel.editor, page: org.fusesource.ide.camel.editor.preferences.FuseColorPreferencePage)
!ENTRY org.eclipse.ui 2 2 2013-08-30 17:06:33.097
!MESSAGE Invalid preference category path: org.fusesource.ide.branding.preferences.root (bundle: org.fusesource.ide.deployment, page: org.fusesource.ide.preferences.deployment.page)
!ENTRY org.eclipse.ui 2 2 2013-08-30 17:06:33.097
!MESSAGE Invalid preference category path: org.fusesource.ide.branding.preferences.root (bundle: org.fusesource.ide.jvmmonitor.ui, page: org.fusesource.ide.jvmmonitor.ui.JavaMonitorPreferencePage)
Fuse IDE 7.1. does not work with Eclipse Kepler. It only works with Eclipse 3.x. The Fuse IDE 6.0 (From JBoss) works with Eclipse 4.0. And the upcoming JBoss Fuse IDE 6.1 is likely to work with latest Eclipse 4.x version when its released.
You can see the Fuse IDE 7.1 documentation here: https://access.redhat.com/site/documentation/Fuse_IDE/
Installed Eclipse and the ADT package, 2.3 SDK etc, but get thrown a whole mess of errors on startup and I need some guidance, my searches haven't found the solution I'm looking for, just single errors as opposed to the entire stack I'm getting.
Could not create the view: org.eclipse.wst.server.ui.ServersView
Could not create the view: org.eclipse.datatools.connectivity.DataSourceExplorerNavigator
!ENTRY org.eclipse.ui 4 4 2013-06-26 09:45:18.955
!MESSAGE Conflicting handlers for org.eclipse.jdt.ui.edit.text.java.open.editor: {ActionHandler(org.eclipse.jdt.ui.actions.OpenAction#5a1755b3)} vs {ActionHandler(org.eclipse.jdt.ui.actions.OpenAction#31fb88fa)}
!ENTRY org.eclipse.ui 4 4 2013-06-26 09:45:18.957
!MESSAGE Conflicting handlers for org.eclipse.ui.edit.cut: {ActionHandler(org.eclipse.ui.actions.TextActionHandler$CutActionHandler#6e9b8445)} vs {ActionHandler(org.eclipse.ui.actions.TextActionHandler$CutActionHandler#240906be)}
!ENTRY org.eclipse.ui 4 4 2013-06-26 09:45:18.959
!MESSAGE Conflicting handlers for org.eclipse.ui.edit.copy: {ActionHandler(org.eclipse.ui.actions.TextActionHandler$CopyActionHandler#493ad9ad)} vs {ActionHandler(org.eclipse.ui.actions.TextActionHandler$CopyActionHandler#36a9126a)}
!ENTRY org.eclipse.ui 4 4 2013-06-26 09:45:18.961
!MESSAGE Conflicting handlers for org.eclipse.ui.edit.paste: {ActionHandler(org.eclipse.ui.actions.TextActionHandler$PasteActionHandler#c31132)} vs {ActionHandler(org.eclipse.ui.actions.TextActionHandler$PasteActionHandler#69dea02)}
**(these go on and on and on)**
!ENTRY org.eclipse.jface 4 0 2013-06-26 09:45:18.345
!MESSAGE Unable to resolve plug-in "platform:/plugin/org.eclipse.datatools.connectivity.ui.dse/icons/full/cview16/enterprise_explorer.gif".
!STACK 0
java.io.IOException: Unable to resolve plug-in "platform:/plugin/org.eclipse.datatools.connectivity.ui.dse/icons/full/cview16/enterprise_explorer.gif".
at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.parse(PlatformURLPluginConnection.java:64)
at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.resolve(PlatformURLPluginConnection.java:75)
at org.eclipse.core.internal.boot.PlatformURLHandler.openConnection(PlatformURLHandler.java:67)
at org.eclipse.osgi.framework.internal.protocol.URLStreamHandlerProxy.openConnection(URLStreamHandlerProxy.java:112)
at java.net.URL.openConnection(Unknown Source)
at org.eclipse.core.internal.runtime.PlatformURLConverter.toFileURL(PlatformURLConverter.java:33)
**As do these**
I am a complete noob so go easy, I've followed all the install steps I've found and yet to get it working, and can't figure it out on my lonesome.
EDIT:
Reinstalled all of Java. I'm still getting the Conflicting Handlers errors, and have this up permanently "activity_main.xml will refresh automatically once the process is finished."
This is because you have it pointing at a workspace that has projects in it that were created with an old version of Eclipse. Change the workspace and it should work.