Locked Fatal Execution failure...entry point

  • 2012년 2월 29일 수요일 오전 12: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. 

모든 응답

  • 2012년 3월 5일 월요일 오전 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

  • 2012년 3월 16일 금요일 오전 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

    • 답변으로 표시됨 Thomas Petersen 2012년 3월 16일 금요일 오전 6:06
    •