You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "zxc321zxchb (via GitHub)" <gi...@apache.org> on 2023/12/04 08:38:03 UTC

[I] YamlSQLTranslatorRuleConfiguration [shardingsphere]

zxc321zxchb opened a new issue, #29273:
URL: https://github.com/apache/shardingsphere/issues/29273

   version 5.4.1
   
   we find java version: java17, full_version=17.0.8.1, full_path=/opt/java/openjdk/bin/java
   2023-12-04T08:29:17.869242918Z The port is 3308
   2023-12-04T08:29:17.869257168Z The classpath is /opt/shardingsphere-proxy/conf:.:/opt/shardingsphere-proxy/lib/*:/opt/shardingsphere-proxy/ext-lib/*
   2023-12-04T08:29:17.869259334Z main class org.apache.shardingsphere.proxy.Bootstrap 3308 /opt/shardingsphere-proxy/conf 0.0.0.0 false
   2023-12-04T08:29:18.173080043Z Exception in thread "main" Cannot create property=sqlTranslator for JavaBean=org.apache.shardingsphere.proxy.backend.config.yaml.YamlProxyServerConfiguration@1d296da
   2023-12-04T08:29:18.173110334Z  in 'reader', line 1, column 1:
   2023-12-04T08:29:18.173112959Z     mode:
   2023-12-04T08:29:18.173114584Z     ^
   2023-12-04T08:29:18.173115959Z Cannot create property=useOriginalSQLWhenTranslatingFailed for JavaBean=org.apache.shardingsphere.sqltranslator.yaml.config.YamlSQLTranslatorRuleConfiguration@776aec5c
   2023-12-04T08:29:18.173117584Z  in 'reader', line 35, column 3:
   2023-12-04T08:29:18.173119126Z       type:
   2023-12-04T08:29:18.173120459Z       ^
   2023-12-04T08:29:18.173121751Z  in 'reader', line 36, column 39:
   2023-12-04T08:29:18.173123459Z      ... riginalSQLWhenTranslatingFailed:
   2023-12-04T08:29:18.173125168Z                                          ^
   2023-12-04T08:29:18.173126668Z 
   2023-12-04T08:29:18.173128043Z  in 'reader', line 35, column 3:
   2023-12-04T08:29:18.173129376Z       type:
   2023-12-04T08:29:18.173130876Z       ^
   2023-12-04T08:29:18.173132251Z 
   2023-12-04T08:29:18.173335501Z 	at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:321)
   2023-12-04T08:29:18.173342709Z 	at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct(Constructor.java:207)
   2023-12-04T08:29:18.173344418Z 	at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:358)
   2023-12-04T08:29:18.173345959Z 	at org.yaml.snakeyaml.constructor.BaseConstructor.constructObjectNoCheck(BaseConstructor.java:270)
   2023-12-04T08:29:18.173347376Z 	at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:253)
   2023-12-04T08:29:18.173349126Z 	at org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:207)
   2023-12-04T08:29:18.173350543Z 	at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:191)
   2023-12-04T08:29:18.173444959Z 	at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:477)
   2023-12-04T08:29:18.173458459Z 	at org.yaml.snakeyaml.Yaml.loadAs(Yaml.java:443)
   2023-12-04T08:29:18.173460751Z 	at org.apache.shardingsphere.infra.util.yaml.YamlEngine.unmarshal(YamlEngine.java:54)
   2023-12-04T08:29:18.173462459Z 	at org.apache.shardingsphere.proxy.backend.config.ProxyConfigurationLoader.loadServerConfiguration(ProxyConfigurationLoader.java:81)
   2023-12-04T08:29:18.173472751Z 	at org.apache.shardingsphere.proxy.backend.config.ProxyConfigurationLoader.load(ProxyConfigurationLoader.java:66)
   2023-12-04T08:29:18.173474709Z 	at org.apache.shardingsphere.proxy.Bootstrap.main(Bootstrap.java:52)
   2023-12-04T08:29:18.173532876Z Caused by: Cannot create property=useOriginalSQLWhenTranslatingFailed for JavaBean=org.apache.shardingsphere.sqltranslator.yaml.config.YamlSQLTranslatorRuleConfiguration@776aec5c
   2023-12-04T08:29:18.173536876Z  in 'reader', line 35, column 3:
   2023-12-04T08:29:18.173538626Z       type:
   2023-12-04T08:29:18.173540043Z       ^
   2023-12-04T08:29:18.173541334Z  in 'reader', line 36, column 39:
   2023-12-04T08:29:18.173542668Z      ... riginalSQLWhenTranslatingFailed:
   2023-12-04T08:29:18.173544084Z                                          ^
   2023-12-04T08:29:18.173545418Z 
   2023-12-04T08:29:18.173546709Z 	at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:321)
   2023-12-04T08:29:18.173548251Z 	at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct(Constructor.java:207)
   2023-12-04T08:29:18.173549709Z 	at org.yaml.snakeyaml.constructor.BaseConstructor.constructObjectNoCheck(BaseConstructor.java:270)
   2023-12-04T08:29:18.173551126Z 	at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:253)
   2023-12-04T08:29:18.173552543Z 	at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.newInstance(Constructor.java:333)
   2023-12-04T08:29:18.173554043Z 	at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:298)
   2023-12-04T08:29:18.173555543Z 	... 12 more
   2023-12-04T08:29:18.173768626Z Caused by: java.lang.IllegalArgumentException
   2023-12-04T08:29:18.173783334Z 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   2023-12-04T08:29:18.173785584Z 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
   2023-12-04T08:29:18.173787209Z 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   2023-12-04T08:29:18.173788834Z 	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
   2023-12-04T08:29:18.173790251Z 	at org.yaml.snakeyaml.introspector.MethodProperty.set(MethodProperty.java:72)
   2023-12-04T08:29:18.173791876Z 	at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:314)
   2023-12-04T08:29:18.173793334Z 	... 17 more
   
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] YamlSQLTranslatorRuleConfiguration [shardingsphere]

Posted by "zxc321zxchb (via GitHub)" <gi...@apache.org>.
zxc321zxchb closed issue #29273: YamlSQLTranslatorRuleConfiguration
URL: https://github.com/apache/shardingsphere/issues/29273


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org