You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when I start the project come across an error:
2019-04-29 17:12:21.525 [crm7] [ERROR] [,] [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:331) Context initialization failed
java.lang.NullPointerException
at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:335)
at org.apache.dubbo.config.spring.ServiceBean.export(ServiceBean.java:319)
at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:113)
at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:59)
....
And I debug the code and found in ServiceConfig.java, there is a method named 'export':
publicsynchronizedvoidexport() {
checkAndUpdateSubConfigs();
if (!shouldExport()) {
return;
}
if (shouldDelay()) {
delayExportExecutor.schedule(this::doExport, delay, TimeUnit.MILLISECONDS);
} else {
doExport();
}
}
In this method the 'delay' param is null , and I can't found codes where set value for it.
Please correct me if I was wrong, thank you.
The text was updated successfully, but these errors were encountered:
I set 'delay' label in dubbo config file as below:
But when I start the project come across an error:
And I debug the code and found in ServiceConfig.java, there is a method named 'export':
In this method the 'delay' param is null , and I can't found codes where set value for it.
Please correct me if I was wrong, thank you.
The text was updated successfully, but these errors were encountered: