Fatal Execution failure...entry point
-
miércoles, 29 de febrero de 2012 0:54
I have a small project which I'm trying to integrate to an existing automation framework. The model is small and simple, I have run into an issue I can't understand.
"Error 1 fatal execution failure: Method CordCode.SetActiveRecursively_0(Unity.IntegrationTests.MBTThomas.AssetStateMBT,System.String,System.Int32,System.Boolean) doesn't have an entry point.
Setting type "CordCode" to native with "Microsoft.Xrt.Runtime.NativeTypeAttribute" or in XRT.Config file might solve the problem. Spec Explorer 0 0 "SetActiveRecursively is the problem, but I don't understand why. I have it in my adaptor, but I get the error above. If I make the same method in another class with the same signature, it does work. Please explain this error, because I can't interpret it correctly.
Thanks,
Thomas
EDIT: tried to reply, but I can't place the cursor in the reply field. Tried on IE9 and Chrome on Win64.
Anyways, I've found that I can get around this error by changing my parameter generation. This will fail:
action void AssetState.Sample.StaticAssetAdapter.SetActiveRecursively(string rootLabel, int level, bool active)
where
{.
Condition.In<string>(rootLabel, "B");
Condition.In<int>(level, 0, 2);
Combination.Pairwise(rootLabel, level, active);
.};
while this works:
action void Unity.IntegrationTests.MBTThomas.AssetStateMBT.SetActiveRecursively(string rootLabel, int level, bool active)
where rootLabel in {"B"}, level in {0};
Even if I remove the Combination.Pairwise statement, the top declaration will result in the error I mention in this thread.
- Editado Thomas Petersen miércoles, 29 de febrero de 2012 7:33
Todas las respuestas
-
lunes, 05 de marzo de 2012 9:26
Hi Thomas,
The two ways of specifying parameter domains should both work. I tried the CORD snippet in your post but wasn't able to reproduce the issue. Maybe there's still some subtle difference between my model and yours. Would you mind sending your model project to speccon@microsoft.com for a further investigation?
Thanks,
Yiming
Thanks, Yiming
-
viernes, 16 de marzo de 2012 6:05
Hey,
I've since worked on the model and just now I tried to revert the action in question and it works now. I can't get back to the stage where it was at the time of the original post.
Regards,
Thomas
- Marcado como respuesta Thomas Petersen viernes, 16 de marzo de 2012 6:06

