You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2018/09/11 09:51:35 UTC

[GitHub] Jeff-Lv commented on issue #2429: dubbo + quartz + spring NPE

Jeff-Lv commented on issue #2429: dubbo + quartz + spring NPE
URL: https://github.com/apache/incubator-dubbo/issues/2429#issuecomment-420215595
 
 
   Dubbo can fix it by Null checking. 
   
   But after navigating the spring code, actually the **beanName** should be assert Null as spring design.
   
   `java.lang.IllegalArgumentException: Bean name must not be empty
   	at org.springframework.util.Assert.hasText(Assert.java:169)
   	at org.springframework.beans.factory.support.DefaultListableBeanFactory.registerBeanDefinition(DefaultListableBeanFactory.java:310)
   	at org.springframework.beans.factory.support.PropertiesBeanDefinitionReader.registerBeanDefinition(PropertiesBeanDefinitionReader.java:468)
   	at org.springframework.beans.factory.support.PropertiesBeanDefinitionReader.registerBeanDefinitions(PropertiesBeanDefinitionReader.java:373)
   	at org.springframework.beans.factory.support.PropertiesBeanDefinitionReader.loadBeanDefinitions(PropertiesBeanDefinitionReader.java:257)
   	at org.springframework.beans.factory.support.PropertiesBeanDefinitionReader.loadBeanDefinitions(PropertiesBeanDefinitionReader.java:221)
   	at sandbox.service.ReportService.getParameters(ReportService.java:89)
   	at sandbox.web.ConfigureReportFormController.formBackingObject(ConfigureReportFormController.java:43)
   	at org.springframework.web.servlet.mvc.AbstractFormController.getErrorsForNewForm(AbstractFormController.java:341)
   	at org.springframework.web.servlet.mvc.AbstractFormController.showNewForm(AbstractFormController.java:322)
   	at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:262)
   	at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
   	at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
   	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:723)
   	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:663)
   	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:394)
   	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:348)
   	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
   	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
   	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
   	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
   	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
   	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
   	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107`
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org