poo0054 commented on issue #18927:
URL: 
https://github.com/apache/shardingsphere/issues/18927#issuecomment-1178607615

   I now switch to version 5.1.2,  
   The classbasedshardingalgorithm object is @5925,All properties in it have 
been loaded successfully,The init () method also executes smoothly.
   TableShardingAlgorithm@5944.
   
![image](https://user-images.githubusercontent.com/85894494/177927691-af1e52d2-5aa4-4891-b411-7ebf2d5479f0.png)
   
   Then I try to understand where this class is injected
   
   
![image](https://user-images.githubusercontent.com/85894494/177928992-8c76e6de-0d87-4de4-b53e-a829a54fa559.png)
   
   After successful startup. I try to partition with custom partition。
   Found in partialsqlouteexecutor#routes
   
   
![image](https://user-images.githubusercontent.com/85894494/177930019-8284abd4-0617-487a-9f3a-cf7164ec9b68.png)
   
   Finally, when the standardshardingstrategy is initialized, there is a 
classbasedshardingalgorithm object in it. But not the same one,
   
   Above is classbasedshardingalgorithm @5925
   
   Now it's classbasedshardingalgorithm @20441
   
   
![image](https://user-images.githubusercontent.com/85894494/177930367-06bbbf11-8543-40e1-ab92-da9003828992.png)
   
   Finally, in classbasedshardingalgorithm#dosharding  
java.lang.NullPointerException: null
   
   
![image](https://user-images.githubusercontent.com/85894494/177930773-787c0f15-ed4e-4537-9654-5df6a947f5c0.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: [email protected]

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

Reply via email to