1015zhc opened a new issue #4245:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4245


   *For better global communication, please give priority to using English 
description, thx! *
   
   *Please review 
https://dolphinscheduler.apache.org/en-us/docs/development/issue.html when 
describe an issue.*
   
   **Describe the question**
   A clear and concise description of what the question is.
   
   when I excute start-all.sh, I find the error in the file of 
‘dolphinscheduler-master-server-iZm5ea7mizpeshzogsxop6Z.out’。
   like this:
   `15:26:18.006 [Master-Server] ERROR 
org.springframework.boot.SpringApplication - Application run failed
   org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'masterServer': Invocation of init method failed; nested exception is 
java.lang.NullPointerException
        at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:139)
 ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:414)
 ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1754)
 ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
 ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
 ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
 ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
 ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
 ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
 ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:849)
 ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]
        at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877)
 ~[spring-context-5.1.5.RELEASE.jar:5.1.5.RELEASE]
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
 ~[spring-context-5.1.5.RELEASE.jar:5.1.5.RELEASE]
        at 
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) 
[spring-boot-2.1.3.RELEASE.jar:2.1.3.RELEASE]
        at 
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
 [spring-boot-2.1.3.RELEASE.jar:2.1.3.RELEASE]
        at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:316) 
[spring-boot-2.1.3.RELEASE.jar:2.1.3.RELEASE]
        at 
org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:139)
 [spring-boot-2.1.3.RELEASE.jar:2.1.3.RELEASE]
        at 
org.apache.dolphinscheduler.server.master.MasterServer.main(MasterServer.java:102)
 [dolphinscheduler-server-1.3.3.jar:1.3.3]
   Caused by: java.lang.NullPointerException
        at 
org.apache.dolphinscheduler.service.quartz.QuartzExecutors.init(QuartzExecutors.java:114)
 ~[dolphinscheduler-service-1.3.3.jar:1.3.3]
        at 
org.apache.dolphinscheduler.service.quartz.QuartzExecutors.getInstance(QuartzExecutors.java:94)
 ~[dolphinscheduler-service-1.3.3.jar:1.3.3]
        at 
org.apache.dolphinscheduler.server.master.MasterServer.run(MasterServer.java:136)
 ~[dolphinscheduler-server-1.3.3.jar:1.3.3]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[?:1.8.0_201]
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[?:1.8.0_201]
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.8.0_201]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_201]
        at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:363)
 ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]
        at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:307)
 ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]
        at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136)
 ~[spring-beans-5.1.5.RELEASE.jar:5.1.5.RELEASE]
        ... 16 more
   Exception in thread "Master-Server" 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'masterServer': Invocation of init method failed; nested exception is 
java.lang.NullPointerException
        at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:139)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:414)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1754)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:849)
        at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877)
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
        at 
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775)
        at 
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
        at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:316)
        at 
org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:139)
        at 
org.apache.dolphinscheduler.server.master.MasterServer.main(MasterServer.java:102)
   Caused by: java.lang.NullPointerException
        at 
org.apache.dolphinscheduler.service.quartz.QuartzExecutors.init(QuartzExecutors.java:114)
        at 
org.apache.dolphinscheduler.service.quartz.QuartzExecutors.getInstance(QuartzExecutors.java:94)
        at 
org.apache.dolphinscheduler.server.master.MasterServer.run(MasterServer.java:136)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:363)
        at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:307)
        at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136)
        ... 16 more
   `
   
   **Which version of DolphinScheduler:**
    -[1.3.3]
   
   **Additional context**
   Add any other context about the problem here.
   
   
   **Requirement or improvement**
   - Please describe about your requirements or improvement suggestions.
   


----------------------------------------------------------------
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