hxvung opened a new issue, #4941:
URL: https://github.com/apache/hop/issues/4941

   ### Apache Hop version?
   
   apache-hop-client-2.12
   
   ### Java version?
   
   jdk-17.0.12
   
   ### Operating system
   
   Windows
   
   ### What happened?
   
   
在apache-hop-client-2.10开始,就发现把默认语言设置为简体中文后,在windows上,通过hop-gui.bat启动,就会报一个错误,如下:
   Format problem with 
key=[PipelineRunConfigurationDialog.NamedResourceSourceFolder.ToolTip], 
locale=[zh_CN], package=org.apache.hop.ui.pipeline.config : 
java.lang.IllegalArgumentException: can't parse argument number: PROJECT_HOME
   java.lang.IllegalArgumentException: can't parse argument number: PROJECT_HOME
        at java.base/java.text.MessageFormat.makeFormat(MessageFormat.java:1454)
        at 
java.base/java.text.MessageFormat.applyPattern(MessageFormat.java:492)
        at java.base/java.text.MessageFormat.<init>(MessageFormat.java:371)
        at java.base/java.text.MessageFormat.format(MessageFormat.java:860)
        at 
org.apache.hop.i18n.GlobalMessageUtil.calculateString(GlobalMessageUtil.java:324)
        at 
org.apache.hop.i18n.GlobalMessageUtil.calculateString(GlobalMessageUtil.java:291)
        at 
org.apache.hop.i18n.GlobalMessageUtil.calculateString(GlobalMessageUtil.java:264)
        at 
org.apache.hop.i18n.GlobalMessageUtil.calculateString(GlobalMessageUtil.java:225)
        at 
org.apache.hop.i18n.LafMessageHandler.calculateString(LafMessageHandler.java:87)
        at org.apache.hop.i18n.GlobalMessages.getString(GlobalMessages.java:210)
        at org.apache.hop.i18n.BaseMessages.getString(BaseMessages.java:75)
        at 
org.apache.hop.core.gui.plugin.BaseGuiElements.getTranslation(BaseGuiElements.java:37)
        at 
org.apache.hop.core.gui.plugin.GuiElements.<init>(GuiElements.java:110)
        at 
org.apache.hop.core.gui.plugin.GuiRegistry.addGuiWidgetElement(GuiRegistry.java:297)
        at 
org.apache.hop.ui.hopgui.HopGuiEnvironment.initGuiPlugins(HopGuiEnvironment.java:98)
        at 
org.apache.hop.ui.hopgui.HopGuiEnvironment.init(HopGuiEnvironment.java:68)
        at 
org.apache.hop.ui.hopgui.HopGuiEnvironment.init(HopGuiEnvironment.java:53)
        at org.apache.hop.ui.hopgui.HopGui.main(HopGui.java:341)
   Caused by: java.lang.NumberFormatException: For input string: "PROJECT_HOME"
        at 
java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)
        at java.base/java.lang.Integer.parseInt(Integer.java:668)
        at java.base/java.lang.Integer.parseInt(Integer.java:786)
        at java.base/java.text.MessageFormat.makeFormat(MessageFormat.java:1452)
        ... 17 more
   
   2025/02/25 08:39:31 - Hop - Projects enabled
   2025/02/25 08:39:31 - Hop - Enabling project : 'default'
   ------------------------------------------------------------------------
   请问如何处理,谢谢。
   
   ### Issue Priority
   
   Priority: 3
   
   ### Issue Component
   
   Component: Hop Gui


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to