In Guvnor 5.1 I have several rules that invoke services defined as globals.  Rules that invoke methods on these globals run OK when deployed, but a test scenario that triggers such a rule gets an exception.

 

For example, with a global named “logger” a rule that has in its THEN clause:

                logger.debug("customer was added to session");

 

Test Scenario that triggers this rule gets the error:

                [Error: unable to access property (null parent): debug]

 

Thanks for your help.