You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/08/17 09:01:51 UTC
[GitHub] [shardingsphere] huangconghe opened a new issue, #20239: Error creating bean with name 'database-inline': Initialization of bean failed; nested exception is java.lang.NumberFormatException: null
huangconghe opened a new issue, #20239:
URL: https://github.com/apache/shardingsphere/issues/20239
my yml:
rules:
sharding:
tables:
t_order:
actual-data-nodes: ds$->{0..1}.t_order_$->{0..1}
database-strategy:
standard:
sharding-column: user_id
sharding-algorithm-name: database-inline
table-strategy:
standard:
sharding-column: order_id
sharding-algorithm-name: table-inline
sharding-algorithms:
table-inline:
type: INLINE
props:
algorithm-expression: t_order_$->{order_id % 2}
database-inline:
type: HASH_MOD
props:
sharding-count: 2
# type: CLASS_BASED #自定义type
# props:
# strategy: STANDARD #标准分片类型
# algorithmClassName: com.kpmg.smart.ematching.sharding.CustomDBPreciseShardingAlgorithm
start springboot report an error:
Error creating bean with name 'database-inline': Initialization of bean failed; nested exception is java.lang.NumberFormatException: null
I didn't find the problem, please help me
--
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
[GitHub] [shardingsphere] huangconghe closed issue #20239: Error creating bean with name 'database-inline': Initialization of bean failed; nested exception is java.lang.NumberFormatException: null
Posted by GitBox <gi...@apache.org>.
huangconghe closed issue #20239: Error creating bean with name 'database-inline': Initialization of bean failed; nested exception is java.lang.NumberFormatException: null
URL: https://github.com/apache/shardingsphere/issues/20239
--
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
[GitHub] [shardingsphere] huangconghe commented on issue #20239: Error creating bean with name 'database-inline': Initialization of bean failed; nested exception is java.lang.NumberFormatException: null
Posted by GitBox <gi...@apache.org>.
huangconghe commented on issue #20239:
URL: https://github.com/apache/shardingsphere/issues/20239#issuecomment-1217715268
error
--
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
[GitHub] [shardingsphere] terrymanu commented on issue #20239: Error creating bean with name 'database-inline': Initialization of bean failed; nested exception is java.lang.NumberFormatException: null
Posted by GitBox <gi...@apache.org>.
terrymanu commented on issue #20239:
URL: https://github.com/apache/shardingsphere/issues/20239#issuecomment-1270314149
I just set the issue as `invalid` because the author close it without any reason.
--
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