PDA

View Full Version : Invalid step index error


ChrisF
01-28-2010, 11:42 AM
I'm testing a script that builds our code every 30 mins. So far no one is checking in code yet, so I just make the script run every 30 mins. On the 17th run I get

Invalid step index

What's that? Again, I'm just checking out code every 30 mins. and compiling it. I get this during the compile steps.

kinook
01-28-2010, 11:48 AM
http://www.kinook.com/Forum/showthread.php?threadid=3044

ChrisF
01-28-2010, 01:22 PM
I just want to know what it means. Since nothing changed, includeing my version of VBPro between the 30 min builds, I got curious. I have VBPro7, and this happened on a step compiling with Visual Studio 2008.

kinook
01-28-2010, 01:30 PM
Something passed an out of range step index to a call to retrieve a step.
http://www.kinook.com/VisBuildPro/Manual/stepitemproperty.htm

VBP itself uses the object model, so it's possible that the problem is with VBP itself, although we have not encountered or heard of this error before now, so we would need more info to investigate. Script code in a Run Script step or script expression could also be calling the object model.
http://www.kinook.com/VisBuildPro/Manual/script.htm