We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
您好:你的step4中的XmlBeanDefinitionReader.processProperty(Element element, BeanDefinition beanDefinition)方法在beanDefinition.getPropertyValues().addPropertyValue(new PropertyValue(name,value))步骤会报空指针,原因是传递进来的beanDefinition在上个方法中只是new出来的 BeanDefinition beanDefinition = new BeanDefinition(),所以beanDefinition.getPropertyValues()其实是null,在addPropertyValue的时候会报空指针~
The text was updated successfully, but these errors were encountered:
propertyValues 是已经初始化过的,所以不会报 空指针 在 BeanDefinition 第 16 行: private PropertyValues propertyValues = new PropertyValues();
Sorry, something went wrong.
No branches or pull requests
您好:你的step4中的XmlBeanDefinitionReader.processProperty(Element element, BeanDefinition beanDefinition)方法在beanDefinition.getPropertyValues().addPropertyValue(new PropertyValue(name,value))步骤会报空指针,原因是传递进来的beanDefinition在上个方法中只是new出来的 BeanDefinition beanDefinition = new BeanDefinition(),所以beanDefinition.getPropertyValues()其实是null,在addPropertyValue的时候会报空指针~
The text was updated successfully, but these errors were encountered: