[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 08:49:47 EST 2014


    [ https://issues.jboss.org/browse/JBIDE-16595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12945208#comment-12945208 ] 

Koen Aers commented on JBIDE-16595:
-----------------------------------

I don't really know why Eclipse produces these stack traces. These are my findings:
- When started in Java 7, everything behaves normally
- When started in Java 6, the plugins that state 'Bundle-RequiredExecutionEnvironment: JavaSE-1.7' and have 'Bundle-ActivationPolicy: lazy' produce an error message but everything seems to work as expected
- When started in Java 6, upon removal of the 'Bundle-ActivationPolicy: lazy', there is no error anymore but the plugins do not start properly

Could this be an Eclipse/Equinox problem?
                
> 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