Download Blaze Trial
Follow FICO
LinkedIn   Twitter   Youtube
Close To access this section, please choose the Community Neighborhood in which you have the most interest.

» Business Rules Management
» Collections & Recovery
» Fraud Management
» Risk Management
» Scoring
Close To access this section, please choose the Community Neighborhood in which you have the most interest.

» Business Rules Management
» Collections & Recovery
» Fraud Management
» Risk Management
» Scoring
Reply
Valued Contributor
Posts: 70
Registered: ‎10-20-2008
Accepted Solution

Exception when debugging rule service initialization - BA 6.10.1 .NET

[ Edited ]

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?

Valued Contributor
Posts: 70
Registered: ‎10-20-2008

Re: Exception when debugging rule service initialization - BA 6.10.1 .NET

No one got any similar experiences?

Valued Contributor
Posts: 70
Registered: ‎10-20-2008

Re: Exception when debugging rule service initialization - BA 6.10.1 .NET

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?