[Anthill-pro] Potential serious Stamping Problem in 3.5.2

Mikal Todd mtodd at bravurasolutions.com
Thu Jul 3 21:50:23 CDT 2008


Hi,

I've been battling with this for about 2 hours now and it does look very much like a bug in 3.5.2 which is now blocking what I was about to do.

Basically I have stamps setup like those in the instructions, with the project property being passed to the job which has the stamp context set in the stamping set to that set in the property.

I have 2 stamps. Dev and Prod

We hadn't used Dev yet. Now I have 2 branches I need one to build with Dev and one with Prod. Prod has been in use for months with the below syntax (except its called Prod Stamp) without any problems.

The property is called 'Dev Stamp' and against the stamp has ${+property:Dev Stamp}

When it executes it gets:

 2008-07-04 14:33:22,668 ERROR job/138/43 3 - No Stamp Token specified for StampStyle.
 2008-07-04 14:33:22,668 DEBUG job/138/43 3 - No Stamp Token specified for StampStyle.
 com.urbancode.command.CommandException: No Stamp Token specified for StampStyle.
  at com.urbancode.anthill3.step.stamp.StampStep.perform(StampStep.java:132)
  at com.urbancode.anthill3.services.jobs.StepExecutor.execute(StepExecutor.java:274)
  at com.urbancode.anthill3.services.jobs.StepExecutor.execute(StepExecutor.java:347)
  at com.urbancode.anthill3.services.jobs.SimpleAgentJobDelegate.perform(SimpleAgentJobDelegate.java:259)
  at com.urbancode.anthill3.services.jobs.Job.run(Job.java:156)
  at com.urbancode.commons.util.ThreadPool$WorkerThread.run(ThreadPool.java:208)
 Caused by: java.lang.IllegalStateException: No Stamp Token specified for StampStyle.
  at com.urbancode.anthill3.step.stamp.StampStep.perform(StampStep.java:114)
  ... 5 more

But the sequence inside the stamp within the job DOES get incremented. Happens on both Windows and Linux agents

Either I'm missing something really silly, or the stamping contexts are broken. Help!?

Cheers,

Mike


More information about the Anthill-pro mailing list