Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

[cnc] startup fails due to NPE in KibanaController #16

Open
EHJ-52n opened this issue Oct 10, 2019 · 0 comments
Open

[cnc] startup fails due to NPE in KibanaController #16

EHJ-52n opened this issue Oct 10, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@EHJ-52n
Copy link
Member

EHJ-52n commented Oct 10, 2019

Exception Log

 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'streamController': Invocation of init method failed; nested exception is java.lang.NullPointerException
    at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:138)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:423)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1702)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:583)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:502)
    at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:312)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:310)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:760)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:868)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
    at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
    at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
    at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:388)
    at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
    at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:137)
    at org.n52.stream.seadatacloud.cnc.CnCService.main(CnCService.java:58)
[...]
 Caused by: java.lang.NullPointerException: null
    at java.util.regex.Matcher.appendReplacement(Matcher.java:804)
    at java.util.regex.Matcher.replaceAll(Matcher.java:955)
    at java.lang.String.replaceAll(String.java:2223)
    at org.n52.stream.seadatacloud.cnc.kibana.KibanaController.getVisualizationNode(KibanaController.java:323)
    at org.n52.stream.seadatacloud.cnc.kibana.KibanaController.createVisualization(KibanaController.java:269)
    at org.n52.stream.seadatacloud.cnc.kibana.KibanaController.checkOrCreateVisualization(KibanaController.java:229)
    at org.n52.stream.seadatacloud.cnc.controller.StreamController.initKibana(StreamController.java:269)
    at org.n52.stream.seadatacloud.cnc.controller.StreamController.init(StreamController.java:192)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Restarting the container solves this issue.

@EHJ-52n EHJ-52n added the bug Something isn't working label Oct 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant