[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[p2-dev] "java.lang.IllegalStateException: The profile is currently in use."
- From: "Torkild U. Resheim" <torkildr@xxxxxxxxx>
- Date: Thu, 18 May 2017 15:44:44 +0200
- Delivered-to: firstname.lastname@example.org
Iâm currently working on a service that may start up to a few hundred headless instances of an Eclipse based application at the same time. It appears that there is a delicate part to this as I sometimes will have the application exiting with the message:
Message: Error while running startup command '[Ljava.lang.String;@1a2e0d57': java.lang.IllegalStateException: The profile is currently in use.
Exception: java.lang.IllegalStateException: The profile is currently in use.
Iâm sorry I donât have the entire stack trace. For some reason itâs not logged.
I assumed there is some reconciliation going on so I attempted to avoid this by issuing -Dorg.eclipse.update.reconcile=false, which did not help. Iâve also removed org.eclipse.equinox.p2.ui.sdk.*-bundles to avoid automatic update checks etc.
It would be great if someone could explain to me what p2 attempts to do and how I can disable whatever checks that are going on.
Torkild U. Resheim