Skip to main content



      Home
Home » Archived » Buckminster » Illegal State in Profile Timestamp
Illegal State in Profile Timestamp [message #688164] Thu, 23 June 2011 23:54 Go to next message
Eclipse UserFriend
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 #718923 is a reply to message #688164] Thu, 25 August 2011 11:49 Go to previous messageGo to next message
Eclipse UserFriend
Hi Miles,
Did you ever figure out a solution to this? I'm having the same problem with our Buckminster p2 build when I use the Helios IDE (3.6.2).

Headless 3.6 buckminster builds do not have this problem, nor do buckminster builds running in 3.5.2 IDE.

Perplexed,
Casey
Re: Illegal State in Profile Timestamp [message #720011 is a reply to message #718923] Mon, 29 August 2011 12:45 Go to previous messageGo to next message
Eclipse UserFriend
Casey Marshall wrote on Thu, 25 August 2011 11:49
Hi Miles,
Did you ever figure out a solution to this? I'm having the same problem with our Buckminster p2 build when I use the Helios IDE (3.6.2).

Headless 3.6 buckminster builds do not have this problem, nor do buckminster builds running in 3.5.2 IDE.

Perplexed,
Casey


I'm sorry, but I'm drawing a total blank on this now. It must be a repressed memory. Smile I put aside my buckminster build work for a while, and I'm on 3.7 now but I'll report back here if I can reproduce.

Miles
Re: Illegal State in Profile Timestamp [message #761704 is a reply to message #720011] Tue, 06 December 2011 18:05 Go to previous message
Eclipse UserFriend
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

Previous Topic:Order of precedence for ant actor general properties
Next Topic:Building Javadoc of multiple projects
Goto Forum:
  


Current Time: Wed Jul 23 02:30:05 EDT 2025

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

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

Back to the top