When running the migration tool shipped by BPMS 6.1 against repository generated by BRMS 5.2, the rule that that uses a java.text.SimpleDateFormat in 5.2 is incorrectly converted in 6.1. For example, In 5.2, any rule that uses a java.util.Date produces the following line in the .rdrl file: java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("dd-MMM-yyyy"); During migration, however, the line is transformed to an invalid form that will throw exceptions at runtime: java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("null");
Fixed in master: http://github.com/droolsjbpm/drools-wb/commit/a9a8f0015
Cherry-picked into 6.2.x: http://github.com/droolsjbpm/drools-wb/commit/c4346d08e
Verified in 6.2.0.ER5.