Correct configuration |
Wrong configuration |
Correct configuration |
Wrong configuration |
java.lang.IllegalArgumentException: Profile id _SELF_ is not registered.
at org.eclipse.equinox.internal.p2.director.ProfileChangeRequest.createByProfileId(ProfileChangeRequest.java:47)
at org.eclipse.equinox.p2.operations.InstallOperation.computeProfileChangeRequest(InstallOperation.java:74)
at org.eclipse.equinox.p2.operations.ProfileChangeOperation.makeResolveJob(ProfileChangeOperation.java:165)
at org.eclipse.equinox.p2.operations.ProfileChangeOperation.resolveModal(ProfileChangeOperation.java:113)
at com.example.e4.rcp.todo.handlers.InstallHandler$1.run(InstallHandler.java:93)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
It is working when I try to run the example in Eclipse IDE but after the product is exported, this exception is thrown.org.apache.felix.gogo.command_0.8.0v<version>.jar
org.apache.felix.gogo.runtime_0.8.0v<version>.jar
org.apache.felix.gogo.shell_0.8.0v<version>.jar
org.eclipse.equinox.console_1.0.0v<version>.jar
osgi.bundles=org.eclipse.equinox.console.jar@start,org.apache.felix.gogo.command.jar@start,org.apache.felix.gogo.runtime.jar@start,org.apache.felix.gogo.shell.jar@startNow you can test the OSGI console with: