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 2021/06/24 13:26:50 UTC

[GitHub] [shardingsphere] monkeymada opened a new issue #10999: java.util.NoSuchElementException: No value bound

monkeymada opened a new issue #10999:
URL: https://github.com/apache/shardingsphere/issues/10999


   ## Bug Report
   
   **For English only**, other languages will not accept.
   
   Before report a bug, make sure you have:
   
   - Searched open and closed [GitHub issues](https://github.com/apache/shardingsphere/issues).
   - Read documentation: [ShardingSphere Doc](https://shardingsphere.apache.org/document/current/en/overview).
   
   Please pay attention on issues you submitted, because we maybe need more details. 
   If no response anymore and we cannot reproduce it on current information, we will **close it**.
   
   Please answer these questions before submitting your issue. Thanks!
   
   ### Which version of ShardingSphere did you use?
   5.0.0-alpha
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   ShardingSphere-JDBC
   ### Expected behavior
   hint configuration
   ### Actual behavior
   
   ### Reason analyze (If you can)
   Confirm this configuration error:
   
   spring.shardingsphere.rules.tables.t_order.actual-data-nodes=ds${1..2}.t_order
   spring.shardingsphere.rules.tables.t_order.database-strategy.hint-test.sharding-algorithm-name=hint-test
   spring.shardingsphere.rules.sharding-algorithms.hint-test.type=HINT-TEST
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   
   ### Example codes for reproduce this issue (such as a github link).
   


-- 
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.

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



[GitHub] [shardingsphere] RaigorJiang commented on issue #10999: java.util.NoSuchElementException: No value bound

Posted by GitBox <gi...@apache.org>.
RaigorJiang commented on issue #10999:
URL: https://github.com/apache/shardingsphere/issues/10999#issuecomment-867652209


   Hi @monkeymada  
   Is this issue relted to #10962 ?  


-- 
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.

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



[GitHub] [shardingsphere] monkeymada commented on issue #10999: java.util.NoSuchElementException: No value bound

Posted by GitBox <gi...@apache.org>.
monkeymada commented on issue #10999:
URL: https://github.com/apache/shardingsphere/issues/10999#issuecomment-868102091


   Not relevant, I'm following this example:
   https://github.com/apache/shardingsphere/tree/master/examples/shardingsphere-jdbc-example/other-feature-example/hint-example


-- 
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.

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



[GitHub] [shardingsphere] yuzhiping removed a comment on issue #10999: java.util.NoSuchElementException: No value bound

Posted by GitBox <gi...@apache.org>.
yuzhiping removed a comment on issue #10999:
URL: https://github.com/apache/shardingsphere/issues/10999#issuecomment-907622858


   I also encountered the same problem,I'm following this example:
   https://github.com/apache/shardingsphere/tree/master/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example 
   
   spring boot  version is 2.4.0
   
   detail shardingsphere config as follow:
   
   ![image](https://user-images.githubusercontent.com/10362461/131218586-590e78f9-4167-41c4-9f10-b669ab18c9df.png)
   
   
   when i  start my program,detail error as follow:
   
   ![image](https://user-images.githubusercontent.com/10362461/131218614-e4ecee93-7f23-4f1f-a14a-9e8baf5af3a7.png)
   
   


-- 
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] RaigorJiang commented on issue #10999: java.util.NoSuchElementException: No value bound

Posted by GitBox <gi...@apache.org>.
RaigorJiang commented on issue #10999:
URL: https://github.com/apache/shardingsphere/issues/10999#issuecomment-912928233


   Hi @yuzhiping 
   The scene used by @Yule-Momoko is hint, and your configuration is sharding inline, they are different.
   And I will use your configuration to investigate.


-- 
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] yuzhiping commented on issue #10999: java.util.NoSuchElementException: No value bound

Posted by GitBox <gi...@apache.org>.
yuzhiping commented on issue #10999:
URL: https://github.com/apache/shardingsphere/issues/10999#issuecomment-907622858


   I also encountered the same problem,I'm following this example:
   https://github.com/apache/shardingsphere/tree/master/examples/shardingsphere-jdbc-example/sharding-example/sharding-spring-boot-mybatis-example 
   
   spring boot  version is 2.4.0
   
   detail shardingsphere config as follow:
   
   ![image](https://user-images.githubusercontent.com/10362461/131218586-590e78f9-4167-41c4-9f10-b669ab18c9df.png)
   
   
   when i  start my program,detail error as follow:
   
   ![image](https://user-images.githubusercontent.com/10362461/131218614-e4ecee93-7f23-4f1f-a14a-9e8baf5af3a7.png)
   
   


-- 
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] RaigorJiang commented on issue #10999: java.util.NoSuchElementException: No value bound

Posted by GitBox <gi...@apache.org>.
RaigorJiang commented on issue #10999:
URL: https://github.com/apache/shardingsphere/issues/10999#issuecomment-927285243


   Since @yuzhiping  deleted the configuration, the problem cannot be reproduced.
   This issue will be closed, if there are related issues, please submit a new one.


-- 
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] RaigorJiang commented on issue #10999: java.util.NoSuchElementException: No value bound

Posted by GitBox <gi...@apache.org>.
RaigorJiang commented on issue #10999:
URL: https://github.com/apache/shardingsphere/issues/10999#issuecomment-868137288


   OK, the configuration and exception information you provided is too brief, can you provide more complete information?
   


-- 
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.

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



[GitHub] [shardingsphere] RaigorJiang closed issue #10999: java.util.NoSuchElementException: No value bound

Posted by GitBox <gi...@apache.org>.
RaigorJiang closed issue #10999:
URL: https://github.com/apache/shardingsphere/issues/10999


   


-- 
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] yuzhiping commented on issue #10999: java.util.NoSuchElementException: No value bound

Posted by GitBox <gi...@apache.org>.
yuzhiping commented on issue #10999:
URL: https://github.com/apache/shardingsphere/issues/10999#issuecomment-912927142


   @Yule-Momoko  I ran into the same problem last week,and  just upgrade version to  `5.0.0-beta`


-- 
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