Project: mule
Issue MULE-8515: NPE in is-long validator when setting a null locale
When setting programatically the locale to null validator fails with NPE {code:xml} {code} {code} @Test public void otherIsLong() throws Exception { MuleEvent event; event = getTestEvent("400%"); event.setFlowVariable("pattern", "###%"); event.setFlowVariable("locale", null); event.setFlowVariable("minValue", null); event.setFlowVariable("maxValue", null); event.setFlowVariable("message", "Wrong pattern."); event.setFlowVariable("exceptionClass", java.lang.ArrayIndexOutOfBoundsException.class); runFlow("full-long", event); } {code}
Story points: 1