Community
Participate
Working Groups
Even after restarting eclipse with -clean Parameter and reinstalling "code recommenders" I get the error note: "Eclipse Code Recommenders is experiencing installation problems": Unresolved bundles: org.eclipse.recommenders.snipmatch.rcp
(In reply to Thomas Mueller from comment #0) > Even after restarting eclipse with -clean Parameter and reinstalling "code > recommenders" I get the error note: "Eclipse Code Recommenders is > experiencing installation problems": > > Unresolved bundles: > org.eclipse.recommenders.snipmatch.rcp Hi Thomas. Thank you for the bug report. To help us understand what's going on, can you please open the Console > Host OSGi Console view and enter the following commands: ss org.eclipse.recommenders diag org.eclipse.recommenders.snipmatch.rcp Then add the commands' output as a comment to this bug. Thank you. FYI: The first command tells us which exact versions of the Code Recommenders bundles you have in your system. The second should point us the root cause of the problem.
Hi Andreas. Thank you for your quick response. The output of "ss org.eclipse.recommenders" reads: "Framework is launched." id State Bundle 654 RESOLVED org.eclipse.recommenders.apidocs_2.2.4.v20150914-0857 656 RESOLVED org.eclipse.recommenders.calls_2.2.4.v20150914-0857 660 RESOLVED org.eclipse.recommenders.constructors_2.2.4.v20150914-0857 662 STARTING org.eclipse.recommenders.coordinates_2.2.4.v20150914-0857 665 RESOLVED org.eclipse.recommenders.jayes_2.2.4.v20150914-0857 666 RESOLVED org.eclipse.recommenders.jayes.io_2.2.4.v20150914-0857 667 RESOLVED org.eclipse.recommenders.jdt_2.2.4.v20150914-0857 668 STARTING org.eclipse.recommenders.models_2.2.4.v20150914-0857 671 RESOLVED org.eclipse.recommenders.net_2.2.4.v20150914-0857 672 RESOLVED org.eclipse.recommenders.overrides_2.2.4.v20150914-0857 679 RESOLVED org.eclipse.recommenders.utils_2.2.4.v20150914-0857 1148 RESOLVED org.eclipse.recommenders.apidocs_2.2.5.v20151110-1611 1149 ACTIVE org.eclipse.recommenders.apidocs.rcp_2.2.5.v20151110-1611 1150 RESOLVED org.eclipse.recommenders.calls_2.2.5.v20151110-1611 1151 RESOLVED org.eclipse.recommenders.calls.rcp_2.2.5.v20151110-1611 1152 ACTIVE org.eclipse.recommenders.chain.rcp_2.2.5.v20151110-1611 1153 ACTIVE org.eclipse.recommenders.completion.rcp_2.2.5.v20151110-1611 1154 RESOLVED org.eclipse.recommenders.constructors_2.2.5.v20151110-1611 1155 RESOLVED org.eclipse.recommenders.constructors.rcp_2.2.5.v20151110-1611 1156 ACTIVE org.eclipse.recommenders.coordinates_2.2.5.v20151110-1611 1157 ACTIVE org.eclipse.recommenders.coordinates.rcp_2.2.5.v20151110-1611 1158 ACTIVE org.eclipse.recommenders.injection_2.2.5.v20151110-1611 1159 RESOLVED org.eclipse.recommenders.jayes_2.2.5.v20151110-1611 1160 RESOLVED org.eclipse.recommenders.jayes.io_2.2.5.v20151110-1611 1161 RESOLVED org.eclipse.recommenders.jdt_2.2.5.v20151110-1611 1162 ACTIVE org.eclipse.recommenders.models_2.2.5.v20151110-1611 1163 RESOLVED org.eclipse.recommenders.models.rcp_2.2.5.v20151110-1611 1164 RESOLVED org.eclipse.recommenders.mylyn.rcp_2.2.5.v20151110-1611 1165 RESOLVED org.eclipse.recommenders.net_2.2.5.v20151110-1611 1166 RESOLVED org.eclipse.recommenders.overrides_2.2.5.v20151110-1611 1167 RESOLVED org.eclipse.recommenders.overrides.rcp_2.2.5.v20151110-1611 1168 ACTIVE org.eclipse.recommenders.rcp_2.2.5.v20151110-1611 1169 STARTING org.eclipse.recommenders.snipmatch_2.2.5.v20151110-1611 1170 INSTALLED org.eclipse.recommenders.snipmatch.rcp_2.2.5.v20151110-1611 1171 RESOLVED org.eclipse.recommenders.subwords.rcp_2.2.5.v20151110-1611 1172 RESOLVED org.eclipse.recommenders.types.rcp_2.2.5.v20151110-1611 1173 RESOLVED org.eclipse.recommenders.utils_2.2.5.v20151110-1611 1174 ACTIVE org.eclipse.recommenders.utils.rcp_2.2.5.v20151110-1611 and "diag org.eclipse.recommenders.snipmatch.rcp" yields: org.eclipse.recommenders.snipmatch.rcp [1170] Bundle was not resolved because of a uses contraint violation. org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource org.eclipse.recommenders.snipmatch.rcp [osgi.identity; osgi.identity="org.eclipse.recommenders.snipmatch.rcp"; type="osgi.bundle"; version:Version="2.2.5.v20151110-1611"; singleton:="true"] because it is exposed to package 'org.eclipse.jgit.transport' from resources org.eclipse.jgit [osgi.identity; osgi.identity="org.eclipse.jgit"; type="osgi.bundle"; version:Version="4.1.1.201511131810-r"] and org.eclipse.jgit [osgi.identity; osgi.identity="org.eclipse.jgit"; type="osgi.bundle"; version:Version="4.0.3.201509231615-r"] via two dependency chains. Chain 1: org.eclipse.recommenders.snipmatch.rcp [osgi.identity; osgi.identity="org.eclipse.recommenders.snipmatch.rcp"; type="osgi.bundle"; version:Version="2.2.5.v20151110-1611"; singleton:="true"] require: (osgi.wiring.bundle=org.eclipse.jgit) | provide: osgi.wiring.bundle: org.eclipse.jgit org.eclipse.jgit [osgi.identity; osgi.identity="org.eclipse.jgit"; type="osgi.bundle"; version:Version="4.1.1.201511131810-r"] Chain 2: org.eclipse.recommenders.snipmatch.rcp [osgi.identity; osgi.identity="org.eclipse.recommenders.snipmatch.rcp"; type="osgi.bundle"; version:Version="2.2.5.v20151110-1611"; singleton:="true"] require: (&(osgi.wiring.bundle=org.eclipse.recommenders.snipmatch)(&(bundle-version>=2.2.5)(!(bundle-version>=2.2.6)))) | provide: osgi.wiring.bundle; bundle-version:Version="2.2.5.v20151110-1611"; osgi.wiring.bundle="org.eclipse.recommenders.snipmatch"; singleton:="true" org.eclipse.recommenders.snipmatch [osgi.identity; osgi.identity="org.eclipse.recommenders.snipmatch"; type="osgi.bundle"; version:Version="2.2.5.v20151110-1611"; singleton:="true"] require: (osgi.wiring.bundle=org.eclipse.jgit) | provide: osgi.wiring.bundle: org.eclipse.jgit org.eclipse.jgit [osgi.identity; osgi.identity="org.eclipse.jgit"; type="osgi.bundle"; version:Version="4.0.3.201509231615-r"] osgi>
(In reply to Thomas Mueller from comment #2) > Hi Andreas. Thank you for your quick response. Thanks for the requested information. > The output of "ss org.eclipse.recommenders" reads: > "Framework is launched." > > > id State Bundle > 654 RESOLVED org.eclipse.recommenders.apidocs_2.2.4.v20150914-0857 ... > 1148 RESOLVED org.eclipse.recommenders.apidocs_2.2.5.v20151110-1611 > 1149 ACTIVE org.eclipse.recommenders.apidocs.rcp_2.2.5.v20151110-1611 Loooks like you still have some old Code Recommenders bundles in your system. Have you manually updated Code Recommenders or installed another plugin (e.g., Ctrlflow, Codetrails Connect, or an Code Recommenders incubator project)? I'm just trying to figure out how this has happened. > and "diag org.eclipse.recommenders.snipmatch.rcp" yields: > org.eclipse.recommenders.snipmatch.rcp [1170] > Bundle was not resolved because of a uses contraint violation. > org.osgi.service.resolver.ResolutionException: Uses constraint violation. > Unable to resolve resource org.eclipse.recommenders.snipmatch.rcp > [osgi.identity; osgi.identity="org.eclipse.recommenders.snipmatch.rcp"; > type="osgi.bundle"; version:Version="2.2.5.v20151110-1611"; > singleton:="true"] because it is exposed to package > 'org.eclipse.jgit.transport' from resources org.eclipse.jgit [osgi.identity; > osgi.identity="org.eclipse.jgit"; type="osgi.bundle"; > version:Version="4.1.1.201511131810-r"] and org.eclipse.jgit [osgi.identity; > osgi.identity="org.eclipse.jgit"; type="osgi.bundle"; > version:Version="4.0.3.201509231615-r"] via two dependency chains. > > Chain 1: > org.eclipse.recommenders.snipmatch.rcp [osgi.identity; > osgi.identity="org.eclipse.recommenders.snipmatch.rcp"; type="osgi.bundle"; > version:Version="2.2.5.v20151110-1611"; singleton:="true"] > require: (osgi.wiring.bundle=org.eclipse.jgit) > | > provide: osgi.wiring.bundle: org.eclipse.jgit > org.eclipse.jgit [osgi.identity; osgi.identity="org.eclipse.jgit"; > type="osgi.bundle"; version:Version="4.1.1.201511131810-r"] > > Chain 2: > org.eclipse.recommenders.snipmatch.rcp [osgi.identity; > osgi.identity="org.eclipse.recommenders.snipmatch.rcp"; type="osgi.bundle"; > version:Version="2.2.5.v20151110-1611"; singleton:="true"] > require: > (&(osgi.wiring.bundle=org.eclipse.recommenders.snipmatch)(&(bundle- > version>=2.2.5)(!(bundle-version>=2.2.6)))) > | > provide: osgi.wiring.bundle; > bundle-version:Version="2.2.5.v20151110-1611"; > osgi.wiring.bundle="org.eclipse.recommenders.snipmatch"; singleton:="true" > org.eclipse.recommenders.snipmatch [osgi.identity; > osgi.identity="org.eclipse.recommenders.snipmatch"; type="osgi.bundle"; > version:Version="2.2.5.v20151110-1611"; singleton:="true"] > require: (osgi.wiring.bundle=org.eclipse.jgit) > | > provide: osgi.wiring.bundle: org.eclipse.jgit > org.eclipse.jgit [osgi.identity; osgi.identity="org.eclipse.jgit"; > type="osgi.bundle"; version:Version="4.0.3.201509231615-r"] > osgi> Hm, I am honestly a bit mystified that -clean doesn't work here. As far as I can see, there exists a valid solution to the wiring problem: Wire both o.e.r.snipmatch and o.e.r.snipmatch.rcp to the same version of org.eclipse.jgit. Something seems to prevent Equinox from reaching this solution, though. Can you do me another favor and run b org.eclipse.jgit in the Host OSGi Console?
No, I've neither Ctrlflow nor Codetrails Connect installed or any other Code Recommender stuff. I've reinstalled "code recommenders" once again from within the Marketplace. Doing this, I recognized that I cannot completely remove it. Eclipse always claims that it is installed. Maybe it is a problem that I've installed eclipse using the zip-archive and moved the extracted folder to C:\Program Files. But even if I run eclipse as Administrator with the clean Option, I do not get rid of the error message. I hope the old 2.2.4 version is now deleted. Rerunning "ss org.eclipse.recommenders" yields: 1148 RESOLVED org.eclipse.recommenders.apidocs_2.2.5.v20151110-1611 1149 ACTIVE org.eclipse.recommenders.apidocs.rcp_2.2.5.v20151110-1611 1150 RESOLVED org.eclipse.recommenders.calls_2.2.5.v20151110-1611 1151 RESOLVED org.eclipse.recommenders.calls.rcp_2.2.5.v20151110-1611 1152 ACTIVE org.eclipse.recommenders.chain.rcp_2.2.5.v20151110-1611 1153 ACTIVE org.eclipse.recommenders.completion.rcp_2.2.5.v20151110-1611 1154 RESOLVED org.eclipse.recommenders.constructors_2.2.5.v20151110-1611 1155 RESOLVED org.eclipse.recommenders.constructors.rcp_2.2.5.v20151110-1611 1156 ACTIVE org.eclipse.recommenders.coordinates_2.2.5.v20151110-1611 1157 ACTIVE org.eclipse.recommenders.coordinates.rcp_2.2.5.v20151110-1611 1158 ACTIVE org.eclipse.recommenders.injection_2.2.5.v20151110-1611 1159 RESOLVED org.eclipse.recommenders.jayes_2.2.5.v20151110-1611 1160 RESOLVED org.eclipse.recommenders.jayes.io_2.2.5.v20151110-1611 1161 RESOLVED org.eclipse.recommenders.jdt_2.2.5.v20151110-1611 1162 ACTIVE org.eclipse.recommenders.models_2.2.5.v20151110-1611 1163 RESOLVED org.eclipse.recommenders.models.rcp_2.2.5.v20151110-1611 1164 RESOLVED org.eclipse.recommenders.mylyn.rcp_2.2.5.v20151110-1611 1165 RESOLVED org.eclipse.recommenders.net_2.2.5.v20151110-1611 1166 RESOLVED org.eclipse.recommenders.overrides_2.2.5.v20151110-1611 1167 RESOLVED org.eclipse.recommenders.overrides.rcp_2.2.5.v20151110-1611 1168 ACTIVE org.eclipse.recommenders.rcp_2.2.5.v20151110-1611 1169 STARTING org.eclipse.recommenders.snipmatch_2.2.5.v20151110-1611 1170 INSTALLED org.eclipse.recommenders.snipmatch.rcp_2.2.5.v20151110-1611 1171 RESOLVED org.eclipse.recommenders.subwords.rcp_2.2.5.v20151110-1611 1172 RESOLVED org.eclipse.recommenders.types.rcp_2.2.5.v20151110-1611 1173 RESOLVED org.eclipse.recommenders.utils_2.2.5.v20151110-1611 1174 ACTIVE org.eclipse.recommenders.utils.rcp_2.2.5.v20151110-1611 b org.eclipse.jgit yields: org.eclipse.jgit_4.0.3.201509231615-r [531] Id=531, Status=STARTING Data Root=C:\Users\Thomas\.eclipse\org.eclipse.platform_4.5.1_1709980481_win32_win32_x86_64\configuration\org.eclipse.osgi\531\data "No registered services." No services in use. Exported packages org.eclipse.jgit.api; version="4.0.3"[exported] org.eclipse.jgit.api.errors; version="4.0.3"[exported] org.eclipse.jgit.attributes; version="4.0.3"[exported] org.eclipse.jgit.blame; version="4.0.3"[exported] org.eclipse.jgit.diff; version="4.0.3"[exported] org.eclipse.jgit.dircache; version="4.0.3"[exported] org.eclipse.jgit.errors; version="4.0.3"[exported] org.eclipse.jgit.events; version="4.0.3"[exported] org.eclipse.jgit.fnmatch; version="4.0.3"[exported] org.eclipse.jgit.gitrepo; version="4.0.3"[exported] org.eclipse.jgit.gitrepo.internal; version="4.0.3"[exported] org.eclipse.jgit.hooks; version="4.0.3"[exported] org.eclipse.jgit.ignore; version="4.0.3"[exported] org.eclipse.jgit.ignore.internal; version="4.0.3"[exported] org.eclipse.jgit.internal; version="4.0.3"[exported] org.eclipse.jgit.internal.storage.dfs; version="4.0.3"[exported] org.eclipse.jgit.internal.storage.file; version="4.0.3"[exported] org.eclipse.jgit.internal.storage.pack; version="4.0.3"[exported] org.eclipse.jgit.lib; version="4.0.3"[exported] org.eclipse.jgit.merge; version="4.0.3"[exported] org.eclipse.jgit.nls; version="4.0.3"[exported] org.eclipse.jgit.notes; version="4.0.3"[exported] org.eclipse.jgit.patch; version="4.0.3"[exported] org.eclipse.jgit.revplot; version="4.0.3"[exported] org.eclipse.jgit.revwalk; version="4.0.3"[exported] org.eclipse.jgit.revwalk.filter; version="4.0.3"[exported] org.eclipse.jgit.storage.file; version="4.0.3"[exported] org.eclipse.jgit.storage.pack; version="4.0.3"[exported] org.eclipse.jgit.submodule; version="4.0.3"[exported] org.eclipse.jgit.transport; version="4.0.3"[exported] org.eclipse.jgit.transport.http; version="4.0.3"[exported] org.eclipse.jgit.transport.resolver; version="4.0.3"[exported] org.eclipse.jgit.treewalk; version="4.0.3"[exported] org.eclipse.jgit.treewalk.filter; version="4.0.3"[exported] org.eclipse.jgit.util; version="4.0.3"[exported] org.eclipse.jgit.util.io; version="4.0.3"[exported] Imported packages com.googlecode.javaewah; version="0.7.9" <javaewah_0.7.9.v201401101600 [13]> com.jcraft.jsch; version="0.1.53" <com.jcraft.jsch_0.1.53.v201508180515 [474]> com.jcraft.jsch.jce; version="0.1.53" <com.jcraft.jsch_0.1.53.v201508180515 [474]> com.jcraft.jsch.jcraft; version="0.1.53" <com.jcraft.jsch_0.1.53.v201508180515 [474]> com.jcraft.jsch.jgss; version="0.1.53" <com.jcraft.jsch_0.1.53.v201508180515 [474]> javax.crypto; version="0.0.0" <org.eclipse.osgi_3.10.101.v20150820-1432 [0]> javax.net.ssl; version="0.0.0" <org.eclipse.osgi_3.10.101.v20150820-1432 [0]> org.slf4j; version="1.7.2" <org.slf4j.api_1.7.2.v20121108-1250 [464]> org.xml.sax; version="2.0.2" <javax.xml_1.3.4.v201005080400 [19]> org.xml.sax.helpers; version="2.0.2" <javax.xml_1.3.4.v201005080400 [19]> No fragment bundles Required bundles osgi.identity; osgi.identity="com.jcraft.jsch"; type="osgi.bundle"; version:Version="0.1.53.v201508180515"
(In reply to Thomas Mueller from comment #4) > No, I've neither Ctrlflow nor Codetrails Connect installed or any other Code > Recommender stuff. > > I've reinstalled "code recommenders" once again from within the Marketplace. > Doing this, I recognized that I cannot completely remove it. Eclipse always > claims that it is installed. Code Recommenders is probably a pre-installed part of the Eclipse Package (the ZIP archive) you use. The later installation from the Marketplace should have performed an update. Why some older bundles (e.g., org.eclipse.recommenders.apidocs 2.2.4) still stick around I don't know yet. Anyway, is the following correct: - You downloaded one of the ZIP archives from [1]. - You later installed Eclipse Code Recommenders (including Snipmatch?) from the Eclipse Marketplace > Maybe it is a problem that I've installed eclipse using the zip-archive and > moved the extracted folder to C:\Program Files. But even if I run eclipse as > Administrator with the clean Option, I do not get rid of the error message. I don't think that is the problem. > b org.eclipse.jgit yields: > > org.eclipse.jgit_4.0.3.201509231615-r [531] > Id=531, Status=STARTING Data > Root=C:\Users\Thomas\.eclipse\org.eclipse.platform_4.5. > 1_1709980481_win32_win32_x86_64\configuration\org.eclipse.osgi\531\data > "No registered services." > No services in use. > Exported packages > org.eclipse.jgit.api; version="4.0.3"[exported] > org.eclipse.jgit.api.errors; version="4.0.3"[exported] > org.eclipse.jgit.attributes; version="4.0.3"[exported] > org.eclipse.jgit.blame; version="4.0.3"[exported] > org.eclipse.jgit.diff; version="4.0.3"[exported] > org.eclipse.jgit.dircache; version="4.0.3"[exported] > org.eclipse.jgit.errors; version="4.0.3"[exported] > org.eclipse.jgit.events; version="4.0.3"[exported] > org.eclipse.jgit.fnmatch; version="4.0.3"[exported] > org.eclipse.jgit.gitrepo; version="4.0.3"[exported] > org.eclipse.jgit.gitrepo.internal; version="4.0.3"[exported] > org.eclipse.jgit.hooks; version="4.0.3"[exported] > org.eclipse.jgit.ignore; version="4.0.3"[exported] > org.eclipse.jgit.ignore.internal; version="4.0.3"[exported] > org.eclipse.jgit.internal; version="4.0.3"[exported] > org.eclipse.jgit.internal.storage.dfs; version="4.0.3"[exported] > org.eclipse.jgit.internal.storage.file; version="4.0.3"[exported] > org.eclipse.jgit.internal.storage.pack; version="4.0.3"[exported] > org.eclipse.jgit.lib; version="4.0.3"[exported] > org.eclipse.jgit.merge; version="4.0.3"[exported] > org.eclipse.jgit.nls; version="4.0.3"[exported] > org.eclipse.jgit.notes; version="4.0.3"[exported] > org.eclipse.jgit.patch; version="4.0.3"[exported] > org.eclipse.jgit.revplot; version="4.0.3"[exported] > org.eclipse.jgit.revwalk; version="4.0.3"[exported] > org.eclipse.jgit.revwalk.filter; version="4.0.3"[exported] > org.eclipse.jgit.storage.file; version="4.0.3"[exported] > org.eclipse.jgit.storage.pack; version="4.0.3"[exported] > org.eclipse.jgit.submodule; version="4.0.3"[exported] > org.eclipse.jgit.transport; version="4.0.3"[exported] > org.eclipse.jgit.transport.http; version="4.0.3"[exported] > org.eclipse.jgit.transport.resolver; version="4.0.3"[exported] > org.eclipse.jgit.treewalk; version="4.0.3"[exported] > org.eclipse.jgit.treewalk.filter; version="4.0.3"[exported] > org.eclipse.jgit.util; version="4.0.3"[exported] > org.eclipse.jgit.util.io; version="4.0.3"[exported] > Imported packages > com.googlecode.javaewah; version="0.7.9" <javaewah_0.7.9.v201401101600 > [13]> > com.jcraft.jsch; version="0.1.53" <com.jcraft.jsch_0.1.53.v201508180515 > [474]> > com.jcraft.jsch.jce; version="0.1.53" > <com.jcraft.jsch_0.1.53.v201508180515 [474]> > com.jcraft.jsch.jcraft; version="0.1.53" > <com.jcraft.jsch_0.1.53.v201508180515 [474]> > com.jcraft.jsch.jgss; version="0.1.53" > <com.jcraft.jsch_0.1.53.v201508180515 [474]> > javax.crypto; version="0.0.0" <org.eclipse.osgi_3.10.101.v20150820-1432 > [0]> > javax.net.ssl; version="0.0.0" <org.eclipse.osgi_3.10.101.v20150820-1432 > [0]> > org.slf4j; version="1.7.2" <org.slf4j.api_1.7.2.v20121108-1250 [464]> > org.xml.sax; version="2.0.2" <javax.xml_1.3.4.v201005080400 [19]> > org.xml.sax.helpers; version="2.0.2" <javax.xml_1.3.4.v201005080400 [19]> > No fragment bundles > Required bundles > osgi.identity; osgi.identity="com.jcraft.jsch"; type="osgi.bundle"; > version:Version="0.1.53.v201508180515" Apologies. I though b org.eclipse.jgit would produce this bundle for all the JGit bundles in your installation. Apparently, this is not the case. Thus please run ss org.eclipse.jgit Note the numbers in the first column and for each of them run b $BUNDLE_ID That being said, as a workaround there is a "Silently ignore this error" checkbox in the dialog. You won't be able to use Code Recommenders Snipmatch, but the rest of Code Recommenders (intelligent code completion, subwords completion, etc.) should work normally. [1] <http://www.eclipse.org/downloads/>
> Anyway, is the following correct: > > - You downloaded one of the ZIP archives from [1]. > - You later installed Eclipse Code Recommenders (including Snipmatch?) from > the Eclipse Marketplace Yes, that's correct. ss org.eclipse.jgit yields: id State Bundle 531 STARTING org.eclipse.jgit_4.0.3.201509231615-r 532 STARTING org.eclipse.jgit.archive_4.0.3.201509231615-r 1289 ACTIVE org.eclipse.jgit_4.1.1.201511131810-r 1290 STARTING org.eclipse.jgit.archive_4.1.1.201511131810-r and running b $id yields: osgi> b 531 org.eclipse.jgit_4.0.3.201509231615-r [531] Id=531, Status=STARTING Data Root=C:\Users\Thomas\.eclipse\org.eclipse.platform_4.5.1_1709980481_win32_win32_x86_64\configuration\org.eclipse.osgi\531\data "No registered services." No services in use. Exported packages org.eclipse.jgit.api; version="4.0.3"[exported] org.eclipse.jgit.api.errors; version="4.0.3"[exported] org.eclipse.jgit.attributes; version="4.0.3"[exported] org.eclipse.jgit.blame; version="4.0.3"[exported] org.eclipse.jgit.diff; version="4.0.3"[exported] org.eclipse.jgit.dircache; version="4.0.3"[exported] org.eclipse.jgit.errors; version="4.0.3"[exported] org.eclipse.jgit.events; version="4.0.3"[exported] org.eclipse.jgit.fnmatch; version="4.0.3"[exported] org.eclipse.jgit.gitrepo; version="4.0.3"[exported] org.eclipse.jgit.gitrepo.internal; version="4.0.3"[exported] org.eclipse.jgit.hooks; version="4.0.3"[exported] org.eclipse.jgit.ignore; version="4.0.3"[exported] org.eclipse.jgit.ignore.internal; version="4.0.3"[exported] org.eclipse.jgit.internal; version="4.0.3"[exported] org.eclipse.jgit.internal.storage.dfs; version="4.0.3"[exported] org.eclipse.jgit.internal.storage.file; version="4.0.3"[exported] org.eclipse.jgit.internal.storage.pack; version="4.0.3"[exported] org.eclipse.jgit.lib; version="4.0.3"[exported] org.eclipse.jgit.merge; version="4.0.3"[exported] org.eclipse.jgit.nls; version="4.0.3"[exported] org.eclipse.jgit.notes; version="4.0.3"[exported] org.eclipse.jgit.patch; version="4.0.3"[exported] org.eclipse.jgit.revplot; version="4.0.3"[exported] org.eclipse.jgit.revwalk; version="4.0.3"[exported] org.eclipse.jgit.revwalk.filter; version="4.0.3"[exported] org.eclipse.jgit.storage.file; version="4.0.3"[exported] org.eclipse.jgit.storage.pack; version="4.0.3"[exported] org.eclipse.jgit.submodule; version="4.0.3"[exported] org.eclipse.jgit.transport; version="4.0.3"[exported] org.eclipse.jgit.transport.http; version="4.0.3"[exported] org.eclipse.jgit.transport.resolver; version="4.0.3"[exported] org.eclipse.jgit.treewalk; version="4.0.3"[exported] org.eclipse.jgit.treewalk.filter; version="4.0.3"[exported] org.eclipse.jgit.util; version="4.0.3"[exported] org.eclipse.jgit.util.io; version="4.0.3"[exported] Imported packages com.googlecode.javaewah; version="0.7.9" <javaewah_0.7.9.v201401101600 [13]> com.jcraft.jsch; version="0.1.53" <com.jcraft.jsch_0.1.53.v201508180515 [474]> com.jcraft.jsch.jce; version="0.1.53" <com.jcraft.jsch_0.1.53.v201508180515 [474]> com.jcraft.jsch.jcraft; version="0.1.53" <com.jcraft.jsch_0.1.53.v201508180515 [474]> com.jcraft.jsch.jgss; version="0.1.53" <com.jcraft.jsch_0.1.53.v201508180515 [474]> javax.crypto; version="0.0.0" <org.eclipse.osgi_3.10.101.v20150820-1432 [0]> javax.net.ssl; version="0.0.0" <org.eclipse.osgi_3.10.101.v20150820-1432 [0]> org.slf4j; version="1.7.2" <org.slf4j.api_1.7.2.v20121108-1250 [464]> org.xml.sax; version="2.0.2" <javax.xml_1.3.4.v201005080400 [19]> org.xml.sax.helpers; version="2.0.2" <javax.xml_1.3.4.v201005080400 [19]> No fragment bundles Required bundles osgi.identity; osgi.identity="com.jcraft.jsch"; type="osgi.bundle"; version:Version="0.1.53.v201508180515" osgi> b 532 org.eclipse.jgit.archive_4.0.3.201509231615-r [532] Id=532, Status=STARTING Data Root=C:\Users\Thomas\.eclipse\org.eclipse.platform_4.5.1_1709980481_win32_win32_x86_64\configuration\org.eclipse.osgi\532\data "No registered services." No services in use. Exported packages org.eclipse.jgit.archive; version="4.0.3"[exported] Imported packages org.apache.commons.compress.archivers; version="1.6.0" <org.apache.commons.compress_1.6.0.v201310281400 [25]> org.apache.commons.compress.archivers.tar; version="1.6.0" <org.apache.commons.compress_1.6.0.v201310281400 [25]> org.apache.commons.compress.archivers.zip; version="1.6.0" <org.apache.commons.compress_1.6.0.v201310281400 [25]> org.apache.commons.compress.compressors.bzip2; version="1.6.0" <org.apache.commons.compress_1.6.0.v201310281400 [25]> org.apache.commons.compress.compressors.gzip; version="1.6.0" <org.apache.commons.compress_1.6.0.v201310281400 [25]> org.apache.commons.compress.compressors.xz; version="1.6.0" <org.apache.commons.compress_1.6.0.v201310281400 [25]> org.eclipse.jgit.api; version="4.0.3" <org.eclipse.jgit_4.0.3.201509231615-r [531]> org.eclipse.jgit.lib; version="4.0.3" <org.eclipse.jgit_4.0.3.201509231615-r [531]> org.eclipse.jgit.nls; version="4.0.3" <org.eclipse.jgit_4.0.3.201509231615-r [531]> org.eclipse.jgit.util; version="4.0.3" <org.eclipse.jgit_4.0.3.201509231615-r [531]> org.osgi.framework; version="1.8.0" <org.eclipse.osgi_3.10.101.v20150820-1432 [0]> No fragment bundles No required bundles osgi> b 1289 org.eclipse.jgit_4.1.1.201511131810-r [1289] Id=1289, Status=ACTIVE Data Root=C:\Users\Thomas\.eclipse\org.eclipse.platform_4.5.1_1709980481_win32_win32_x86_64\configuration\org.eclipse.osgi\1289\data "No registered services." No services in use. Exported packages org.eclipse.jgit.api; version="4.1.1"[exported] org.eclipse.jgit.api.errors; version="4.1.1"[exported] org.eclipse.jgit.attributes; version="4.1.1"[exported] org.eclipse.jgit.blame; version="4.1.1"[exported] org.eclipse.jgit.diff; version="4.1.1"[exported] org.eclipse.jgit.dircache; version="4.1.1"[exported] org.eclipse.jgit.errors; version="4.1.1"[exported] org.eclipse.jgit.events; version="4.1.1"[exported] org.eclipse.jgit.fnmatch; version="4.1.1"[exported] org.eclipse.jgit.gitrepo; version="4.1.1"[exported] org.eclipse.jgit.gitrepo.internal; version="4.1.1"[exported] org.eclipse.jgit.hooks; version="4.1.1"[exported] org.eclipse.jgit.ignore; version="4.1.1"[exported] org.eclipse.jgit.ignore.internal; version="4.1.1"[exported] org.eclipse.jgit.internal; version="4.1.1"[exported] org.eclipse.jgit.internal.storage.dfs; version="4.1.1"[exported] org.eclipse.jgit.internal.storage.file; version="4.1.1"[exported] org.eclipse.jgit.internal.storage.pack; version="4.1.1"[exported] org.eclipse.jgit.lib; version="4.1.1"[exported] org.eclipse.jgit.merge; version="4.1.1"[exported] org.eclipse.jgit.nls; version="4.1.1"[exported] org.eclipse.jgit.notes; version="4.1.1"[exported] org.eclipse.jgit.patch; version="4.1.1"[exported] org.eclipse.jgit.revplot; version="4.1.1"[exported] org.eclipse.jgit.revwalk; version="4.1.1"[exported] org.eclipse.jgit.revwalk.filter; version="4.1.1"[exported] org.eclipse.jgit.storage.file; version="4.1.1"[exported] org.eclipse.jgit.storage.pack; version="4.1.1"[exported] org.eclipse.jgit.submodule; version="4.1.1"[exported] org.eclipse.jgit.transport; version="4.1.1"[exported] org.eclipse.jgit.transport.http; version="4.1.1"[exported] org.eclipse.jgit.transport.resolver; version="4.1.1"[exported] org.eclipse.jgit.treewalk; version="4.1.1"[exported] org.eclipse.jgit.treewalk.filter; version="4.1.1"[exported] org.eclipse.jgit.util; version="4.1.1"[exported] org.eclipse.jgit.util.io; version="4.1.1"[exported] Imported packages com.googlecode.javaewah; version="0.7.9" <javaewah_0.7.9.v201401101600 [13]> com.jcraft.jsch; version="0.1.53" <com.jcraft.jsch_0.1.53.v201508180515 [474]> com.jcraft.jsch.jce; version="0.1.53" <com.jcraft.jsch_0.1.53.v201508180515 [474]> com.jcraft.jsch.jcraft; version="0.1.53" <com.jcraft.jsch_0.1.53.v201508180515 [474]> com.jcraft.jsch.jgss; version="0.1.53" <com.jcraft.jsch_0.1.53.v201508180515 [474]> javax.crypto; version="0.0.0" <org.eclipse.osgi_3.10.101.v20150820-1432 [0]> javax.net.ssl; version="0.0.0" <org.eclipse.osgi_3.10.101.v20150820-1432 [0]> org.eclipse.jdt.annotation; version="0.0.0" <org.eclipse.jdt.annotation_1.1.100.v20140704-0625 [195]> org.slf4j; version="1.7.2" <org.slf4j.api_1.7.2.v20121108-1250 [464]> org.xml.sax; version="2.0.2" <javax.xml_1.3.4.v201005080400 [19]> org.xml.sax.helpers; version="2.0.2" <javax.xml_1.3.4.v201005080400 [19]> No fragment bundles Required bundles osgi.identity; osgi.identity="com.jcraft.jsch"; type="osgi.bundle"; version:Version="0.1.53.v201508180515" osgi.identity; osgi.identity="org.eclipse.jdt.annotation"; type="osgi.bundle"; version:Version="1.1.100.v20140704-0625" osgi> b 1290 org.eclipse.jgit.archive_4.1.1.201511131810-r [1290] Id=1290, Status=STARTING Data Root=C:\Users\Thomas\.eclipse\org.eclipse.platform_4.5.1_1709980481_win32_win32_x86_64\configuration\org.eclipse.osgi\1290\data "No registered services." No services in use. Exported packages org.eclipse.jgit.archive; version="4.1.1"[exported] Imported packages org.apache.commons.compress.archivers; version="1.6.0" <org.apache.commons.compress_1.6.0.v201310281400 [25]> org.apache.commons.compress.archivers.tar; version="1.6.0" <org.apache.commons.compress_1.6.0.v201310281400 [25]> org.apache.commons.compress.archivers.zip; version="1.6.0" <org.apache.commons.compress_1.6.0.v201310281400 [25]> org.apache.commons.compress.compressors.bzip2; version="1.6.0" <org.apache.commons.compress_1.6.0.v201310281400 [25]> org.apache.commons.compress.compressors.gzip; version="1.6.0" <org.apache.commons.compress_1.6.0.v201310281400 [25]> org.apache.commons.compress.compressors.xz; version="1.6.0" <org.apache.commons.compress_1.6.0.v201310281400 [25]> org.eclipse.jdt.annotation; version="0.0.0" <org.eclipse.jdt.annotation_1.1.100.v20140704-0625 [195]> org.eclipse.jgit.api; version="4.1.1" <org.eclipse.jgit_4.1.1.201511131810-r [1289]> org.eclipse.jgit.lib; version="4.1.1" <org.eclipse.jgit_4.1.1.201511131810-r [1289]> org.eclipse.jgit.nls; version="4.1.1" <org.eclipse.jgit_4.1.1.201511131810-r [1289]> org.eclipse.jgit.util; version="4.1.1" <org.eclipse.jgit_4.1.1.201511131810-r [1289]> org.osgi.framework; version="1.8.0" <org.eclipse.osgi_3.10.101.v20150820-1432 [0]> No fragment bundles Required bundles osgi.identity; osgi.identity="org.eclipse.jdt.annotation"; type="osgi.bundle"; version:Version="1.1.100.v20140704-0625" Okay. I'll "silently ignore" this error for now. Thank you very much for your help so far.
(In reply to Thomas Mueller from comment #6) > > Anyway, is the following correct: > > > > - You downloaded one of the ZIP archives from [1]. > > - You later installed Eclipse Code Recommenders (including Snipmatch?) from > > the Eclipse Marketplace > > Yes, that's correct. I'm afraid I need some more details, as I cannot reproduce the two org.eclipse.jgit versions in your system. Please complete the following list by reordering and inserting installation steps that I may have missed performed: - Installed Eclipse for Java Developers (Mars SR1) (this includes o.e.r.snipmatch 2.2.4 and o.e.jgit 4.0.3) - Updated EGit (this includes o.e.jgit 4.1.1) * At this point, the "installation dialog" dialog appeared on start up - Updated Code Recommenders (this includes o.e.r.snipmatch 2.2.5) * This did not cause the dialog to disappear I am sure I missed some relevant steps, as the above list does not cause the problem for me. In particular, try to think of plugins that somehow extend EGit, e.g., GitHub integration, etc. These may have an effect on which versions of o.e.jgit are in your system as well.
I'm sorry, I cannot remember the exact installation order. But I tried the following: I completely removed the plugin Eclipse Git Team Provider - Gitflow support 4.1.1.201511131810-r and the "code recommenders" error disappeared and running "ss org.eclipse.jgit" yields only the 4.0.3 version. Then, I reinstalled the package via "Install new software" - "Work with" "EGit P2 Repository - http://download.eclipse.org/egit/updates" -> "Eclipse Git Team Provider" and the error appeared again and, voila, I have two jgit versions: 4.0.3 and 4.1.1. But I don't understand why the old version is not replaced by the newer one and what this has to do with code recommenders.
(In reply to Thomas Mueller from comment #8) > I'm sorry, I cannot remember the exact installation order. But I tried the > following: > > I completely removed the plugin > Eclipse Git Team Provider - Gitflow support 4.1.1.201511131810-r > and the "code recommenders" error disappeared and running "ss > org.eclipse.jgit" yields only the 4.0.3 version. > > Then, I reinstalled the package via "Install new software" - "Work with" > "EGit P2 Repository - http://download.eclipse.org/egit/updates" -> "Eclipse > Git Team Provider" and the error appeared again and, voila, I have two jgit > versions: 4.0.3 and 4.1.1. > > But I don't understand why the old version is not replaced by the newer one > and what this has to do with code recommenders. I tried several installation orders, installing "Code Recommenders Snipmatch" and "Eclipse Git Team Provider - Gitflow support" on top of an existing Eclipse for JEE Developers (Mars SR1), put have always been observing the correct update behavior: All o.e.jgit bundles were upgrade from 4.0.3 to 4.1.1, with no older versions lying around. What really confuses me, however, is that "-clean" does not work. As far as I can see there is an easy solution to the uses conflict: Just wire all o.e.r.snipmatch* bundles to a particular version of o.e.jgit. that obviously results in a working install -- as witnessed by all the Eclipse installations I tried out since yesterday. I think I'll have to ask the Equinox guys about this.
(In reply to Thomas Mueller from comment #4) > But even if I run eclipse as > Administrator with the clean Option, I do not get rid of the error message. For the record: I interpret this statement as meaning that Thomas actual did a eclipse -clean from the command line himself. This would would rule out that the code behind our "Restart with -clean" button is the culprit.
FYI, I'm seeing this too in Eclipse Mars for JEE.
(In reply to Elliotte Rusty Harold from comment #11) > FYI, I'm seeing this too in Eclipse Mars for JEE. By this you mean that the unresolved bundle is exactly "org.eclipse.recommenders.snipmatch.rcp"? If so, could you please do the following: (In reply to Andreas Sewe from comment #1) > To help us understand what's going on, can you please open the Console > > Host OSGi Console view and enter the following commands: > > ss org.eclipse.recommenders > diag org.eclipse.recommenders.snipmatch.rcp > > Then add the commands' output as a comment to this bug. Thank you.
I don't think so. Let me see if I can trigger it again. Meanwhile here's my stack trace that looks related: org.osgi.framework.BundleException: Could not resolve module: org.eclipse.recommenders.models [703] Unresolved requirement: Import-Package: org.eclipse.aether.transport.http; version="[1.0.0,1.1.0)" -> Export-Package: org.eclipse.aether.transport.http; bundle-version="1.0.1.v20141111"; bundle-symbolic-name="org.eclipse.aether.transport.http"; version="1.0.1.v20141111"; uses:="javax.inject,org.eclipse.aether,org.eclipse.aether.repository,org.eclipse.aether.spi.connector.transport,org.eclipse.aether.spi.locator,org.eclipse.aether.spi.log,org.eclipse.aether.transfer" org.eclipse.aether.transport.http [79] 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.eclipse.aether.transport.http [osgi.identity; osgi.identity="org.eclipse.aether.transport.http"; type="osgi.bundle"; version:Version="1.0.1.v20141111"] because it is exposed to package 'org.apache.http' from resources org.apache.httpcomponents.httpcore [osgi.identity; osgi.identity="org.apache.httpcomponents.httpcore"; type="osgi.bundle"; version:Version="4.3.3.v201411290715"] and org.apache.httpcomponents.httpcore [osgi.identity; osgi.identity="org.apache.httpcomponents.httpcore"; type="osgi.bundle"; version:Version="4.4.6.v20170210-0925"] via two dependency chains. Chain 1: org.eclipse.aether.transport.http [osgi.identity; osgi.identity="org.eclipse.aether.transport.http"; type="osgi.bundle"; version:Version="1.0.1.v20141111"] import: (&(osgi.wiring.package=org.apache.http)(&(version>=4.2.1)(!(version>=4.4.0)))) | export: osgi.wiring.package: org.apache.http org.apache.httpcomponents.httpcore [osgi.identity; osgi.identity="org.apache.httpcomponents.httpcore"; type="osgi.bundle"; version:Version="4.3.3.v201411290715"] Chain 2: org.eclipse.aether.transport.http [osgi.identity; osgi.identity="org.eclipse.aether.transport.http"; type="osgi.bundle"; version:Version="1.0.1.v20141111"] import: (&(osgi.wiring.package=org.apache.http.auth)(&(version>=4.2.1)(!(version>=4.4.0)))) | export: osgi.wiring.package=org.apache.http.auth; uses:=org.apache.http.protocol org.apache.httpcomponents.httpclient [osgi.identity; osgi.identity="org.apache.httpcomponents.httpclient"; type="osgi.bundle"; version:Version="4.3.6.v201411290715"] import: (&(osgi.wiring.package=org.apache.http.protocol)(version>=4.3.3)) | export: osgi.wiring.package: org.apache.http.protocol; uses:=org.apache.http export: osgi.wiring.package=org.apache.http org.apache.httpcomponents.httpcore [osgi.identity; osgi.identity="org.apache.httpcomponents.httpcore"; type="osgi.bundle"; version:Version="4.4.6.v20170210-0925"] at org.eclipse.osgi.container.Module.start(Module.java:434) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476) 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)
Also this: org.osgi.framework.BundleException: Could not resolve module: org.eclipse.recommenders.apidocs.rcp [690] Unresolved requirement: Require-Bundle: org.eclipse.recommenders.apidocs; bundle-version="[2.3.0,2.3.1)" -> Bundle-SymbolicName: org.eclipse.recommenders.apidocs; bundle-version="2.3.0.v20160216-1255" org.eclipse.recommenders.apidocs [689] Unresolved requirement: Require-Bundle: org.eclipse.recommenders.models; bundle-version="[2.3.0,2.3.1)" -> Bundle-SymbolicName: org.eclipse.recommenders.models; bundle-version="2.3.0.v20160216-1255" org.eclipse.recommenders.models [703] Unresolved requirement: Import-Package: org.eclipse.aether.transport.http; version="[1.0.0,1.1.0)" -> Export-Package: org.eclipse.aether.transport.http; bundle-version="1.0.1.v20141111"; bundle-symbolic-name="org.eclipse.aether.transport.http"; version="1.0.1.v20141111"; uses:="javax.inject,org.eclipse.aether,org.eclipse.aether.repository,org.eclipse.aether.spi.connector.transport,org.eclipse.aether.spi.locator,org.eclipse.aether.spi.log,org.eclipse.aether.transfer" org.eclipse.aether.transport.http [79] No resolution report for the bundle. Unresolved requirement: Require-Bundle: org.eclipse.recommenders.models; bundle-version="[2.3.0,2.3.1)" -> Bundle-SymbolicName: org.eclipse.recommenders.models; bundle-version="2.3.0.v20160216-1255" Unresolved requirement: Require-Bundle: org.eclipse.recommenders.models.rcp; bundle-version="[2.3.0,2.3.1)" -> Bundle-SymbolicName: org.eclipse.recommenders.models.rcp; bundle-version="2.3.0.v20160216-1255"; singleton:="true" org.eclipse.recommenders.models.rcp [704] Unresolved requirement: Require-Bundle: org.eclipse.recommenders.models; bundle-version="[2.3.0,2.3.1)" -> Bundle-SymbolicName: org.eclipse.recommenders.models; bundle-version="2.3.0.v20160216-1255" Bundle was not resolved because of a uses contraint violation. org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource org.eclipse.aether.transport.http [osgi.identity; osgi.identity="org.eclipse.aether.transport.http"; type="osgi.bundle"; version:Version="1.0.1.v20141111"] because it is exposed to package 'org.apache.http' from resources org.apache.httpcomponents.httpcore [osgi.identity; osgi.identity="org.apache.httpcomponents.httpcore"; type="osgi.bundle"; version:Version="4.3.3.v201411290715"] and org.apache.httpcomponents.httpcore [osgi.identity; osgi.identity="org.apache.httpcomponents.httpcore"; type="osgi.bundle"; version:Version="4.4.6.v20170210-0925"] via two dependency chains. Chain 1: org.eclipse.aether.transport.http [osgi.identity; osgi.identity="org.eclipse.aether.transport.http"; type="osgi.bundle"; version:Version="1.0.1.v20141111"] import: (&(osgi.wiring.package=org.apache.http)(&(version>=4.2.1)(!(version>=4.4.0)))) | export: osgi.wiring.package: org.apache.http org.apache.httpcomponents.httpcore [osgi.identity; osgi.identity="org.apache.httpcomponents.httpcore"; type="osgi.bundle"; version:Version="4.3.3.v201411290715"] Chain 2: org.eclipse.aether.transport.http [osgi.identity; osgi.identity="org.eclipse.aether.transport.http"; type="osgi.bundle"; version:Version="1.0.1.v20141111"] import: (&(osgi.wiring.package=org.apache.http.auth)(&(version>=4.2.1)(!(version>=4.4.0)))) | export: osgi.wiring.package=org.apache.http.auth; uses:=org.apache.http.protocol org.apache.httpcomponents.httpclient [osgi.identity; osgi.identity="org.apache.httpcomponents.httpclient"; type="osgi.bundle"; version:Version="4.3.6.v201411290715"] import: (&(osgi.wiring.package=org.apache.http.protocol)(version>=4.3.3)) | export: osgi.wiring.package: org.apache.http.protocol; uses:=org.apache.http export: osgi.wiring.package=org.apache.http org.apache.httpcomponents.httpcore [osgi.identity; osgi.identity="org.apache.httpcomponents.httpcore"; type="osgi.bundle"; version:Version="4.4.6.v20170210-0925"] at org.eclipse.osgi.container.Module.start(Module.java:434) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476) 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)
Created attachment 271814 [details] screenshot of error dialog Here's a screenshot of the specific error. Also note that there are several problems with this dialog, aside from the bug itself: 1. Restarting eclipse should not be available as a button here. It's too drastic a response. 2. What if I want to ignore future bundle resolution failures, but not restart. Does cancelling work? It seems to, but this is unclear. There should be an OK button, not a restart button. And probably no cancel button at all. 3. The list does not support multiselect so I couldn't copy and paste all the bundles to report them here. 4. The label text isn't selectable at all, so I can't copy and paste it either. See http://cafe.elharo.com/ui/error-dialogs-for-the-internet-age/ for why copy and paste of UI text is a good idea.
(In reply to Elliotte Rusty Harold from comment #13) > I don't think so. Let me see if I can trigger it again. Meanwhile here's my > stack trace that looks related: > > org.osgi.framework.BundleException: Could not resolve module: > org.eclipse.recommenders.models [703] > Unresolved requirement: Import-Package: org.eclipse.aether.transport.http; > version="[1.0.0,1.1.0)" > -> Export-Package: org.eclipse.aether.transport.http; > bundle-version="1.0.1.v20141111"; > bundle-symbolic-name="org.eclipse.aether.transport.http"; > version="1.0.1.v20141111"; > uses:="javax.inject,org.eclipse.aether,org.eclipse.aether.repository,org. > eclipse.aether.spi.connector.transport,org.eclipse.aether.spi.locator,org. > eclipse.aether.spi.log,org.eclipse.aether.transfer" > org.eclipse.aether.transport.http [79] > 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.eclipse.aether.transport.http [osgi.identity; > osgi.identity="org.eclipse.aether.transport.http"; type="osgi.bundle"; > version:Version="1.0.1.v20141111"] because it is exposed to package > 'org.apache.http' from resources org.apache.httpcomponents.httpcore > [osgi.identity; osgi.identity="org.apache.httpcomponents.httpcore"; > type="osgi.bundle"; version:Version="4.3.3.v201411290715"] and > org.apache.httpcomponents.httpcore [osgi.identity; > osgi.identity="org.apache.httpcomponents.httpcore"; type="osgi.bundle"; > version:Version="4.4.6.v20170210-0925"] via two dependency chains. Thanks for the log. This error is in fact different from the one Thomas Mueller reported in comment 0. I noticed that the version of Code Recommenders is quite old (2.3.0 from February 2106). I am fairly confident that upgrading to a newer version (2.5.0 is due this week with Eclipse Oxygen.2) will solve the issue, as there have been quite a few upgrades to the upstream dependencies that are involved in the wiring issue. Alas, I can't find a specific bug report, although I am sure that we have seen and analyzed this httpcomponents wiring issue before.