wxp651 opened a new issue #8534:
URL: https://github.com/apache/shardingsphere/issues/8534


   ## Bug Report
   When I configured read-write separation, an error occurred when I started 
the project. There is a bean org.redisson.config . config ා 0 $created ා 0 I 
did not actively import this bean, and null pointer was reported in 
getbeandefinition() method
   **For English only**, other languages will not accept.
   class ShardingSphereAlgorithmBeanRegistry the line 25
   
   
        at java.lang.Thread.run(Thread.java:748)
   Caused by: java.lang.NullPointerException: null
        at 
org.apache.shardingsphere.spring.namespace.registry.ShardingSphereAlgorithmBeanRegistry.getAlgorithmBeanReferences(ShardingSphereAlgorithmBeanRegistry.java:48)
        at 
org.apache.shardingsphere.replicaquery.spring.namespace.parser.ReplicaQueryRuleBeanDefinitionParser.parseInternal(ReplicaQueryRuleBeanDefinitionParser.java:47)
        at 
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:61)
        at 
org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:74)
        at 
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1411)
        at 
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1401)
        at 
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:168)
        at 
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:138)
        at 
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:94)
        at 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:508)
        at 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:392)
        ... 58 common frames omitted
   
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to