Forum Discussion

FICO's avatar
FICO
Community Manager
14 years ago

Exception when debugging rule service initialization - BA 6.10.1 .NET

Exception when debugging rule service initialization - BA 6.10.1 .NET

Hi

Environment: Win 7 64 bit, BA 6.10.1 .NET 64 bit, NET Framework 4.0, Visual Studio 2010. Direct repository access with dmanager, no precompiled adb.  Executing code by running/debugging unit tests from Visual Studio. We are having problems in all our projects when debugging code that invokes a rule service. An exception occurs when calling NdStatelessServer.invokeService, but only when debugging tests. When running tests without debugging it works fine. java.rmi.RemoteException: "Error getting project file contents" inner exception: java.lang.IllegalArgumentException: "Field 'G' defined on type 'com.blazesoft.engines.rules.NdRuleSet' is not a field on the target object which is of type 'com.blazesoft.engines.rules.NdRuleSet+RuleSetEvaluator'." inner exception: System.SystemException [System.ArgumentException] _exceptionMethod: Void CheckConsistency(System.Object) _Message: Field 'G' defined on type 'com.blazesoft.engines.rules.NdRuleSet' is not a field on the target object which is of type 'com.blazesoft.engines.rules.NdRuleSet+RuleSetEvaluator'. _source: '"mscorlib" Anyone got some pointers on what we are doing wrong here?

2 Replies

  • FICO's avatar
    FICO
    Community Manager

    No one got any similar experiences?

  • FICO's avatar
    FICO
    Community Manager

    I've done a bit of investigating on this issue today using a clean project, and it seems what triggers is for us is the combination of

    • 64 bit referred assemblies
    • Deployment manager
    • Debugging the invocation of a rule service through a Unit Test

    I'm surprised no one else have had this issue if that's all it takes? Can anyone confirm having success with this setup?