HI Shubham,

  Thanks for your response. 

The problem is when I use (fail-property  resource="PartyUiLabels"
property="PartyFirstNameMissing")  ofbiz log this error message in ofbiz.log
file (you see all java stack above): 

Error in simple-method operation [<call-simple-map-processor/>]:
java.lang.IllegalArgumentException: locale cannot be null
Exception: java.lang.IllegalArgumentException
Message: locale cannot be null

Even if in my java code I sent the locale object in the context like this:

              locale = UtilHttp.getLocale(request);
              Map context = FastMap.newInstance();
              context.put("locale",locale);
              context.put("userLogin",userLogin);
              ...
              Map summaryResult = dispatcher.runSync("ccmsCreateGuarantor",
context);


And the PartyUiLabels is set in the commonScreen.xml like this:
  <property-map resource="PartyUiLabels" map-name="uiLabelMap"
global="true"/>

I'm stuck here because I can't figure out why the java exception and why
locale is null. I logged the value of locale just before 
'call-map-processor' and the value is correct (fr_CA). 

Thanks

Saad.
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/fail-property-inside-call-map-processor-problem-tp2067904p2069307.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to