Created attachment 846879 [details] exported repository which contains reproducer Description of problem: Problem to fire a MVEL rule, whose salience is 9223372036854775807, in Guvnor. The value 9223372036854775807 is java.lang.Long.MAX_VALUE. If I run a test program in JBDS, I can run without any Exception. Version-Release number of selected component (if applicable): BRMS 5.3.1 with Rollup Patch#3 Steps to Reproduce: 1: import attached repository into guvnor 2: run a Test Scenarios named "salience" Actual results: java.lang.NullPointerException is thrown Expected results: Run a test without Exception Additional info: If I change a dialect of the rule from "mvel" to "java", I can run the test without any Exception.
Salience is an int value so assigning to it a long one is not legal.
Hi, Mario. I understand that long value is not allowed to use. Now I want to request a either way to avoid a run time error. - When building a package in Guvnor, throw Exception for the salience value - Validation for rule points out a warning about the limitation for the salience value Could you consider this option please? If I need to open another ticket, please let me know.
Hisao, I think the best way to improve this is to validate the value in the UI. Lets do that for the next version: 6.0. Can you please open/clone this ticket for 6.0? I am closing this one.