Illegal State in Profile Timestamp [message #688164] |
Thu, 23 June 2011 23:54  |
Eclipse User |
|
|
|
Anyone have any idea why this is happening? It doesn't seem to be happening on my (failing for a different reason) headless build, but only in my IDE. I saw another message about this but the answer seemed to be some sort of random changes to the configuration that seemed like baling wire and that don't work for me anyway.
[ant] !ENTRY org.eclipse.osgi 4 0 2011-06-23 20:50:51.246
[ant] !MESSAGE Application error
[ant] !STACK 1
[ant] java.lang.IllegalStateException: Profile AMPProfile is not current. Expected timestamp 1308887450418 but was 1308887450418.
[ant] at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.lockProfile(SimpleProfileRegistry.java:758)
[ant] at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:67)
[ant] at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:44)
[ant] at org.eclipse.equinox.internal.provisional.p2.director.PlanExecutionHelper.executePlan(PlanExecutionHelper.java:41)
[ant] at org.eclipse.equinox.internal.provisional.p2.director.PlanExecutionHelper.executePlan(PlanExecutionHelper.java:23)
[ant] at org.eclipse.equinox.internal.p2.director.app.DirectorApplication.updateRoamingProperties(DirectorApplication.java:1214)
[ant] at org.eclipse.equinox.internal.p2.director.app.DirectorApplication.performProvisioningActions(DirectorApplication.java:677)
[ant] at org.eclipse.equinox.internal.p2.director.app.DirectorApplication.run(DirectorApplication.java:978)
[ant] at org.eclipse.equinox.internal.p2.director.app.DirectorApplication.start(DirectorApplication.java:1160)
[ant] at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
[ant] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
[ant] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
[ant] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
[ant] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
[ant] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ant] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[ant] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ant] at java.lang.reflect.Method.invoke(Method.java:597)
[ant] at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
[ant] at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
[ant] at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
[ant] at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
[
|
|
|
|
|
Re: Illegal State in Profile Timestamp [message #761704 is a reply to message #720011] |
Tue, 06 December 2011 18:05  |
Eclipse User |
|
|
|
Just in case someone else finds their way to this thread with similar issue... I resolved this by adding namespace prefixes to addRepository in p2.inf. Example:
instructions.configure=\
addRepository(location:http${#58}//my.update.site.com/,type:0,name:Herp Derp update site,enabled:true);\
changed to:
instructions.configure=\
org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//my.update.site.com/,type:0,name:Herp Derp update site,enabled:true);\
and it works in 3.6.x and 3.7.x!
Never had this problem with headless Buckminster & p2 product builds. It was only when running from within the IDE.
Cheers!
Casey
[Updated on: Tue, 06 December 2011 18:06] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04204 seconds