Forum Discussion
FICO
14 years agoCommunity Manager
Evaluation error: unexpected value: null
Evaluation error: unexpected value: null We are using a Java-BOM with quite complex objects. When the objects are filled not necessarilly all properties are filled and these properties can themselv...
FICO
14 years agoCommunity Manager
Hi Niek,
I'm guessing that in the SRL portion of your original rule you coded something like this:
if (damagedItem.vehicle.make = <makeVH> ) then ...
I have to admit, I am too much of a Java beginner to even follow your code attempt but, Yes, it does negate RETE because all conditions will be "if (true)". So, I would first suggest that you try:
if ( damagedItem.vehicle.make is not null and
damagedItem.vehicle.make = <makeVH> ) then ....
If any part of the path is null then this will fail. There is no need to test each piece individually. This will be coded as part of your template, the RMA will not show the null test code. It "happens behind the scene" to save your users the trouble.
Tom Sheckells
Business Rules Consulting, Inc.
Related Content
Related Content
Error: Unexpected failure accessing global file / no available space on data medium
Hi everyone, I try to solve a huge capacitated facility location problem. After the run time of 2 days and still no optimal solution the following error occurred: ?45 Error: Unexpected failure acces...3 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum4 unread comments4 unread0Views0likes4CommentsI am getting an error while creating ADB from RMA but I did not get any error while compiling my project when I check server file I got this log and error was due to a function name ** nd_getAdbUniqueId_ ** I want to know the reason.
where I can find this function also how I can resolve this because it is not happening on everytime I generate ADB Once this error appear I asked my teammate to genearte adb and this works. Attache...6Views0likes1Comment- 0Views0likes1Comment