Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » BundleException after switching from RAP 3.2 M4 to RAP 3.2 M5
BundleException after switching from RAP 3.2 M4 to RAP 3.2 M5 [message #1769385] Mon, 31 July 2017 09:01 Go to next message
Frank Gruendel is currently offline Frank GruendelFriend
Messages: 22
Registered: January 2014
Junior Member
Hi experts,

recently I "won" the task of setting up a new development environment with a new Eclipse and a new RAP version. Unfortunately, our RAP expert is currently enjoying his well-deserved vacation.

Eclipse old: Mars
RAP old: Version 3.0.2

Eclipse new: Oxygen
RAP new: 3.2.0

Using Oxygen, everything works hunky dory up to and including RAP 3.2 M4. As of RAP 3.2 M5 our application won't start due to a BundleException.

I have (of course) checked the "New and notworthy" page of RAP 3.2 M5, but I haven't seen anything there to make me believe I need to change anything in addition to changing the Eclipse target version if I want to use M5.

I am not a huge fan of posting stacktraces, but since I do not feel confident enough to figure out what exactly I could ask without looking dumb, please allow me to do so anyway. Any pointers and hints will be much appreciated.

Thanks a lot in advance

Frank


org.osgi.framework.BundleException: Could not resolve module: com.heidelberg.st.console.webserver [24]
Unresolved requirement: Require-Bundle: com.heidelberg.st.console.common; bundle-version="1.0.0"
-> Bundle-SymbolicName: com.heidelberg.st.console.common; bundle-version="1.0.0.qualifier"
com.heidelberg.st.console.common [42]
Unresolved requirement: Import-Package: org.eclipse.ui.plugin
-> Export-Package: org.eclipse.ui.plugin; bundle-symbolic-name="org.eclipse.rap.ui.workbench"; bundle-version="3.2.0.20170410-1123"; version="0.0.0"
org.eclipse.rap.ui.workbench [33]
Unresolved requirement: Require-Bundle: org.eclipse.equinox.http.registry
-> Bundle-SymbolicName: org.eclipse.equinox.http.registry; bundle-version="1.1.400.v20150715-1528"; singleton:="true"
org.eclipse.equinox.http.registry [59]
Unresolved requirement: Import-Package: org.osgi.service.http; version="1.2.0"
-> Export-Package: org.osgi.service.http; bundle-symbolic-name="org.eclipse.osgi.services"; bundle-version="3.6.0.v20170228-1906"; version="1.2.1"; uses:="javax.servlet,javax.servlet.http"
org.eclipse.osgi.services [61]
Unresolved requirement: Import-Package: org.osgi.util.function; version="[1.0.0,2.0.0)"
Unresolved requirement: Require-Bundle: org.eclipse.osgi.services
-> Bundle-SymbolicName: org.eclipse.osgi.services; bundle-version="3.6.0.v20170228-1906"
Unresolved requirement: Import-Package: org.eclipse.rap.rwt.osgi; version="[3.2.0,4.0.0)"
-> Export-Package: org.eclipse.rap.rwt.osgi; bundle-symbolic-name="org.eclipse.rap.rwt.osgi"; bundle-version="3.2.0.20160811-0840"; version="3.2.0"
org.eclipse.rap.rwt.osgi [50]
Unresolved requirement: Import-Package: org.osgi.service.http; version="[1.2.0,2.0.0)"
-> Export-Package: org.osgi.service.http; bundle-symbolic-name="org.eclipse.osgi.services"; bundle-version="3.6.0.v20170228-1906"; version="1.2.1"; uses:="javax.servlet,javax.servlet.http"
Unresolved requirement: Require-Bundle: org.eclipse.equinox.http.servlet; bundle-version="1.0.100"
-> Bundle-SymbolicName: org.eclipse.equinox.http.servlet; bundle-version="1.4.0.v20170524-1452"
org.eclipse.equinox.http.servlet [64]
Unresolved requirement: Import-Package: org.apache.commons.fileupload; version="[1.2.2,2.0.0)"; resolution:="optional"
Unresolved requirement: Import-Package: org.apache.commons.fileupload.disk; version="[1.2.2,2.0.0)"; resolution:="optional"
Unresolved requirement: Import-Package: org.apache.commons.fileupload.servlet; version="[1.2.2,2.0.0)"; resolution:="optional"
Unresolved requirement: Import-Package: org.osgi.service.http; version="[1.2.0,1.3.0)"
-> Export-Package: org.osgi.service.http; bundle-symbolic-name="org.eclipse.osgi.services"; bundle-version="3.6.0.v20170228-1906"; version="1.2.1"; uses:="javax.servlet,javax.servlet.http"
Unresolved requirement: Require-Bundle: com.heidelberg.st.console.lispreferences; bundle-version="1.0.0"
-> Bundle-SymbolicName: com.heidelberg.st.console.lispreferences; bundle-version="1.0.0.qualifier"; singleton:="true"
com.heidelberg.st.console.lispreferences [30]
Unresolved requirement: Require-Bundle: com.heidelberg.st.console.common
-> Bundle-SymbolicName: com.heidelberg.st.console.common; bundle-version="1.0.0.qualifier"
Unresolved requirement: Require-Bundle: com.heidelberg.st.console.repository; bundle-version="1.0.0"
-> Bundle-SymbolicName: com.heidelberg.st.console.repository; bundle-version="1.0.0.qualifier"; singleton:="true"
com.heidelberg.st.console.repository [28]
Unresolved requirement: Require-Bundle: com.heidelberg.st.console.common
-> Bundle-SymbolicName: com.heidelberg.st.console.common; bundle-version="1.0.0.qualifier"
Unresolved requirement: Require-Bundle: com.heidelberg.st.console.model.workflow; bundle-version="1.0.0"
-> Bundle-SymbolicName: com.heidelberg.st.console.model.workflow; bundle-version="1.0.0.qualifier"
com.heidelberg.st.console.model.workflow [7]
Unresolved requirement: Require-Bundle: com.heidelberg.st.console.common; bundle-version="1.0.0"
-> Bundle-SymbolicName: com.heidelberg.st.console.common; bundle-version="1.0.0.qualifier"
Unresolved requirement: Require-Bundle: com.heidelberg.st.console.repository; bundle-version="1.0.0"
-> Bundle-SymbolicName: com.heidelberg.st.console.repository; bundle-version="1.0.0.qualifier"; singleton:="true"
Unresolved requirement: Require-Bundle: com.heidelberg.st.console.repository; bundle-version="1.0.0"
-> Bundle-SymbolicName: com.heidelberg.st.console.repository; bundle-version="1.0.0.qualifier"; singleton:="true"
Unresolved requirement: Require-Bundle: org.eclipse.equinox.http.registry; bundle-version="1.0.100"
-> Bundle-SymbolicName: org.eclipse.equinox.http.registry; bundle-version="1.1.400.v20150715-1528"; singleton:="true"

at org.eclipse.osgi.container.Module.start(Module.java:444)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1628)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1608)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1579)
at org.eclipse.osgi.container.SystemModule.startWorker(SystemModule.java:264)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.container.SystemModule.start(SystemModule.java:188)
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383)
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:402)
at org.eclipse.osgi.launch.Equinox.start(Equinox.java:115)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:326)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:239)
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:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
at org.eclipse.equinox.launcher.Main.main(Main.java:1472)

[Updated on: Mon, 31 July 2017 14:26]

Report message to a moderator

Re: BundleException after switching from RAP 3.2 M4 to RAP 3.2 M5 [message #1769470 is a reply to message #1769385] Mon, 31 July 2017 21:12 Go to previous message
Chris Fairhall is currently offline Chris FairhallFriend
Messages: 206
Registered: February 2011
Senior Member
Have you done an "ss" on the osgi console to make sure all the bundles you expect to be active are in fact active?
You might get a more informative error if you manually try and restart your bundle via the console with "start <bundle-id>"
Previous Topic:Persisted State with new RAP e4 3.2
Next Topic:RAP GEF endless redraw, no UI Access..
Goto Forum:
  


Current Time: Fri Oct 19 11:44:44 GMT 2018

Powered by FUDForum. Page generated in 0.01514 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top