CalculateField cannot open shape file .. why??

Discussion created by kebella@ on Feb 2, 2012
Hi there,
I am making an add-in for arcmap 10 in Java.I using a "for" cicle for adding a new filed in a shape file with "AddField" CLASS
          AddField stripField = new AddField(path, "Strip", "TEXT");
                gp.execute(stripField, null);

and after I using a CalculateField for inizialize this Field in this mode 

               CalculateField stripCalc = new CalculateField(path,"Strip","mytextvalue");
           gp.execute(stripCalc, null);

I haven't a problem with AddField,but CalculateField  returned this errore....

Cannot open shape file (path of shape...)


Help me please.

P.S. Excuse me for my bad English