点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)大家好, 我们正在尝试为我们的...
点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)大家好, 我们正在尝试为我们的...
加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)
大家好,
我们正在尝试为我们的网站创建新语言" en_gb"。(英国英语)。 我们成功创建了该语言,但在创建后遇到了一些问题。 我们正在使用" AbstractEmailContext"方法生成电子邮件。当它在244行的AbstractEmailContext类中调用" String fromName = emailPageModel.getFromName(new Locale(language.getIsocode) ()));"
在这里,language.getIsocode返回" en_gb",甚至我们尝试传递ISOCode" en_GB"来检查案例是否存在问题,但最终还是出现相同的错误。 因此,在座的任何人都可以帮助我们解决这个问题。
错误[TaskExecutor-master-215-ProcessTask [8796847047606]] [ActionNode]执行java.lang.IllegalArgumentException时出错:en_gb没有匹配的DataLocale(在可用语言环境{es_CO = es_CO-> es_CO上尝试[en_gb],in = in-> id,pt = pt-> pt,fr = fr-> fr,ru = ru-> ru,ja = ja-> ja,zh_TW = zh_TW-> zh_TW,it = it-> it,ko = ko -> ko,de = de-> de,es = es-> es,zh = zh-> zh,en = en-> en,hi = hi-> hi,cs = cs-> cs,ro = ro- > ro,hu = hu-> hu,en_GB = en_GB-> en_GB,pl = pl-> pl})在de.hybris.platform.servicelayer.internal.i18n.impl.DefaultLocalizationService.matchDataLocale(DefaultLocalizationService.java:242) 在de.hybris.platform.servicelayer.i18n.impl.DefaultI18NService.getBestMatchingLocale(DefaultI18NService.java:167)处的de.hybris.platform.servicelayer.internal.i18n.impl.DefaultLocalizationService.getDataLocale(DefaultLocalizationService.java:146) .hybris.platform.servicelayer.internal.converter.impl.DefaultLocaleProvider.toDataLocale(DefaultLocaleProvider.java:61)位于de.hybris.platform.servicelayer.model.ItemModelContext 位于de.hybris.platform.servicelayer.model.ItemModelContextImpl.getLocalizedValue(ItemModelContextImpl.java:325)的Impl.toDataLocale(ItemModelContextImpl.java:434)在de.hybris.platform.acceleratorservices.model.cms2.pages.EmailPageModel.getFromName( 位于de.hybris.platform.acceleratorservices.process.email.context.AbstractEmailContext.init(AbstractEmailContext.java:242)的EmailPageModel.java:137),位于com.philips.b2c.ecommerce.facades.process.email.context.OrderNotificationEmailContext处。 com.philips.b2c.ecommerce.facades.process.email.context.PhilipsOrderNotificationEmailContext.init(PhilipsOrderNotificationEmailContext.java:31)处的init(OrderNotificationEmailContext.java:40)。 在de.hybris.platform.acceleratorservices.process.email.context.impl.DefaultEmailContextFactory.create(DefaultEmailContextFactory.java:75)处的context.OrderNotificationEmailContext.init(OrderNotificationEmailContext.java:1)在de.hybris.platform.acceleratorservices.email处。 展示权 ultEmailGenerationService.generate(DefaultEmailGenerationService.java:68)位于de.hybris.platform.acceleratorservices.process.email.actions.GenerateEmailAction.executeAction(GenerateEmailAction.java:103)位于de.hybris.platform.processengine.action.AbstractSimpleDecisionAction.execute( De.hybris.platform.processengine.process.ProcessengineTaskRunner.runProcessTask(ProcessengineTaskRunner.java:221)的de.hybris.platform.processengine.definition.ActionNode.execute(ActionNode.java:166)的AbstractSimpleDecisionAction.java:53) .hybris.platform.processengine.process.ProcessengineTaskRunner $ 1.doInTransaction(ProcessengineTaskRunner.java:168)在org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)在de.hybris.platform.processengine.process。 在de.hybris.platform上的ProcessengineTaskRunner.runProcessTaskInTransaction(ProcessengineTaskRunner.java:160)在de.hybris.plat上的ProcessengineTask.process.ProcessengineTaskRunner.doRun(ProcessengineTaskRunner.java:127) form.processengine.process.ProcessengineTaskRunner.run(ProcessengineTaskRunner.java:98)位于de.hybris.platform.processengine.process.ProcessengineTaskRunner.run(ProcessengineTaskRunner.java:1)位于de.hybris.platform.processengine.task.impl。 位于de.hybris.platform.task.impl.DefaultTaskService.processTask(DefaultTaskService.java:1290)处的ProcessengineTaskExecutionStrategy.run(ProcessengineTaskExecutionStrategy.java:33)位于de.hybris.platform.task.impl.DefaultTaskService.process(DefaultTaskService.java: 1190)at de.hybris.platform.task.impl.DefaultTaskService.processInTenant(DefaultTaskService.java:1146)at de.hybris.platform.task.impl.DefaultTaskService $ 5.run(DefaultTaskService.java:1057)at java.util。 java.util.concurrent中的current.ThreadPoolExecutor.runWorker(未知源)。java.lang.Thread.run中的current.ThreadPoolExecutor $ Worker.run(未知源)错误[TaskExecutor-master-215-ProcessTask [8796847047606]] [ProcessengineTaskRunner]执行ID为[generateOrde]的ActionNode时出错 rConfirmationEmail]:en_gb没有匹配的DataLocale(在可用语言环境{es_CO = es_CO-> es_CO,in = in-> id,pt = pt-> pt,fr = fr-> fr,ru = ru->中尝试过[en_gb] ru,ja = ja-> ja,zh_TW = zh_TW-> zh_TW,it = it-> it,ko = ko-> ko,de = de-> de,es = es-> es,zh = zh-> zh ,en = zh-> en,hi = hi-> hi,cs = cs-> cs,ro = ro-> ro,hu = hu-> hu,en_GB = en_GB-> en_GB,pl = pl-> pl} )de.hybris.platform.processengine.definition.NodeExecutionException:执行ID为[generateOrderConfirmationEmail]的ActionNode时出错:en_gb没有匹配的DataLocale(在可用语言环境{es_CO = es_CO-> es_CO,in = in-> id,上尝试了[en_gb], pt = pt-> pt,fr = fr-> fr,ru = ru-> ru,ja = ja-> ja,zh_TW = zh_TW-> zh_TW,it = it-> it,ko = ko-> ko,de = de-> de,es = es-> es,zh = zh-> zh,en = en-> en,hi = hi-> hi,cs = cs-> cs,ro = ro-> ro,hu = hu-> hu,en_GB = en_GB-> en_GB,pl = pl-> pl})位于de.hybris.platform.processengine.definition.ActionNode.handleActionExecutionRuntimeException(ActionNode.java:204)位于de.hybris.platform.processengine。 de.hybris.platfor上的definition.ActionNode.execute(ActionNode.java:179) m.processengine.process.ProcessengineTaskRunner.runProcessTask(ProcessengineTaskRunner.java:221)位于de.hybris.platform.processengine.process.ProcessengineTaskRunner $ 1.doInTransaction(ProcessengineTaskRunner.java:168)位于org.springframework.transaction.support.TransactionTemplate.execute (TransactionTemplate.java:133)位于de.hybris.platform.processengine.process.ProcessengineTaskRunner.runProcessTaskInTransaction(ProcessengineTaskRunner.java:160)位于de.hybris.platform.processengine.process.ProcessengineTaskRunner.doRun(ProcessengineTaskRunner.java:127)位于 de.hybris.platform.processengine.process.ProcessengineTaskRunner.run(de.hybris.platform.processengine处的de.hybris.platform.processengine.process.ProcessengineTaskRunner.run(ProcessengineTaskRunner.java:98) task.impl.ProcessengineTaskExecutionStrategy.run(ProcessengineTaskExecutionStrategy.java:33)位于de.hybris.platform.task.impl.DefaultTaskService.processTask(DefaultTaskService.java:1290)位于de.hybris。 网址为de.hybris.platform.task.impl.DefaultTaskService.processInTenant(DefaultTaskService.java:1146)的platform.task.impl.DefaultTaskService.process(DefaultTaskService.java:1190),网址为de.hybris.platform.task.impl.DefaultTaskService $ 5 .run(DefaultTaskService.java:1057)at java.util.concurrent.ThreadPoolExecutor.runWorker(未知源)at java.util.concurrent.ThreadPoolExecutor $ Worker.run(未知源)at java.lang.Thread.run(未知源) )由以下原因引起:java.lang.IllegalArgumentException:en_gb没有匹配的DataLocale(在可用语言环境{es_CO = es_CO-> es_CO,in = in-> id,pt = pt-> pt,fr = fr->中尝试过[en_gb] fr,ru = ru-> ru,ja = ja-> ja,zh_TW = zh_TW-> zh_TW,it = it-> it,ko = ko-> ko,de = de-> de,es = es-> es ,zh = zh-> zh,en = en-> en,hi = hi-> hi,cs = cs-> cs,ro = ro-> ro,hu = hu-> hu,en_GB = en_GB-> en_GB, pl = pl-> pl}),位于de.hybris.platform.servicelayer.internal.i18n.impl.DefaultLocalizationService.matchDataLocale(DefaultLocalizationService.java:242),位于de.hybris.platform.servicelayer.internal.i18n.impl.DefaultLocalizati de.hybris.platform.servicelayer.i18n.impl.DefaultI18NService.getBestMatchingLocale(DefaultI18NService.java:167)上的onService.getDataLocale(DefaultLocalizationService.java:146)在de.hybris.platform.servicelayer.internal.converter.impl.DefaultLocaleProvider处。 de.hybris.platform.servicelayer.model.ItemModelContextImpl。上的toDataLocale(DefaultLocaleProvider.java:61).de.hybris.platform.servicelayer.model.ItemModelContextImpl.getLocalizedValue(ItemModelContextImpl.java:325)上的toDataLocale(ItemModelContextImpl.java:434) 在de.hybris.platform.acceleratorservices.process.email.context.AbstractEmailContext.init(AbstractEmailContext.java:242)处的de.hybris.platform.acceleratorservices.model.cms2.pages.EmailPageModel.getFromName(EmailPageModel.java:137) com.philips.b2c.ecommerce.facades.process.email.context.OrderNotificationEmailContext.init(OrderNotificationEmailContext.java:40)处com.philips.b2c.ecommerce.facades.process.email.context.PhilipsOrderNotificationEmailContext.init(PhilipsOrderNoti ficationEmailContext.java:31)位于com.philips.b2c.ecommerce.facades.process.email.context.OrderNotificationEmailContext.init(OrderNotificationEmailContext.java:1)位于de.hybris.platform.acceleratorservices.process.email.context.impl。 位于de.hybris.platform.acceleratorservices.email.impl.DefaultEmailGenerationService.generate(DefaultEmailGenerationService.java:68)处的DefaultEmailContextFactory.create(DefaultEmailContextFactory.java:75),位于de.hybris.platform.acceleratorservices.process.email.actions.GenerateEmailAction处。 在de.hybris.platform.processengine.action.AbstractSimpleDecisionAction.execute(AbstractSimpleDecisionAction.java:53)处的executeAction(GenerateEmailAction.java:103)在de.hybris.platform.processengine.definition.ActionNode.execute(ActionNode.java:166)处的执行 ... 15更多信息[TaskExecutor-master-215-ProcessTask [8796847047606]] [ProcessengineTaskRunner]从D:\ Code_Philips \ hybris-commerce-suite-5.5.1.1 \ hybris \ temp \ hybris \ bpm_process_orderConfirmationEmailProcess-14000024读取任务日志 001-1453450536858_generateOrderConfirmationEmail_215_1453450539680.log对JVM进行Ping操作需要2秒钟才能响应。 INFO [hybrisHTTP25] [SampleDataSystemSetup] InitialDataSystemSetup.getInitializationOptions()方法START .......
您好,巴拉斯,您应该呼叫新的语言环境(" en"," GB")而不是新的语言环境(" en_GB")
一周热门 更多>