[jbosstools-issues] [JBoss JIRA] (JBIDE-16595) Forge shows error when running IDE with Java 6
Koen Aers (JIRA)
issues at jboss.org
Mon Feb 17 09:03:48 EST 2014
[ https://issues.jboss.org/browse/JBIDE-16595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12945215#comment-12945215 ]
Koen Aers commented on JBIDE-16595:
-----------------------------------
As an additional illustration, one can easily reproduce a similar problem by doing the following:
- create a new plug-in project using all the defaults
=> make sure the execution environment is Java 7
=> verify the box 'Activate this plug-in when one of its classes is loaded' is checked
- launch a new eclipse runtime using Java 6 as its execution environment
=> the newly created plug-in will produce the same stack trace
> Forge shows error when running IDE with Java 6
> ----------------------------------------------
>
> Key: JBIDE-16595
> URL: https://issues.jboss.org/browse/JBIDE-16595
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: forge
> Affects Versions: 4.2.0.Alpha2
> Reporter: Pavol Srna
> Assignee: Koen Aers
> Priority: Blocker
> Fix For: 4.2.0.Alpha2
>
> Attachments: forge-err.png
>
>
> StackTrace:
> ----------------
> org.osgi.framework.BundleException: Could not resolve module: org.jboss.tools.forge.ui.ext [1039]
> Unresolved requirement: osgi.wiring.bundle; filter:="(osgi.wiring.bundle=org.jboss.tools.forge2.runtime)"
> -> osgi.wiring.bundle; osgi.wiring.bundle="org.jboss.tools.forge2.runtime"; bundle-version:Version="2.0.1.Alpha2-v20140212-0016-B11"; singleton:="true"
> org.jboss.tools.forge2.runtime [1042]
> Unresolved requirement: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"
> at org.eclipse.osgi.container.Module.start(Module.java:424)
> at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1551)
> at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1530)
> at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1502)
> at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1445)
> 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: org.osgi.service.resolver.ResolutionException: Unable to resolve osgi.identity; osgi.identity="org.jboss.tools.forge.ui.ext"; type="osgi.bundle"; version:Version="1.1.0.Alpha2-v20140212-0016-B11"; singleton:="true": missing requirement osgi.wiring.bundle; filter:="(osgi.wiring.bundle=org.jboss.tools.forge2.runtime)" [caused by: Unable to resolve osgi.identity; osgi.identity="org.jboss.tools.forge2.runtime"; type="osgi.bundle"; version:Version="2.0.1.Alpha2-v20140212-0016-B11"; singleton:="true": missing requirement osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"]
> at org.apache.felix.resolver.Candidates.populateResource(Candidates.java:291)
> at org.apache.felix.resolver.Candidates.populate(Candidates.java:154)
> at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:146)
> at org.eclipse.osgi.container.ModuleResolver$ResolveProcess.resolveSingleRevision(ModuleResolver.java:948)
> at org.eclipse.osgi.container.ModuleResolver$ResolveProcess.resolve(ModuleResolver.java:874)
> at org.eclipse.osgi.container.ModuleResolver.resolveDelta(ModuleResolver.java:111)
> at org.eclipse.osgi.container.ModuleContainer.resolveAndApply(ModuleContainer.java:471)
> at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:429)
> at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:419)
> at org.eclipse.osgi.container.Module.start(Module.java:406)
> ... 7 more
> Root exception:
> org.osgi.service.resolver.ResolutionException: Unable to resolve osgi.identity; osgi.identity="org.jboss.tools.forge.ui.ext"; type="osgi.bundle"; version:Version="1.1.0.Alpha2-v20140212-0016-B11"; singleton:="true": missing requirement osgi.wiring.bundle; filter:="(osgi.wiring.bundle=org.jboss.tools.forge2.runtime)" [caused by: Unable to resolve osgi.identity; osgi.identity="org.jboss.tools.forge2.runtime"; type="osgi.bundle"; version:Version="2.0.1.Alpha2-v20140212-0016-B11"; singleton:="true": missing requirement osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"]
> at org.apache.felix.resolver.Candidates.populateResource(Candidates.java:291)
> at org.apache.felix.resolver.Candidates.populate(Candidates.java:154)
> at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:146)
> at org.eclipse.osgi.container.ModuleResolver$ResolveProcess.resolveSingleRevision(ModuleResolver.java:948)
> at org.eclipse.osgi.container.ModuleResolver$ResolveProcess.resolve(ModuleResolver.java:874)
> at org.eclipse.osgi.container.ModuleResolver.resolveDelta(ModuleResolver.java:111)
> at org.eclipse.osgi.container.ModuleContainer.resolveAndApply(ModuleContainer.java:471)
> at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:429)
> at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:419)
> at org.eclipse.osgi.container.Module.start(Module.java:406)
> at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1551)
> at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1530)
> at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1502)
> at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1445)
> 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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list