Hi all,
I am trying to call a service from java code, but I receive the exception "Locale cannot be null". I would like to notice that I logged (<log level="info" message="Locale value: ${locale}"/>) and I belive that it is OK not null because in the log file ofbiz.log I can see Locate value: fr_CA below the java code, service code, error log file and the revision number; any help is appreciated. ofbiz rev.: 935104 Here is the java code : ======================= Map context = FastMap.newInstance(); context.put("locale",locale); context.put("userLogin",userLogin); context.put("USER_TITLE",request.getParameter("USER_TITLE_0")); context.put("USER_FIRST_NAME",request.getParameter("USER_FIRST_NAME_0")); context.put("USER_MIDDLE_NAME",request.getParameter("USER_MIDDLE_NAME_0")); context.put("USER_LAST_NAME",request.getParameter("USER_LAST_NAME_0")); context.put("USER_SUFFIX",request.getParameter("USER_SUFFIX_0")); context.put("COMMONADDRESS1",request.getParameter("COMMONADDRESS1_0")); context.put("COMMONADDRESS2",request.getParameter("COMMONADDRESS2_0")); context.put("COMMONCITY",request.getParameter("COMMONCITY_0")); context.put("COMMONSTATE",request.getParameter("COMMONSTATE_0")); context.put("USER_POSTAL_CODE",request.getParameter("COMMONSTATE_0")); context.put("USER_COUNTRY",request.getParameter("USER_COUNTRY_0")); context.put("USER_ADDRESS_ALLOW_SOL",request.getParameter("USER_ADDRESS_ALLOW_SOL_0")); context.put("USER_HOME_COUNTRY",request.getParameter("USER_HOME_COUNTRY_0")); context.put("USER_HOME_AREA",request.getParameter("USER_HOME_AREA_0")); context.put("USER_HOME_CONTACT",request.getParameter("USER_HOME_CONTACT_0")); context.put("USER_HOME_EXT",request.getParameter("USER_HOME_EXT_0")); context.put("USER_HOME_ALLOW_SOL",request.getParameter("USER_HOME_ALLOW_SOL_0")); context.put("USER_WORK_COUNTRY",request.getParameter("USER_WORK_COUNTRY_0")); context.put("USER_WORK_AREA",request.getParameter("USER_WORK_AREA_0")); context.put("USER_WORK_CONTACT",request.getParameter("USER_WORK_CONTACT_0")); context.put("USER_WORK_EXT",request.getParameter("USER_WORK_EXT_0")); context.put("USER_WORK_ALLOW_SOL",request.getParameter("USER_WORK_ALLOW_SOL_0")); context.put("USER_FAX_COUNTRY",request.getParameter("USER_FAX_COUNTRY_0")); context.put("USER_FAX_AREA",request.getParameter("USER_FAX_AREA_0")); context.put("USER_FAX_CONTACT",request.getParameter("USER_FAX_CONTACT_0")); context.put("USER_FAX_EXT",request.getParameter("USER_FAX_EXT_0")); context.put("USER_FAX_ALLOW_SOL",request.getParameter("USER_FAX_ALLOW_SOL_0")); context.put("USER_MOBILE_COUNTRY",request.getParameter("USER_MOBILE_COUNTRY_0")); context.put("USER_MOBILE_AREA",request.getParameter("USER_MOBILE_AREA_0")); context.put("USER_MOBILE_CONTACT",request.getParameter("USER_MOBILE_CONTACT_0")); context.put("USER_MOBILE_ALLOW_SOL",request.getParameter("USER_MOBILE_ALLOW_SOL_0")); context.put("USER_EMAIL",request.getParameter("USER_EMAIL_0")); context.put("USER_EMAIL_ALLOW_SOL",request.getParameter("USER_EMAIL_ALLOW_SOL_0")); context.put("USERNAME",request.getParameter("USERNAME_0")); context.put("PASSWORD",request.getParameter("PASSWORD_0")); context.put("CONFIRM_PASSWORD",request.getParameter("CONFIRM_PASSWORD_0")); Map summaryResult = dispatcher.runSync("ccmsCreateGuarantor", context); if (summaryResult.get("errorMessageList")!=null){ request.setAttribute("errorMessageList", summaryResult.get("errorMessageList")); return "error"; } // if String partyId = (String) summaryResult.get("partyId"); Debug.logVerbose("Created ccmsCreateGuarantor Party: "+partyId, module); Here is the service code : The CcmsUserEvents.xml file is a copy of the userEvents.xml file in party application. ====================================================================================== <service name="ccmsCreateGuarantor" engine="simple" location="component://ccms/script/org/ofbiz/ccms/CcmsUserEvents.xml" invoke="ccmsCreateCustomer" auth="false"> <description>CCMS Create guarantor</description> <attribute name="USER_TITLE" type="String" mode="IN" optional="true"/> <attribute name="USER_FIRST_NAME" type="String" mode="IN" optional="false"/> <attribute name="USER_MIDDLE_NAME" type="String" mode="IN" optional="true"/> <attribute name="USER_LAST_NAME" type="String" mode="IN" optional="false"/> <attribute name="USER_SUFFIX" type="String" mode="IN" optional="true"/> <attribute name="COMMONADDRESS1" type="String" mode="IN" optional="false"/> <attribute name="COMMONADDRESS2" type="String" mode="IN" optional="true"/> <attribute name="COMMONCITY" type="String" mode="IN" optional="false"/> <attribute name="COMMONSTATE" type="String" mode="IN" optional="false"/> <attribute name="USER_POSTAL_CODE" type="String" mode="IN" optional="false"/> <attribute name="USER_COUNTRY" type="String" mode="IN" optional="false"/> <attribute name="USER_ADDRESS_ALLOW_SOL" type="String" mode="IN" optional="true"/> <attribute name="USER_HOME_COUNTRY" type="String" mode="IN" optional="true"/> <attribute name="USER_HOME_AREA" type="String" mode="IN" optional="true"/> <attribute name="USER_HOME_CONTACT" type="String" mode="IN" optional="true"/> <attribute name="USER_HOME_EXT" type="String" mode="IN" optional="true"/> <attribute name="USER_HOME_ALLOW_SOL" type="String" mode="IN" optional="true"/> <attribute name="USER_WORK_COUNTRY" type="String" mode="IN" optional="true"/> <attribute name="USER_WORK_AREA" type="String" mode="IN" optional="true"/> <attribute name="USER_WORK_CONTACT" type="String" mode="IN" optional="true"/> <attribute name="USER_WORK_EXT" type="String" mode="IN" optional="true"/> <attribute name="USER_WORK_ALLOW_SOL" type="String" mode="IN" optional="true"/> <attribute name="USER_FAX_COUNTRY" type="String" mode="IN" optional="true"/> <attribute name="USER_FAX_AREA" type="String" mode="IN" optional="true"/> <attribute name="USER_FAX_CONTACT" type="String" mode="IN" optional="true"/> <attribute name="USER_FAX_EXT" type="String" mode="IN" optional="true"/> <attribute name="USER_FAX_ALLOW_SOL" type="String" mode="IN" optional="true"/> <attribute name="USER_MOBILE_COUNTRY" type="String" mode="IN" optional="true"/> <attribute name="USER_MOBILE_AREA" type="String" mode="IN" optional="true"/> <attribute name="USER_MOBILE_CONTACT" type="String" mode="IN" optional="true"/> <attribute name="USER_MOBILE_ALLOW_SOL" type="String" mode="IN" optional="true"/> <attribute name="USER_EMAIL" type="String" mode="IN" optional="true"/> <attribute name="USER_EMAIL_ALLOW_SOL" type="String" mode="IN" optional="true"/> <attribute name="USERNAME" type="String" mode="IN" optional="true"/> <attribute name="PASSWORD" type="String" mode="IN" optional="true"/> <attribute name="CONFIRM_PASSWORD" type="String" mode="IN" optional="true"/> </service> Here is the error.log: ====================== 2010-04-17 14:13:28,531 (http-0.0.0.0-8443-1) [ SimpleMethod.java:925:ERROR] ---- runtime exception report -------------------------------------------------- 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 ---- stack trace --------------------------------------------------------------- java.lang.IllegalArgumentException: locale cannot be null org.ofbiz.base.util.UtilProperties.getResourceBundle(UtilProperties.java:540) org.ofbiz.base.util.UtilProperties.getMessage(UtilProperties.java:445) org.ofbiz.minilang.operation.SimpleMapOperation.addMessage(SimpleMapOperation.java:62) org.ofbiz.minilang.operation.ValidateMethod.exec(ValidateMethod.java:101) org.ofbiz.minilang.operation.SimpleMapProcess.exec(SimpleMapProcess.java:49) org.ofbiz.minilang.operation.MapProcessor.exec(MapProcessor.java:65) org.ofbiz.minilang.method.callops.CallSimpleMapProcessor.exec(CallSimpleMapProcessor.java:103) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920) org.ofbiz.minilang.method.ifops.IfNotEmpty.exec(IfNotEmpty.java:101) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920) org.ofbiz.minilang.method.ifops.IfCompare.exec(IfCompare.java:132) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920) org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:739) org.ofbiz.minilang.method.callops.CallSimpleMethod.exec(CallSimpleMethod.java:86) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920) org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:739) org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:142) org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:53) org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:761) _$gen.file_58$.C_58$.eclipse.workspace.ofbiz_45$09_46$04.hot_45$deploy.ccms.servicedef.services_46$xml_35$ccmsCreateGuarantor.runSync(file:/C:/eclipse/workspace/ofbiz-09.04/hot-deploy/ccms/servicedef/services.xml#ccmsCreateGuarantor:14) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:399) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:165) org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.sendDataParty2DB(CcmsProcessRegistrationForm.java:510) org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.createNewCCMSParty(CcmsProcessRegistrationForm.java:200) org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.processRegistrationForm(CcmsProcessRegistrationForm.java:113) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92) org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:637) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:383) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227) org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:90) javax.servlet.http.HttpServlet.service(HttpServlet.java:710) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) java.lang.Thread.run(Thread.java:619) -------------------------------------------------------------------------------- 2010-04-17 14:13:28,531 (http-0.0.0.0-8443-1) [ SimpleMethod.java:925:ERROR] ---- runtime exception report -------------------------------------------------- Error in simple-method operation [<if-not-empty field-name="emailContext.emailAddress" map-name=""/>]: java.lang.RuntimeException: Error in simple-method operation [<call-simple-map-processor/>]: java.lang.IllegalArgumentException: locale cannot be null Exception: java.lang.RuntimeException Message: Error in simple-method operation [<call-simple-map-processor/>]: java.lang.IllegalArgumentException: locale cannot be null ---- stack trace --------------------------------------------------------------- java.lang.RuntimeException: Error in simple-method operation [<call-simple-map-processor/>]: java.lang.IllegalArgumentException: locale cannot be null org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:926) org.ofbiz.minilang.method.ifops.IfNotEmpty.exec(IfNotEmpty.java:101) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920) org.ofbiz.minilang.method.ifops.IfCompare.exec(IfCompare.java:132) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920) org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:739) org.ofbiz.minilang.method.callops.CallSimpleMethod.exec(CallSimpleMethod.java:86) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920) org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:739) org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:142) org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:53) org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:761) _$gen.file_58$.C_58$.eclipse.workspace.ofbiz_45$09_46$04.hot_45$deploy.ccms.servicedef.services_46$xml_35$ccmsCreateGuarantor.runSync(file:/C:/eclipse/workspace/ofbiz-09.04/hot-deploy/ccms/servicedef/services.xml#ccmsCreateGuarantor:14) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:399) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:165) org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.sendDataParty2DB(CcmsProcessRegistrationForm.java:510) org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.createNewCCMSParty(CcmsProcessRegistrationForm.java:200) org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.processRegistrationForm(CcmsProcessRegistrationForm.java:113) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92) org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:637) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:383) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227) org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:90) javax.servlet.http.HttpServlet.service(HttpServlet.java:710) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) java.lang.Thread.run(Thread.java:619) -------------------------------------------------------------------------------- 2010-04-17 14:13:28,531 (http-0.0.0.0-8443-1) [ SimpleMethod.java:925:ERROR] ---- runtime exception report -------------------------------------------------- Error in simple-method operation [<if-compare field-name="require_email" map-name="" value="true"/>]: java.lang.RuntimeException: Error in simple-method operation [<if-not-empty field-name="emailContext.emailAddress" map-name=""/>]: java.lang.RuntimeException: Error in simple-method operation [<call-simple-map-processor/>]: java.lang.IllegalArgumentException: locale cannot be null Exception: java.lang.RuntimeException Message: Error in simple-method operation [<if-not-empty field-name="emailContext.emailAddress" map-name=""/>]: java.lang.RuntimeException: Error in simple-method operation [<call-simple-map-processor/>]: java.lang.IllegalArgumentException: locale cannot be null ---- stack trace --------------------------------------------------------------- java.lang.RuntimeException: Error in simple-method operation [<if-not-empty field-name="emailContext.emailAddress" map-name=""/>]: java.lang.RuntimeException: Error in simple-method operation [<call-simple-map-processor/>]: java.lang.IllegalArgumentException: locale cannot be null org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:926) org.ofbiz.minilang.method.ifops.IfCompare.exec(IfCompare.java:132) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920) org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:739) org.ofbiz.minilang.method.callops.CallSimpleMethod.exec(CallSimpleMethod.java:86) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920) org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:739) org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:142) org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:53) org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:761) _$gen.file_58$.C_58$.eclipse.workspace.ofbiz_45$09_46$04.hot_45$deploy.ccms.servicedef.services_46$xml_35$ccmsCreateGuarantor.runSync(file:/C:/eclipse/workspace/ofbiz-09.04/hot-deploy/ccms/servicedef/services.xml#ccmsCreateGuarantor:14) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:399) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:165) org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.sendDataParty2DB(CcmsProcessRegistrationForm.java:510) org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.createNewCCMSParty(CcmsProcessRegistrationForm.java:200) org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.processRegistrationForm(CcmsProcessRegistrationForm.java:113) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92) org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:637) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:383) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227) org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:90) javax.servlet.http.HttpServlet.service(HttpServlet.java:710) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) java.lang.Thread.run(Thread.java:619) -------------------------------------------------------------------------------- 2010-04-17 14:13:28,671 (http-0.0.0.0-8443-1) [ SimpleMethod.java:743:ERROR] Erreur pendant la simple-method: Error in simple-method operation [<if-compare field-name="require_email" map-name="" value="true"/>]: java.lang.RuntimeException: Error in simple-method operation [<if-not-empty field-name="emailContext.emailAddress" map-name=""/>]: java.lang.RuntimeException: Error in simple-method operation [<call-simple-map-processor/>]: java.lang.IllegalArgumentException: locale cannot be null 2010-04-17 14:13:28,703 (http-0.0.0.0-8443-1) [ TransactionUtil.java:280:ERROR] ---- exception report ---------------------------------------------------------- Rollback Only was set when trying to commit transaction here; throwing rollbackOnly cause exception Exception: javax.transaction.RollbackException Message: Unable to commit: transaction marked for rollback ---- stack trace --------------------------------------------------------------- javax.transaction.RollbackException: Unable to commit: transaction marked for rollback org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:271) org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:245) org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:259) org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:245) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:554) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:165) org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.sendDataParty2DB(CcmsProcessRegistrationForm.java:510) org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.createNewCCMSParty(CcmsProcessRegistrationForm.java:200) org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.processRegistrationForm(CcmsProcessRegistrationForm.java:113) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92) org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:637) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:383) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227) org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:90) javax.servlet.http.HttpServlet.service(HttpServlet.java:710) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) java.lang.Thread.run(Thread.java:619) -------------------------------------------------------------------------------- 2010-04-17 14:13:28,718 (http-0.0.0.0-8443-1) [ ServiceDispatcher.java:557:ERROR] ---- exception report ---------------------------------------------------------- Could not commit transaction for service [ccmsCreateGuarantor] call Exception: org.ofbiz.entity.transaction.GenericTransactionException Message: Roll back error, could not commit transaction, was rolled back instead because of: Error in simple-method [CCMS Create User [file:/C:/eclipse/workspace/ofbiz-09.04/hot-deploy/ccms/script/org/ofbiz/ccms/CcmsUserEvents.xml#ccmsCreateUser]]: Erreur pendant la simple-method: Error in simple-method operation [<if-compare field-name="require_email" map-name="" value="true"/>]: java.lang.RuntimeException: Error in simple-method operation [<if-not-empty field-name="emailContext.emailAddress" map-name=""/>]: java.lang.RuntimeException: Error in simple-method operation [<call-simple-map-processor/>]: java.lang.IllegalArgumentException: locale cannot be null<br/>null ---- stack trace --------------------------------------------------------------- org.ofbiz.entity.transaction.GenericTransactionException: Roll back error, could not commit transaction, was rolled back instead because of: Error in simple-method [CCMS Create User [file:/C:/eclipse/workspace/ofbiz-09.04/hot-deploy/ccms/script/org/ofbiz/ccms/CcmsUserEvents.xml#ccmsCreateUser]]: Erreur pendant la simple-method: Error in simple-method operation [<if-compare field-name="require_email" map-name="" value="true"/>]: java.lang.RuntimeException: Error in simple-method operation [<if-not-empty field-name="emailContext.emailAddress" map-name=""/>]: java.lang.RuntimeException: Error in simple-method operation [<call-simple-map-processor/>]: java.lang.IllegalArgumentException: locale cannot be null<br/>null org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:281) org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:245) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:554) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:165) org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.sendDataParty2DB(CcmsProcessRegistrationForm.java:510) org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.createNewCCMSParty(CcmsProcessRegistrationForm.java:200) org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.processRegistrationForm(CcmsProcessRegistrationForm.java:113) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92) org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:637) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:383) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227) org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:90) javax.servlet.http.HttpServlet.service(HttpServlet.java:710) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) java.lang.Thread.run(Thread.java:619) -------------------------------------------------------------------------------- 2010-04-17 14:13:28,718 (http-0.0.0.0-8443-1) [CcmsProcessRegistrationForm.java:519:ERROR] ---- exception report ---------------------------------------------------------- Failed to ccmsCreateGuarantor Exception: org.ofbiz.service.GenericServiceException Message: Could not commit transaction for service [ccmsCreateGuarantor] call: Roll back error, could not commit transaction, was rolled back instead because of: Error in simple-method [CCMS Create User [file:/C:/eclipse/workspace/ofbiz-09.04/hot-deploy/ccms/script/org/ofbiz/ccms/CcmsUserEvents.xml#ccmsCreateUser]]: Erreur pendant la simple-method: Error in simple-method operation [<if-compare field-name="require_email" map-name="" value="true"/>]: java.lang.RuntimeException: Error in simple-method operation [<if-not-empty field-name="emailContext.emailAddress" map-name=""/>]: java.lang.RuntimeException: Error in simple-method operation [<call-simple-map-processor/>]: java.lang.IllegalArgumentException: locale cannot be null<br/>null ---- stack trace --------------------------------------------------------------- org.ofbiz.service.GenericServiceException: Could not commit transaction for service [ccmsCreateGuarantor] call: Roll back error, could not commit transaction, was rolled back instead because of: Error in simple-method [CCMS Create User [file:/C:/eclipse/workspace/ofbiz-09.04/hot-deploy/ccms/script/org/ofbiz/ccms/CcmsUserEvents.xml#ccmsCreateUser]]: Erreur pendant la simple-method: Error in simple-method operation [<if-compare field-name="require_email" map-name="" value="true"/>]: java.lang.RuntimeException: Error in simple-method operation [<if-not-empty field-name="emailContext.emailAddress" map-name=""/>]: java.lang.RuntimeException: Error in simple-method operation [<call-simple-map-processor/>]: java.lang.IllegalArgumentException: locale cannot be null<br/>null org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:561) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:165) org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.sendDataParty2DB(CcmsProcessRegistrationForm.java:510) org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.createNewCCMSParty(CcmsProcessRegistrationForm.java:200) org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.processRegistrationForm(CcmsProcessRegistrationForm.java:113) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92) org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:637) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:383) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227) org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:90) javax.servlet.http.HttpServlet.service(HttpServlet.java:710) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) java.lang.Thread.run(Thread.java:619) -------------------------------------------------------------------------------- Any help is appreciated. |
Administrator
|
I think we all saw your message on user ML. No needs to duplicate here, see why here :
http://cwiki.apache.org/confluence/display/OFBADMIN/Mailing+Lists#MailingLists-DesignanddevelopmentList:dev@... Just be patient... Thanks Jacques From: "S.Hage" <[hidden email]> > Hi all, > > I am trying to call a service from java code, but I receive the > exception "Locale cannot be null". > > I would like to notice that I logged (<log level="info" message="Locale > value: ${locale}"/>) > and I belive that it is OK not null because in the log file ofbiz.log I can > see Locate value: fr_CA > > > below the java code, service code, error log file and the revision number; > > > any help is appreciated. > > > ofbiz rev.: 935104 > > Here is the java code : > ======================= > > > Map context = FastMap.newInstance(); > > context.put("locale",locale); > context.put("userLogin",userLogin); > > context.put("USER_TITLE",request.getParameter("USER_TITLE_0")); > > context.put("USER_FIRST_NAME",request.getParameter("USER_FIRST_NAME_0")); > > context.put("USER_MIDDLE_NAME",request.getParameter("USER_MIDDLE_NAME_0")); > > context.put("USER_LAST_NAME",request.getParameter("USER_LAST_NAME_0")); > context.put("USER_SUFFIX",request.getParameter("USER_SUFFIX_0")); > > context.put("COMMONADDRESS1",request.getParameter("COMMONADDRESS1_0")); > > context.put("COMMONADDRESS2",request.getParameter("COMMONADDRESS2_0")); > context.put("COMMONCITY",request.getParameter("COMMONCITY_0")); > context.put("COMMONSTATE",request.getParameter("COMMONSTATE_0")); > context.put("USER_POSTAL_CODE",request.getParameter("COMMONSTATE_0")); > context.put("USER_COUNTRY",request.getParameter("USER_COUNTRY_0")); > > context.put("USER_ADDRESS_ALLOW_SOL",request.getParameter("USER_ADDRESS_ALLOW_SOL_0")); > > context.put("USER_HOME_COUNTRY",request.getParameter("USER_HOME_COUNTRY_0")); > > context.put("USER_HOME_AREA",request.getParameter("USER_HOME_AREA_0")); > > context.put("USER_HOME_CONTACT",request.getParameter("USER_HOME_CONTACT_0")); > context.put("USER_HOME_EXT",request.getParameter("USER_HOME_EXT_0")); > > context.put("USER_HOME_ALLOW_SOL",request.getParameter("USER_HOME_ALLOW_SOL_0")); > > context.put("USER_WORK_COUNTRY",request.getParameter("USER_WORK_COUNTRY_0")); > > context.put("USER_WORK_AREA",request.getParameter("USER_WORK_AREA_0")); > > context.put("USER_WORK_CONTACT",request.getParameter("USER_WORK_CONTACT_0")); > context.put("USER_WORK_EXT",request.getParameter("USER_WORK_EXT_0")); > > context.put("USER_WORK_ALLOW_SOL",request.getParameter("USER_WORK_ALLOW_SOL_0")); > > context.put("USER_FAX_COUNTRY",request.getParameter("USER_FAX_COUNTRY_0")); > context.put("USER_FAX_AREA",request.getParameter("USER_FAX_AREA_0")); > > context.put("USER_FAX_CONTACT",request.getParameter("USER_FAX_CONTACT_0")); > context.put("USER_FAX_EXT",request.getParameter("USER_FAX_EXT_0")); > > context.put("USER_FAX_ALLOW_SOL",request.getParameter("USER_FAX_ALLOW_SOL_0")); > > context.put("USER_MOBILE_COUNTRY",request.getParameter("USER_MOBILE_COUNTRY_0")); > > context.put("USER_MOBILE_AREA",request.getParameter("USER_MOBILE_AREA_0")); > > context.put("USER_MOBILE_CONTACT",request.getParameter("USER_MOBILE_CONTACT_0")); > > context.put("USER_MOBILE_ALLOW_SOL",request.getParameter("USER_MOBILE_ALLOW_SOL_0")); > context.put("USER_EMAIL",request.getParameter("USER_EMAIL_0")); > > context.put("USER_EMAIL_ALLOW_SOL",request.getParameter("USER_EMAIL_ALLOW_SOL_0")); > context.put("USERNAME",request.getParameter("USERNAME_0")); > context.put("PASSWORD",request.getParameter("PASSWORD_0")); > > context.put("CONFIRM_PASSWORD",request.getParameter("CONFIRM_PASSWORD_0")); > > > Map summaryResult = dispatcher.runSync("ccmsCreateGuarantor", > context); > if (summaryResult.get("errorMessageList")!=null){ > request.setAttribute("errorMessageList", > summaryResult.get("errorMessageList")); > return "error"; > } // if > String partyId = (String) summaryResult.get("partyId"); > Debug.logVerbose("Created ccmsCreateGuarantor Party: "+partyId, > module); > > > > > Here is the service code : > The CcmsUserEvents.xml file is a copy of the userEvents.xml file in party > application. > ====================================================================================== > > <service name="ccmsCreateGuarantor" engine="simple" > location="component://ccms/script/org/ofbiz/ccms/CcmsUserEvents.xml" > invoke="ccmsCreateCustomer" auth="false"> > <description>CCMS Create guarantor</description> > <attribute name="USER_TITLE" type="String" mode="IN" optional="true"/> > <attribute name="USER_FIRST_NAME" type="String" mode="IN" > optional="false"/> > <attribute name="USER_MIDDLE_NAME" type="String" mode="IN" > optional="true"/> > <attribute name="USER_LAST_NAME" type="String" mode="IN" > optional="false"/> > <attribute name="USER_SUFFIX" type="String" mode="IN" optional="true"/> > <attribute name="COMMONADDRESS1" type="String" mode="IN" > optional="false"/> > <attribute name="COMMONADDRESS2" type="String" mode="IN" optional="true"/> > <attribute name="COMMONCITY" type="String" mode="IN" optional="false"/> > <attribute name="COMMONSTATE" type="String" mode="IN" optional="false"/> > <attribute name="USER_POSTAL_CODE" type="String" mode="IN" > optional="false"/> > <attribute name="USER_COUNTRY" type="String" mode="IN" optional="false"/> > <attribute name="USER_ADDRESS_ALLOW_SOL" type="String" mode="IN" > optional="true"/> > <attribute name="USER_HOME_COUNTRY" type="String" mode="IN" > optional="true"/> > <attribute name="USER_HOME_AREA" type="String" mode="IN" optional="true"/> > <attribute name="USER_HOME_CONTACT" type="String" mode="IN" > optional="true"/> > <attribute name="USER_HOME_EXT" type="String" mode="IN" optional="true"/> > <attribute name="USER_HOME_ALLOW_SOL" type="String" mode="IN" > optional="true"/> > <attribute name="USER_WORK_COUNTRY" type="String" mode="IN" > optional="true"/> > <attribute name="USER_WORK_AREA" type="String" mode="IN" optional="true"/> > <attribute name="USER_WORK_CONTACT" type="String" mode="IN" > optional="true"/> > <attribute name="USER_WORK_EXT" type="String" mode="IN" optional="true"/> > <attribute name="USER_WORK_ALLOW_SOL" type="String" mode="IN" > optional="true"/> > <attribute name="USER_FAX_COUNTRY" type="String" mode="IN" > optional="true"/> > <attribute name="USER_FAX_AREA" type="String" mode="IN" optional="true"/> > <attribute name="USER_FAX_CONTACT" type="String" mode="IN" > optional="true"/> > <attribute name="USER_FAX_EXT" type="String" mode="IN" optional="true"/> > <attribute name="USER_FAX_ALLOW_SOL" type="String" mode="IN" > optional="true"/> > <attribute name="USER_MOBILE_COUNTRY" type="String" mode="IN" > optional="true"/> > <attribute name="USER_MOBILE_AREA" type="String" mode="IN" > optional="true"/> > <attribute name="USER_MOBILE_CONTACT" type="String" mode="IN" > optional="true"/> > <attribute name="USER_MOBILE_ALLOW_SOL" type="String" mode="IN" > optional="true"/> > <attribute name="USER_EMAIL" type="String" mode="IN" optional="true"/> > <attribute name="USER_EMAIL_ALLOW_SOL" type="String" mode="IN" > optional="true"/> > <attribute name="USERNAME" type="String" mode="IN" optional="true"/> > <attribute name="PASSWORD" type="String" mode="IN" optional="true"/> > <attribute name="CONFIRM_PASSWORD" type="String" mode="IN" > optional="true"/> > > </service> > > > Here is the error.log: > ====================== > > 2010-04-17 14:13:28,531 (http-0.0.0.0-8443-1) [ > SimpleMethod.java:925:ERROR] > ---- runtime exception report > -------------------------------------------------- > 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 > ---- stack trace > --------------------------------------------------------------- > java.lang.IllegalArgumentException: locale cannot be null > org.ofbiz.base.util.UtilProperties.getResourceBundle(UtilProperties.java:540) > org.ofbiz.base.util.UtilProperties.getMessage(UtilProperties.java:445) > org.ofbiz.minilang.operation.SimpleMapOperation.addMessage(SimpleMapOperation.java:62) > org.ofbiz.minilang.operation.ValidateMethod.exec(ValidateMethod.java:101) > org.ofbiz.minilang.operation.SimpleMapProcess.exec(SimpleMapProcess.java:49) > org.ofbiz.minilang.operation.MapProcessor.exec(MapProcessor.java:65) > org.ofbiz.minilang.method.callops.CallSimpleMapProcessor.exec(CallSimpleMapProcessor.java:103) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920) > org.ofbiz.minilang.method.ifops.IfNotEmpty.exec(IfNotEmpty.java:101) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920) > org.ofbiz.minilang.method.ifops.IfCompare.exec(IfCompare.java:132) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920) > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:739) > org.ofbiz.minilang.method.callops.CallSimpleMethod.exec(CallSimpleMethod.java:86) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920) > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:739) > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:142) > org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) > org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:53) > org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:761) > _$gen.file_58$.C_58$.eclipse.workspace.ofbiz_45$09_46$04.hot_45$deploy.ccms.servicedef.services_46$xml_35$ccmsCreateGuarantor.runSync(file:/C:/eclipse/workspace/ofbiz-09.04/hot-deploy/ccms/servicedef/services.xml#ccmsCreateGuarantor:14) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:399) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:165) > org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.sendDataParty2DB(CcmsProcessRegistrationForm.java:510) > org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.createNewCCMSParty(CcmsProcessRegistrationForm.java:200) > org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.processRegistrationForm(CcmsProcessRegistrationForm.java:113) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > java.lang.reflect.Method.invoke(Method.java:597) > org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92) > org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78) > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:637) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:383) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227) > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:90) > javax.servlet.http.HttpServlet.service(HttpServlet.java:710) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) > java.lang.Thread.run(Thread.java:619) > -------------------------------------------------------------------------------- > > 2010-04-17 14:13:28,531 (http-0.0.0.0-8443-1) [ > SimpleMethod.java:925:ERROR] > ---- runtime exception report > -------------------------------------------------- > Error in simple-method operation [<if-not-empty > field-name="emailContext.emailAddress" map-name=""/>]: > java.lang.RuntimeException: Error in simple-method operation > [<call-simple-map-processor/>]: java.lang.IllegalArgumentException: locale > cannot be null > Exception: java.lang.RuntimeException > Message: Error in simple-method operation [<call-simple-map-processor/>]: > java.lang.IllegalArgumentException: locale cannot be null > ---- stack trace > --------------------------------------------------------------- > java.lang.RuntimeException: Error in simple-method operation > [<call-simple-map-processor/>]: java.lang.IllegalArgumentException: locale > cannot be null > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:926) > org.ofbiz.minilang.method.ifops.IfNotEmpty.exec(IfNotEmpty.java:101) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920) > org.ofbiz.minilang.method.ifops.IfCompare.exec(IfCompare.java:132) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920) > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:739) > org.ofbiz.minilang.method.callops.CallSimpleMethod.exec(CallSimpleMethod.java:86) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920) > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:739) > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:142) > org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) > org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:53) > org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:761) > _$gen.file_58$.C_58$.eclipse.workspace.ofbiz_45$09_46$04.hot_45$deploy.ccms.servicedef.services_46$xml_35$ccmsCreateGuarantor.runSync(file:/C:/eclipse/workspace/ofbiz-09.04/hot-deploy/ccms/servicedef/services.xml#ccmsCreateGuarantor:14) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:399) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:165) > org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.sendDataParty2DB(CcmsProcessRegistrationForm.java:510) > org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.createNewCCMSParty(CcmsProcessRegistrationForm.java:200) > org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.processRegistrationForm(CcmsProcessRegistrationForm.java:113) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > java.lang.reflect.Method.invoke(Method.java:597) > org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92) > org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78) > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:637) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:383) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227) > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:90) > javax.servlet.http.HttpServlet.service(HttpServlet.java:710) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) > java.lang.Thread.run(Thread.java:619) > -------------------------------------------------------------------------------- > > 2010-04-17 14:13:28,531 (http-0.0.0.0-8443-1) [ > SimpleMethod.java:925:ERROR] > ---- runtime exception report > -------------------------------------------------- > Error in simple-method operation [<if-compare field-name="require_email" > map-name="" value="true"/>]: java.lang.RuntimeException: Error in > simple-method operation [<if-not-empty > field-name="emailContext.emailAddress" map-name=""/>]: > java.lang.RuntimeException: Error in simple-method operation > [<call-simple-map-processor/>]: java.lang.IllegalArgumentException: locale > cannot be null > Exception: java.lang.RuntimeException > Message: Error in simple-method operation [<if-not-empty > field-name="emailContext.emailAddress" map-name=""/>]: > java.lang.RuntimeException: Error in simple-method operation > [<call-simple-map-processor/>]: java.lang.IllegalArgumentException: locale > cannot be null > ---- stack trace > --------------------------------------------------------------- > java.lang.RuntimeException: Error in simple-method operation [<if-not-empty > field-name="emailContext.emailAddress" map-name=""/>]: > java.lang.RuntimeException: Error in simple-method operation > [<call-simple-map-processor/>]: java.lang.IllegalArgumentException: locale > cannot be null > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:926) > org.ofbiz.minilang.method.ifops.IfCompare.exec(IfCompare.java:132) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920) > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:739) > org.ofbiz.minilang.method.callops.CallSimpleMethod.exec(CallSimpleMethod.java:86) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920) > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:739) > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160) > org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:142) > org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78) > org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:53) > org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:761) > _$gen.file_58$.C_58$.eclipse.workspace.ofbiz_45$09_46$04.hot_45$deploy.ccms.servicedef.services_46$xml_35$ccmsCreateGuarantor.runSync(file:/C:/eclipse/workspace/ofbiz-09.04/hot-deploy/ccms/servicedef/services.xml#ccmsCreateGuarantor:14) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:399) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:165) > org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.sendDataParty2DB(CcmsProcessRegistrationForm.java:510) > org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.createNewCCMSParty(CcmsProcessRegistrationForm.java:200) > org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.processRegistrationForm(CcmsProcessRegistrationForm.java:113) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > java.lang.reflect.Method.invoke(Method.java:597) > org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92) > org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78) > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:637) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:383) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227) > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:90) > javax.servlet.http.HttpServlet.service(HttpServlet.java:710) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) > java.lang.Thread.run(Thread.java:619) > -------------------------------------------------------------------------------- > > 2010-04-17 14:13:28,671 (http-0.0.0.0-8443-1) [ > SimpleMethod.java:743:ERROR] Erreur pendant la simple-method: Error in > simple-method operation [<if-compare field-name="require_email" map-name="" > value="true"/>]: java.lang.RuntimeException: Error in simple-method > operation [<if-not-empty field-name="emailContext.emailAddress" > map-name=""/>]: java.lang.RuntimeException: Error in simple-method operation > [<call-simple-map-processor/>]: java.lang.IllegalArgumentException: locale > cannot be null > 2010-04-17 14:13:28,703 (http-0.0.0.0-8443-1) [ > TransactionUtil.java:280:ERROR] > ---- exception report > ---------------------------------------------------------- > Rollback Only was set when trying to commit transaction here; throwing > rollbackOnly cause exception > Exception: javax.transaction.RollbackException > Message: Unable to commit: transaction marked for rollback > ---- stack trace > --------------------------------------------------------------- > javax.transaction.RollbackException: Unable to commit: transaction marked > for rollback > org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:271) > org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:245) > org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:259) > org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:245) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:554) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:165) > org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.sendDataParty2DB(CcmsProcessRegistrationForm.java:510) > org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.createNewCCMSParty(CcmsProcessRegistrationForm.java:200) > org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.processRegistrationForm(CcmsProcessRegistrationForm.java:113) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > java.lang.reflect.Method.invoke(Method.java:597) > org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92) > org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78) > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:637) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:383) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227) > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:90) > javax.servlet.http.HttpServlet.service(HttpServlet.java:710) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) > java.lang.Thread.run(Thread.java:619) > -------------------------------------------------------------------------------- > > 2010-04-17 14:13:28,718 (http-0.0.0.0-8443-1) [ > ServiceDispatcher.java:557:ERROR] > ---- exception report > ---------------------------------------------------------- > Could not commit transaction for service [ccmsCreateGuarantor] call > Exception: org.ofbiz.entity.transaction.GenericTransactionException > Message: Roll back error, could not commit transaction, was rolled back > instead because of: Error in simple-method [CCMS Create User > [file:/C:/eclipse/workspace/ofbiz-09.04/hot-deploy/ccms/script/org/ofbiz/ccms/CcmsUserEvents.xml#ccmsCreateUser]]: > Erreur pendant la simple-method: Error in simple-method operation > [<if-compare field-name="require_email" map-name="" value="true"/>]: > java.lang.RuntimeException: Error in simple-method operation [<if-not-empty > field-name="emailContext.emailAddress" map-name=""/>]: > java.lang.RuntimeException: Error in simple-method operation > [<call-simple-map-processor/>]: java.lang.IllegalArgumentException: locale > cannot be null<br/>null > ---- stack trace > --------------------------------------------------------------- > org.ofbiz.entity.transaction.GenericTransactionException: Roll back error, > could not commit transaction, was rolled back instead because of: Error in > simple-method [CCMS Create User > [file:/C:/eclipse/workspace/ofbiz-09.04/hot-deploy/ccms/script/org/ofbiz/ccms/CcmsUserEvents.xml#ccmsCreateUser]]: > Erreur pendant la simple-method: Error in simple-method operation > [<if-compare field-name="require_email" map-name="" value="true"/>]: > java.lang.RuntimeException: Error in simple-method operation [<if-not-empty > field-name="emailContext.emailAddress" map-name=""/>]: > java.lang.RuntimeException: Error in simple-method operation > [<call-simple-map-processor/>]: java.lang.IllegalArgumentException: locale > cannot be null<br/>null > org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:281) > org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:245) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:554) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:165) > org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.sendDataParty2DB(CcmsProcessRegistrationForm.java:510) > org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.createNewCCMSParty(CcmsProcessRegistrationForm.java:200) > org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.processRegistrationForm(CcmsProcessRegistrationForm.java:113) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > java.lang.reflect.Method.invoke(Method.java:597) > org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92) > org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78) > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:637) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:383) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227) > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:90) > javax.servlet.http.HttpServlet.service(HttpServlet.java:710) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) > java.lang.Thread.run(Thread.java:619) > -------------------------------------------------------------------------------- > > 2010-04-17 14:13:28,718 (http-0.0.0.0-8443-1) > [CcmsProcessRegistrationForm.java:519:ERROR] > ---- exception report > ---------------------------------------------------------- > Failed to ccmsCreateGuarantor > Exception: org.ofbiz.service.GenericServiceException > Message: Could not commit transaction for service [ccmsCreateGuarantor] > call: Roll back error, could not commit transaction, was rolled back instead > because of: Error in simple-method [CCMS Create User > [file:/C:/eclipse/workspace/ofbiz-09.04/hot-deploy/ccms/script/org/ofbiz/ccms/CcmsUserEvents.xml#ccmsCreateUser]]: > Erreur pendant la simple-method: Error in simple-method operation > [<if-compare field-name="require_email" map-name="" value="true"/>]: > java.lang.RuntimeException: Error in simple-method operation [<if-not-empty > field-name="emailContext.emailAddress" map-name=""/>]: > java.lang.RuntimeException: Error in simple-method operation > [<call-simple-map-processor/>]: java.lang.IllegalArgumentException: locale > cannot be null<br/>null > ---- stack trace > --------------------------------------------------------------- > org.ofbiz.service.GenericServiceException: Could not commit transaction for > service [ccmsCreateGuarantor] call: Roll back error, could not commit > transaction, was rolled back instead because of: Error in simple-method > [CCMS Create User > [file:/C:/eclipse/workspace/ofbiz-09.04/hot-deploy/ccms/script/org/ofbiz/ccms/CcmsUserEvents.xml#ccmsCreateUser]]: > Erreur pendant la simple-method: Error in simple-method operation > [<if-compare field-name="require_email" map-name="" value="true"/>]: > java.lang.RuntimeException: Error in simple-method operation [<if-not-empty > field-name="emailContext.emailAddress" map-name=""/>]: > java.lang.RuntimeException: Error in simple-method operation > [<call-simple-map-processor/>]: java.lang.IllegalArgumentException: locale > cannot be null<br/>null > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:561) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:165) > org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.sendDataParty2DB(CcmsProcessRegistrationForm.java:510) > org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.createNewCCMSParty(CcmsProcessRegistrationForm.java:200) > org.ofbiz.ccms.ccms.CcmsProcessRegistrationForm.processRegistrationForm(CcmsProcessRegistrationForm.java:113) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > java.lang.reflect.Method.invoke(Method.java:597) > org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92) > org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78) > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:637) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:383) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227) > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:90) > javax.servlet.http.HttpServlet.service(HttpServlet.java:710) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) > java.lang.Thread.run(Thread.java:619) > -------------------------------------------------------------------------------- > > > > > Any help is appreciated. > > -- > View this message in context: http://n4.nabble.com/Error-when-calling-service-Locale-cannot-be-null-tp2015955p2015955.html > Sent from the OFBiz - Dev mailing list archive at Nabble.com. > |
Free forum by Nabble | Edit this page |