After installing JBoss Tools and restarting Eclipse IDE, I get following exception:
An error has occured. See the log file /home/abc/workspace/.metadata/.log
Eclipse does not start anymore. Can anybody help me, to fix this problem?
My setup:
Eclipse Version: Neon 2
OS: Fedora 25
JBoss Tools Update Site: https://download.jboss.org/jbosstools/updates/stable/
Log File:
!SESSION Wed Mar 22 21:41:43 CET 2017 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2017-03-22 21:41:43.812
!MESSAGE Could not find extension: org.eclipse.wst.jsdt.nashorn.extension
!SESSION 2017-03-22 21:41:43.742 -----------------------------------------------
eclipse.buildId=4.6.2.v20170109-1424
java.version=1.8.0_121
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_CH
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY org.eclipse.osgi 4 0 2017-03-22 21:41:44.473
!MESSAGE Bundle org.eclipse.wst.jsdt.nashorn.extension not found.
!ENTRY org.jboss.tools.vpe.cordovasim.eclipse 4 0 2017-03-22 21:41:45.447
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.jboss.tools.vpe.cordovasim.eclipse [1051]
Unresolved requirement: Require-Bundle: org.jboss.tools.vpe.cordovasim; bundle-version="3.5.0"
-> Bundle-SymbolicName: org.jboss.tools.vpe.cordovasim; bundle-version="3.5.1.Final-v20140303-0018-B169"
org.jboss.tools.vpe.cordovasim [1050]
No resolution report for the bundle. Bundle was not resolved because of a uses contraint violation.
org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource org.jboss.tools.vpe.cordovasim [osgi.identity; type="osgi.bundle"; version:Version="3.5.1.Final-v20140303-0018-B169"; osgi.identity="org.jboss.tools.vpe.cordovasim"] because it is exposed to package 'org.eclipse.jetty.continuation' from resources org.eclipse.jetty.continuation [osgi.identity; type="osgi.bundle"; version:Version="9.4.0.M0"; osgi.identity="org.eclipse.jetty.continuation"] and org.eclipse.jetty.continuation [osgi.identity; type="osgi.bundle"; version:Version="8.1.14.v20131031"; osgi.identity="org.eclipse.jetty.continuation"] via two dependency chains.
Chain 1:
org.jboss.tools.vpe.cordovasim [osgi.identity; type="osgi.bundle"; version:Version="3.5.1.Final-v20140303-0018-B169"; osgi.identity="org.jboss.tools.vpe.cordovasim"]
require: (&(osgi.wiring.bundle=org.eclipse.jetty.continuation)(bundle-version>=8.1.3))
|
provide: osgi.wiring.bundle: org.eclipse.jetty.continuation
org.eclipse.jetty.continuation [osgi.identity; type="osgi.bundle"; version:Version="9.4.0.M0"; osgi.identity="org.eclipse.jetty.continuation"]
Chain 2:
org.jboss.tools.vpe.cordovasim [osgi.identity; type="osgi.bundle"; version:Version="3.5.1.Final-v20140303-0018-B169"; osgi.identity="org.jboss.tools.vpe.cordovasim"]
require: (&(osgi.wiring.bundle=org.eclipse.jetty.servlets)(bundle-version>=8.1.3))
|
provide: osgi.wiring.bundle; bundle-version:Version="8.1.10.v20130312"; osgi.wiring.bundle="org.eclipse.jetty.servlets"
org.eclipse.jetty.servlets [osgi.identity; type="osgi.bundle"; version:Version="8.1.10.v20130312"; osgi.identity="org.eclipse.jetty.servlets"]
import: (&(osgi.wiring.package=org.eclipse.jetty.server)(&(version>=8.1.0)(!(version>=9.0.0))))
|
export: osgi.wiring.package=org.eclipse.jetty.server; uses:=org.eclipse.jetty.continuation
org.eclipse.jetty.server [osgi.identity; type="osgi.bundle"; version:Version="8.1.14.v20131031"; osgi.identity="org.eclipse.jetty.server"]
import: (&(osgi.wiring.package=org.eclipse.jetty.continuation)(&(version>=8.1.0)(!(version>=9.0.0))))
|
export: osgi.wiring.package: org.eclipse.jetty.continuation
org.eclipse.jetty.continuation [osgi.identity; type="osgi.bundle"; version:Version="8.1.14.v20131031"; osgi.identity="org.eclipse.jetty.continuation"]
at org.eclipse.osgi.container.Module.start(Module.java:444)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1599)
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)
!ENTRY org.eclipse.ui 2 0 2017-03-22 21:41:47.664
!MESSAGE Warnings while parsing the commands from the 'org.eclipse.ui.commands' and 'org.eclipse.ui.actionDefinitions' extension points.
!SUBENTRY 1 org.eclipse.ui 2 0 2017-03-22 21:41:47.664
!MESSAGE Commands should really have a category: plug-in='net.sf.eclipsecs.ui', id='CheckstylePlugin.PurgeCaches', categoryId='net.sf.eclipsecs'
!ENTRY org.eclipse.ui 2 0 2017-03-22 21:41:48.283
!MESSAGE Warnings while parsing the commands from the 'org.eclipse.ui.commands' and 'org.eclipse.ui.actionDefinitions' extension points.
!SUBENTRY 1 org.eclipse.ui 2 0 2017-03-22 21:41:48.283
!MESSAGE Commands should really have a category: plug-in='net.sf.eclipsecs.ui', id='CheckstylePlugin.PurgeCaches', categoryId='net.sf.eclipsecs'
!ENTRY org.jboss.tools.xulrunner.initializer 2 0 2017-03-22 21:41:50.274
!MESSAGE Could not resolve module: org.jboss.tools.xulrunner.initializer [1068]
Unresolved requirement: Fragment-Host: org.eclipse.swt
Unresolved requirement: Fragment-Host: org.eclipse.swt
!ENTRY org.jboss.tools.vpe.cordovasim.eclipse 2 0 2017-03-22 21:41:50.281
!MESSAGE Could not resolve module: org.jboss.tools.vpe.cordovasim.eclipse [1051]
Unresolved requirement: Require-Bundle: org.jboss.tools.vpe.cordovasim; bundle-version="3.5.0"
-> Bundle-SymbolicName: org.jboss.tools.vpe.cordovasim; bundle-version="3.5.1.Final-v20140303-0018-B169"
org.jboss.tools.vpe.cordovasim [1050]
Bundle was not resolved because of a uses contraint violation.
org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource org.jboss.tools.vpe.cordovasim [osgi.identity; type="osgi.bundle"; version:Version="3.5.1.Final-v20140303-0018-B169"; osgi.identity="org.jboss.tools.vpe.cordovasim"] because it is exposed to package 'org.eclipse.jetty.continuation' from resources org.eclipse.jetty.continuation [osgi.identity; type="osgi.bundle"; version:Version="9.4.0.M0"; osgi.identity="org.eclipse.jetty.continuation"] and org.eclipse.jetty.continuation [osgi.identity; type="osgi.bundle"; version:Version="8.1.14.v20131031"; osgi.identity="org.eclipse.jetty.continuation"] via two dependency chains.
Chain 1:
org.jboss.tools.vpe.cordovasim [osgi.identity; type="osgi.bundle"; version:Version="3.5.1.Final-v20140303-0018-B169"; osgi.identity="org.jboss.tools.vpe.cordovasim"]
require: (&(osgi.wiring.bundle=org.eclipse.jetty.continuation)(bundle-version>=8.1.3))
|
provide: osgi.wiring.bundle: org.eclipse.jetty.continuation
org.eclipse.jetty.continuation [osgi.identity; type="osgi.bundle"; version:Version="9.4.0.M0"; osgi.identity="org.eclipse.jetty.continuation"]
Chain 2:
org.jboss.tools.vpe.cordovasim [osgi.identity; type="osgi.bundle"; version:Version="3.5.1.Final-v20140303-0018-B169"; osgi.identity="org.jboss.tools.vpe.cordovasim"]
require: (&(osgi.wiring.bundle=org.eclipse.jetty.servlets)(bundle-version>=8.1.3))
|
provide: osgi.wiring.bundle; bundle-version:Version="8.1.10.v20130312"; osgi.wiring.bundle="org.eclipse.jetty.servlets"
org.eclipse.jetty.servlets [osgi.identity; type="osgi.bundle"; version:Version="8.1.10.v20130312"; osgi.identity="org.eclipse.jetty.servlets"]
import: (&(osgi.wiring.package=org.eclipse.jetty.server)(&(version>=8.1.0)(!(version>=9.0.0))))
|
export: osgi.wiring.package=org.eclipse.jetty.server; uses:=org.eclipse.jetty.continuation
org.eclipse.jetty.server [osgi.identity; type="osgi.bundle"; version:Version="8.1.14.v20131031"; osgi.identity="org.eclipse.jetty.server"]
import: (&(osgi.wiring.package=org.eclipse.jetty.continuation)(&(version>=8.1.0)(!(version>=9.0.0))))
|
export: osgi.wiring.package: org.eclipse.jetty.continuation
org.eclipse.jetty.continuation [osgi.identity; type="osgi.bundle"; version:Version="8.1.14.v20131031"; osgi.identity="org.eclipse.jetty.continuation"] Bundle was not resolved because of a uses contraint violation.
org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource org.jboss.tools.vpe.cordovasim [osgi.identity; type="osgi.bundle"; version:Version="3.5.1.Final-v20140303-0018-B169"; osgi.identity="org.jboss.tools.vpe.cordovasim"] because it is exposed to package 'org.eclipse.jetty.continuation' from resources org.eclipse.jetty.continuation [osgi.identity; type="osgi.bundle"; version:Version="9.4.0.M0"; osgi.identity="org.eclipse.jetty.continuation"] and org.eclipse.jetty.continuation [osgi.identity; type="osgi.bundle"; version:Version="8.1.14.v20131031"; osgi.identity="org.eclipse.jetty.continuation"] via two dependency chains.
Chain 1:
org.jboss.tools.vpe.cordovasim [osgi.identity; type="osgi.bundle"; version:Version="3.5.1.Final-v20140303-0018-B169"; osgi.identity="org.jboss.tools.vpe.cordovasim"]
require: (&(osgi.wiring.bundle=org.eclipse.jetty.continuation)(bundle-version>=8.1.3))
|
provide: osgi.wiring.bundle: org.eclipse.jetty.continuation
org.eclipse.jetty.continuation [osgi.identity; type="osgi.bundle"; version:Version="9.4.0.M0"; osgi.identity="org.eclipse.jetty.continuation"]
Chain 2:
org.jboss.tools.vpe.cordovasim [osgi.identity; type="osgi.bundle"; version:Version="3.5.1.Final-v20140303-0018-B169"; osgi.identity="org.jboss.tools.vpe.cordovasim"]
require: (&(osgi.wiring.bundle=org.eclipse.jetty.servlets)(bundle-version>=8.1.3))
|
provide: osgi.wiring.bundle; bundle-version:Version="8.1.10.v20130312"; osgi.wiring.bundle="org.eclipse.jetty.servlets"
org.eclipse.jetty.servlets [osgi.identity; type="osgi.bundle"; version:Version="8.1.10.v20130312"; osgi.identity="org.eclipse.jetty.servlets"]
import: (&(osgi.wiring.package=org.eclipse.jetty.server)(&(version>=8.1.0)(!(version>=9.0.0))))
|
export: osgi.wiring.package=org.eclipse.jetty.server; uses:=org.eclipse.jetty.continuation
org.eclipse.jetty.server [osgi.identity; type="osgi.bundle"; version:Version="8.1.14.v20131031"; osgi.identity="org.eclipse.jetty.server"]
import: (&(osgi.wiring.package=org.eclipse.jetty.continuation)(&(version>=8.1.0)(!(version>=9.0.0))))
|
export: osgi.wiring.package: org.eclipse.jetty.continuation
org.eclipse.jetty.continuation [osgi.identity; type="osgi.bundle"; version:Version="8.1.14.v20131031"; osgi.identity="org.eclipse.jetty.continuation"]
!ENTRY org.jboss.tools.foundation.security.linux 2 0 2017-03-22 21:41:50.282
!MESSAGE Could not resolve module: org.jboss.tools.foundation.security.linux [997]
Unresolved requirement: Fragment-Host: org.eclipse.equinox.security; bundle-version="1.1.100"
Unresolved requirement: Fragment-Host: org.eclipse.equinox.security; bundle-version="1.1.100"
!ENTRY org.jboss.tools.vpe.cordovasim 2 0 2017-03-22 21:41:50.282
!MESSAGE Could not resolve module: org.jboss.tools.vpe.cordovasim [1050]
Bundle was not resolved because of a uses contraint violation.
org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource org.jboss.tools.vpe.cordovasim [osgi.identity; type="osgi.bundle"; version:Version="3.5.1.Final-v20140303-0018-B169"; osgi.identity="org.jboss.tools.vpe.cordovasim"] because it is exposed to package 'org.eclipse.jetty.continuation' from resources org.eclipse.jetty.continuation [osgi.identity; type="osgi.bundle"; version:Version="9.4.0.M0"; osgi.identity="org.eclipse.jetty.continuation"] and org.eclipse.jetty.continuation [osgi.identity; type="osgi.bundle"; version:Version="8.1.14.v20131031"; osgi.identity="org.eclipse.jetty.continuation"] via two dependency chains.
Chain 1:
org.jboss.tools.vpe.cordovasim [osgi.identity; type="osgi.bundle"; version:Version="3.5.1.Final-v20140303-0018-B169"; osgi.identity="org.jboss.tools.vpe.cordovasim"]
require: (&(osgi.wiring.bundle=org.eclipse.jetty.continuation)(bundle-version>=8.1.3))
|
provide: osgi.wiring.bundle: org.eclipse.jetty.continuation
org.eclipse.jetty.continuation [osgi.identity; type="osgi.bundle"; version:Version="9.4.0.M0"; osgi.identity="org.eclipse.jetty.continuation"]
Chain 2:
org.jboss.tools.vpe.cordovasim [osgi.identity; type="osgi.bundle"; version:Version="3.5.1.Final-v20140303-0018-B169"; osgi.identity="org.jboss.tools.vpe.cordovasim"]
require: (&(osgi.wiring.bundle=org.eclipse.jetty.servlets)(bundle-version>=8.1.3))
|
provide: osgi.wiring.bundle; bundle-version:Version="8.1.10.v20130312"; osgi.wiring.bundle="org.eclipse.jetty.servlets"
org.eclipse.jetty.servlets [osgi.identity; type="osgi.bundle"; version:Version="8.1.10.v20130312"; osgi.identity="org.eclipse.jetty.servlets"]
import: (&(osgi.wiring.package=org.eclipse.jetty.server)(&(version>=8.1.0)(!(version>=9.0.0))))
|
export: osgi.wiring.package=org.eclipse.jetty.server; uses:=org.eclipse.jetty.continuation
org.eclipse.jetty.server [osgi.identity; type="osgi.bundle"; version:Version="8.1.14.v20131031"; osgi.identity="org.eclipse.jetty.server"]
import: (&(osgi.wiring.package=org.eclipse.jetty.continuation)(&(version>=8.1.0)(!(version>=9.0.0))))
|
export: osgi.wiring.package: org.eclipse.jetty.continuation
org.eclipse.jetty.continuation [osgi.identity; type="osgi.bundle"; version:Version="8.1.14.v20131031"; osgi.identity="org.eclipse.jetty.continuation"]
!ENTRY org.eclipse.osgi 4 0 2017-03-22 21:41:50.282
!MESSAGE Application error
!STACK 1
org.eclipse.e4.ui.css.core.sac.ParserNotFoundException: java.lang.ClassCastException: org.apache.batik.css.parser.Parser cannot be cast to org.w3c.css.sac.Parser
at org.eclipse.e4.ui.css.core.impl.dom.parsers.AbstractCSSParser.getParser(AbstractCSSParser.java:149)
at org.eclipse.e4.ui.css.core.impl.dom.parsers.AbstractCSSParser.parseStyleSheet(AbstractCSSParser.java:58)
at org.eclipse.e4.ui.css.core.impl.engine.AbstractCSSEngine.parseStyleSheet(AbstractCSSEngine.java:183)
at org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngine.setTheme(ThemeEngine.java:428)
at org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngine.setTheme(ThemeEngine.java:389)
at org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngine.setTheme(ThemeEngine.java:381)
at org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngine.restore(ThemeEngine.java:568)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.setCSSTheme(PartRenderingEngine.java:1399)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.initializeStyling(PartRenderingEngine.java:1292)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1026)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
Caused by: java.lang.ClassCastException: org.apache.batik.css.parser.Parser cannot be cast to org.w3c.css.sac.Parser
at org.eclipse.e4.ui.css.core.impl.sac.SACParserFactoryImpl.makeParser(SACParserFactoryImpl.java:49)
at org.eclipse.e4.ui.css.core.sac.SACParserFactory.makeParser(SACParserFactory.java:36)
at org.eclipse.e4.ui.css.core.impl.dom.parsers.AbstractCSSParser.getParser(AbstractCSSParser.java:139)
... 30 more
The version of the JBoss Tools, which you get from this update site is from 2014. It's too old. The correct update site link is: http://download.jboss.org/jbosstools/neon/stable/updates/.
By now the latest stable version is 4.4.3.Final: http://tools.jboss.org/downloads/jbosstools/neon/4.4.3.Final.html
Other versions (development and nightly) you can find here: http://tools.jboss.org/downloads/jbosstools/neon/index.html
The best and easiest way to install jbosstools plugins to Eclipse is by using Eclipse Marketplace plugin: https://marketplace.eclipse.org/content/jboss-tools.
Old, but still actual video with instructions of how to install JBoss Tools via Eclipse Marketplace plugin: http://tools.jboss.org/downloads/installation.html
I've updated the README.html on the /updates/stable page [1] to point users to the latest JBoss Tools releases [2].
[1] http://download.jboss.org/jbosstools/updates/stable/
[2] http://tools.jboss.org/downloads/jbosstools/
Also updated the composite*.xml files in [1] to point to the Neon release, though this URL should not be considered current at all times (as you saw, it was pointing you at the JBoss Tools 4.1 release based on Eclipse Kepler, not the 4.4 release based on Neon).
Related
My installation of Eclipse 2022-09 is crashing constantly, either it freezes and then crashes, or just crashes silently.
I've noticed that it happens when the code completion tooltip is triggered, but not always.
On restart the error log contains the following
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.mylyn.team.ui [2581]
Unresolved requirement: Require-Bundle: org.eclipse.mylyn.tasks.ui; bundle-version="[3.8.0,4.0.0)"
-> Bundle-SymbolicName: org.eclipse.mylyn.tasks.ui; bundle-version="3.25.2.v20200814-0512"; singleton:="true"
org.eclipse.mylyn.tasks.ui [2580]
Unresolved requirement: Require-Bundle: org.eclipse.mylyn.commons.notifications.feed; bundle-version="1.0.0"
-> Bundle-SymbolicName: org.eclipse.mylyn.commons.notifications.feed; bundle-version="1.17.2.v20200813-0821"; singleton:="true"
org.eclipse.mylyn.commons.notifications.feed [2553]
No resolution report for the bundle. Bundle was not resolved because of a uses constraint violation.
org.apache.felix.resolver.reason.ReasonException: Uses constraint violation. Unable to resolve resource org.eclipse.mylyn.commons.notifications.feed [osgi.identity; type="osgi.bundle"; version:Version="1.17.2.v20200813-0821"; osgi.identity="org.eclipse.mylyn.commons.notifications.feed"; singleton:="true"] because it is exposed to package 'javax.xml.bind' from resources javax.xml.bind [osgi.identity; type="osgi.bundle"; version:Version="2.2.0.v201105210648"; osgi.identity="javax.xml.bind"] and jakarta.xml.bind [osgi.identity; type="osgi.bundle"; version:Version="2.3.3.v20201118-1818"; osgi.identity="jakarta.xml.bind"] via two dependency chains.
Chain 1:
org.eclipse.mylyn.commons.notifications.feed [osgi.identity; type="osgi.bundle"; version:Version="1.17.2.v20200813-0821"; osgi.identity="org.eclipse.mylyn.commons.notifications.feed"; singleton:="true"]
require: (&(osgi.wiring.bundle=javax.xml.bind)(bundle-version>=2.2.0))
|
provide: osgi.wiring.bundle: javax.xml.bind
javax.xml.bind [osgi.identity; type="osgi.bundle"; version:Version="2.2.0.v201105210648"; osgi.identity="javax.xml.bind"]
Chain 2:
org.eclipse.mylyn.commons.notifications.feed [osgi.identity; type="osgi.bundle"; version:Version="1.17.2.v20200813-0821"; osgi.identity="org.eclipse.mylyn.commons.notifications.feed"; singleton:="true"]
require: (&(osgi.wiring.bundle=com.sun.xml.bind)(bundle-version>=2.2.0))
|
provide: osgi.wiring.bundle; bundle-version:Version="2.3.3.v20201118-1818"; osgi.wiring.bundle="com.sun.xml.bind"
com.sun.xml.bind [osgi.identity; type="osgi.bundle"; version:Version="2.3.3.v20201118-1818"; osgi.identity="com.sun.xml.bind"]
import: (&(osgi.wiring.package=javax.xml.bind)(&(version>=2.3.3)(!(version>=2.3.4))))
|
export: osgi.wiring.package: javax.xml.bind
jakarta.xml.bind [osgi.identity; type="osgi.bundle"; version:Version="2.3.3.v20201118-1818"; osgi.identity="jakarta.xml.bind"]
at org.eclipse.osgi.container.Module.start(Module.java:463)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1852)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1845)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1786)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1750)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1672)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)
Short of a reinstall, can this be fixed?
After removing Mylyn, as recommended, the crashes are still occuring, with the following in the error log view
Still crashing, pasting in code into a window is causing the crashes, albeit intermittently.
This is in the error log
eclipse.buildId=4.25.0.I20220831-1800
java.version=19
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_IE
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product
org.eclipse.core.resources
Warning
Fri Oct 14 15:48:23 IST 2022
The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
I just installed Eclipse 2022-06 (4.24.0) and built and export default RCP application product.
When I try to run this product in windows I get error in log file listed below. (in Eclipse IDE environment it runs perfectly).
It looks like library com.sun.jna is missing... But it included in required plug-ins.
It exists in config.ini and plugins folder of built product as well...
I spent two days trying to solve this issue and ran out of ides already...
!SESSION 2022-08-16 14:25:08.798 -----------------------------------------------
eclipse.buildId=unknown
java.version=18.0.2
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -clearPersistedState
Command-line arguments: -os win32 -ws win32 -arch x86_64 -clearPersistedState
!ENTRY org.eclipse.e4.ui.workbench.addons.swt 4 0 2022-08-16 14:25:09.361
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.e4.ui.workbench.addons.swt [42]
Unresolved requirement: Import-Package: org.eclipse.e4.ui.internal.workbench.swt
-> Export-Package: org.eclipse.e4.ui.internal.workbench.swt; bundle-symbolic-name="org.eclipse.e4.ui.workbench.swt"; bundle-version="0.16.500.v20220506-1520"; version="0.0.0"; x-friends:="org.eclipse.e4.ui.workbench.addons.swt,org.eclipse.e4.ui.workbench.renderers.swt,org.eclipse.ui.workbench"
org.eclipse.e4.ui.workbench.swt [44]
Unresolved requirement: Require-Bundle: org.eclipse.urischeme; bundle-version="1.1.0"
-> Bundle-SymbolicName: org.eclipse.urischeme; bundle-version="1.2.100.v20211001-1648"; singleton:="true"
org.eclipse.urischeme [64]
Unresolved requirement: Require-Bundle: com.sun.jna; bundle-version="[5.8.0,6.0.0)"
Unresolved requirement: Require-Bundle: org.eclipse.e4.ui.workbench.renderers.swt; bundle-version="0.9.1"
-> Bundle-SymbolicName: org.eclipse.e4.ui.workbench.renderers.swt; bundle-version="0.15.500.v20220511-1638"; singleton:="true"
org.eclipse.e4.ui.workbench.renderers.swt [43]
Unresolved requirement: Require-Bundle: org.eclipse.e4.ui.workbench.swt; bundle-version="0.9.0"
-> Bundle-SymbolicName: org.eclipse.e4.ui.workbench.swt; bundle-version="0.16.500.v20220506-1520"; singleton:="true"
at org.eclipse.osgi.container.Module.start(Module.java:463)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1847)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1840)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1781)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1745)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1667)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)
As greg-449 suggests problem was with version of com.sun.jna...
Version 4.5.1 was included by default instead of 5.8.0.
So, to solve this, I added version requirements for com.sun.jna in *.product file "Contents" tab.
I upgraded my eclipse RCP based application from 4.5.2 to 4.10. I setup target platform and pointed it to new eclipse plugin directory as well.
And when I try to launch the application, it shows below errors.
Can somebody suggest any check list which I should follow for eclipse based applications upgrade and what am I missing here?
!ENTRY org.eclipse.core.runtime 4 0 2019-05-30 06:33:32.513
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.core.runtime [3]
Unresolved requirement: Require-Bundle: javax.inject; bundle-version="1.0.0"; visibility:="reexport"; resolution:="optional"
Unresolved requirement: Require-Bundle: org.eclipse.core.jobs; bundle-version="[3.10.0,4.0.0)"; visibility:="reexport"
at org.eclipse.osgi.container.Module.start(Module.java:451)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1783)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1763)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1725)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1656)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:233)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:343)
!ENTRY org.eclipse.core.runtime 2 0 2019-05-30 06:33:32.513
!MESSAGE Could not resolve module: org.eclipse.core.runtime [3]
Unresolved requirement: Require-Bundle: javax.inject; bundle-version="1.0.0"; visibility:="reexport"; resolution:="optional"
Unresolved requirement: Require-Bundle: org.eclipse.core.jobs; bundle-version="[3.10.0,4.0.0)"; visibility:="reexport"
!ENTRY org.eclipse.osgi 4 0 2019-05-30 06:33:32.529
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:81)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:595)
at org.eclipse.equinox.launcher.Main.run(Main.java:1501)
at org.eclipse.equinox.launcher.Main.main(Main.java:1474)
Your log suggests problems with the javax.inject and org.eclipse.core.jobs plug-ins.
In the 'Run > Run Configurations...' dialog find your RCP in the 'Eclipse Application' section.
Use the 'Add Required Plug-ins' button to add all plug-ins your RCP uses. This will change between releases.
Use the 'Validate Plug-ins' button to validate that the selected plug-ins set is reasonable.
I'm currently trying to migrate our product to work on jdk 11 and as a part of this effort upgraded the osgi framework (upgrading from equinox osgi version 3.9.1.v20130814-1242). We managed to upgrade the components and start the pack but currently we see high startup time (startup freezes in the middle for some additional time). we suspect it is due to bundle wiring.
I checked the bundle status using ss comand and all the bundles were in Active state.
Then I enabled osgi debug logs for wiring (org.eclipse.osgi/resolver/wiring) and notice one component trying to wire to same component repeatedly
Following is a part of the log. similar repeated logs for different components can be seen during this startup freeze time . (I attached the full log in http://download2265.mediafire.com/cov16dra60kg/n808avzytuv3xxb/logs.txt)
RESOLVER: Wirings for resolved bundles:
Resource
osgi.identity; osgi.identity="tomcat"; type="osgi.bundle"; version:Version="7.0.85.wso2v1"
Wiring
[1] osgi.wiring.package; filter:="(osgi.wiring.package=*)"; resolution:="dynamic"; cardinality:="multiple" -> [osgi.identity; osgi.identity="axiom"; type="osgi.bundle"; version:Version="1.2.11.wso2v12"]
RESOLVER: Wirings for resolved bundles:
Resource
osgi.identity; osgi.identity="tomcat"; type="osgi.bundle"; version:Version="7.0.85.wso2v1"
Wiring
[1] osgi.wiring.package; filter:="(osgi.wiring.package=*)"; resolution:="dynamic"; cardinality:="multiple" -> [osgi.identity; osgi.identity="axiom"; type="osgi.bundle"; version:Version="1.2.11.wso2v12"]
RESOLVER: Wirings for resolved bundles:
Resource
osgi.identity; osgi.identity="tomcat"; type="osgi.bundle"; version:Version="7.0.85.wso2v1"
Wiring
[1] osgi.wiring.package; filter:="(osgi.wiring.package=*)"; resolution:="dynamic"; cardinality:="multiple" -> [osgi.identity; osgi.identity="axiom"; type="osgi.bundle"; version:Version="1.2.11.wso2v12"]
RESOLVER: Wirings for resolved bundles:
Resource
osgi.identity; osgi.identity="tomcat"; type="osgi.bundle"; version:Version="7.0.85.wso2v1"
Wiring
[1] osgi.wiring.package; filter:="(osgi.wiring.package=*)"; resolution:="dynamic"; cardinality:="multiple" -> [osgi.identity; osgi.identity="axiom"; type="osgi.bundle"; version:Version="1.2.11.wso2v12"]
RESOLVER: Wirings for resolved bundles:
Resource
osgi.identity; osgi.identity="tomcat"; type="osgi.bundle"; version:Version="7.0.85.wso2v1"
Wiring
[1] osgi.wiring.package; filter:="(osgi.wiring.package=*)"; resolution:="dynamic"; cardinality:="multiple" -> [osgi.identity; osgi.identity="axiom"; type="osgi.bundle"; version:Version="1.2.11.wso2v12"]
Can anyone please help me in identifying the problem and why it tries to wire to same package (any additional methods to narrowdown the issue). Same tomcat version was used in the old OSGI version but didn't see this kind of freezing in the middle.
Thanks a lot
I'm trying to build the MongoDB connector for Hadoop 1.2.1 from the montogdb instruction page (https://github.com/mongodb/mongo-hadoop) but i'm getting following error. one thing to mention, hadoop 1.2.1 is not included in the list of supported version. I tried to install 1.1 but it is not included in hadoop download page or any of the mirrors, anyone has an ideal if it is possible to build the connector for hadoop 1.2.1?
sbt.ResolveException: unresolved dependency: commons-logging#commons-logging;1.1.1: configuration not found in commons-logging#commons-logging;1.1.1: 'compile'. It was required from commons-configuration#commons-configuration;1.6 compile
at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:214)
at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:122)
at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:121)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:114)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:114)
at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:102)
at sbt.IvySbt.liftedTree1$1(Ivy.scala:49)
at sbt.IvySbt.action$1(Ivy.scala:49)
at sbt.IvySbt$$anon$3.call(Ivy.scala:58)
at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:75)
at xsbt.boot.Locks$GlobalLock.withChannelRetries$1(Locks.scala:58)
at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:79)
at xsbt.boot.Using$.withResource(Using.scala:11)
at xsbt.boot.Using$.apply(Using.scala:10)
at xsbt.boot.Locks$GlobalLock.liftedTree1$1(Locks.scala:51)
at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:51)
at xsbt.boot.Locks$.apply0(Locks.scala:30)
at xsbt.boot.Locks$.apply(Locks.scala:27)
at sbt.IvySbt.withDefaultLogger(Ivy.scala:58)
at sbt.IvySbt.withIvy(Ivy.scala:99)
at sbt.IvySbt.withIvy(Ivy.scala:95)
at sbt.IvySbt$Module.withModule(Ivy.scala:114)
at sbt.IvyActions$.update(IvyActions.scala:121)
at sbt.Classpaths$$anonfun$work$1$1.apply(Defaults.scala:951)
at sbt.Classpaths$$anonfun$work$1$1.apply(Defaults.scala:949)
at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$54.apply(Defaults.scala:972)
at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$54.apply(Defaults.scala:970)
at sbt.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:35)
at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:974)
at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:969)
at sbt.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:45)
at sbt.Classpaths$.cachedUpdate(Defaults.scala:977)
at sbt.Classpaths$$anonfun$45.apply(Defaults.scala:856)
at sbt.Classpaths$$anonfun$45.apply(Defaults.scala:853)
at sbt.Scoped$$anonfun$hf10$1.apply(Structure.scala:586)
at sbt.Scoped$$anonfun$hf10$1.apply(Structure.scala:586)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:49)
at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311)
at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:41)
at sbt.std.Transform$$anon$5.work(System.scala:71)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.Execute.work(Execute.scala:238)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:680)
[error] (mongo-hadoop-core/*:update) sbt.ResolveException: unresolved dependency: commons-logging#commons-logging;1.1.1: configuration not found in commons-logging#commons-logging;1.1.1: 'compile'. It was required from commons-configuration#commons-configuration;1.6 compile
[error] Total time: 18 s, completed Sep 3, 2013 8:04:37 PM
thanks so much
You can find older hadoop releases on the archive server. I was able to get the mongodb hadoop connector working with version 1.1.2.
http://archive.apache.org/dist/hadoop/core/ or there's an archive link at the top of the page on any mirror.