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.  Then I try to understand where this class is injected  After successful startup. I try to partition with custom partition。 Found in partialsqlouteexecutor#routes  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  Finally, in classbasedshardingalgorithm#dosharding java.lang.NullPointerException: null  -- 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]
