Andreas Nilsen

Exception when debugging rule service initialization - BA 6.10.1 .NET

Discussion created by Andreas Nilsen on Feb 14, 2012
Latest reply on Mar 8, 2012 by Andreas Nilsen

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?

Outcomes