Uploaded image for project: 'Data Collection, Analytics, and Events'
  1. Data Collection, Analytics, and Events
  2. DCAEGEN2-2194

runtTime 1.0.2 exception and import error

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Medium
    • Resolution: Done
    • Frankfurt Release
    • Frankfurt Release
    • None
    • None

    Description

      Following error reported on RuntimeAPI startup; this is resulting incorrect imports to be added into generated blueprints from MOD.

       

      2020-03-31 22:14:11.072  INFO 1 --- [           main] o.o.d.runtime.web.RuntimeapiApplication  : Starting RuntimeapiApplication on dev-dcaemod-runtime-api-654ccdbfd-gr8pg with PID 1 (/maven/runtime-web-1.0.2-SNAPSHOT.jar started by dcaemod in /maven)2020-03-31 22:14:11.077  INFO 1 --- [           main] o.o.d.runtime.web.RuntimeapiApplication  : The following profiles are active: onap2020-03-31 22:14:12.869  INFO 1 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 9090 (http)2020-03-31 22:14:12.908  INFO 1 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]2020-03-31 22:14:12.909  INFO 1 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.22]2020-03-31 22:14:13.004  INFO 1 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext2020-03-31 22:14:13.005  INFO 1 --- [           main] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 1870 msjava.nio.file.AccessDeniedException: /maven/data        at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)        at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)        at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)        at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384)        at java.nio.file.Files.createDirectory(Files.java:674)        at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781)        at java.nio.file.Files.createDirectories(Files.java:767)        at org.onap.dcae.runtime.web.configuration.BlueprintCreatorConfig.createDataImportDirAndImportFile(BlueprintCreatorConfig.java:97)        at org.onap.dcae.runtime.web.configuration.BlueprintCreatorConfig.writeImportsTofile(BlueprintCreatorConfig.java:83)        at org.onap.dcae.runtime.web.configuration.BlueprintCreatorConfig.getFlowGraphParserForOnapDublin(BlueprintCreatorConfig.java:74)        at org.onap.dcae.runtime.web.configuration.BlueprintCreatorConfig$$EnhancerBySpringCGLIB$$7dc46930.CGLIB$getFlowGraphParserForOnapDublin$0(<generated>)        at org.onap.dcae.runtime.web.configuration.BlueprintCreatorConfig$$EnhancerBySpringCGLIB$$7dc46930$$FastClassBySpringCGLIB$$4b7a3ebf.invoke(<generated>)        at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)        at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:363)        at org.onap.dcae.runtime.web.configuration.BlueprintCreatorConfig$$EnhancerBySpringCGLIB$$7dc46930.getFlowGraphParserForOnapDublin(<generated>)        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.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)        at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:622)        at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:456)        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1321)        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160)        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)        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.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:277)        at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1251)        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1171)        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:593)        at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:90)        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:374)        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1411)        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592)        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.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:277)        at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1251)        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1171)        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:593)        at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:90)        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:374)        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1411)        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592)        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:845)        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877)        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)        at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)        at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:743)        at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:390)        at org.springframework.boot.SpringApplication.run(SpringApplication.java:312)        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1214)        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1203)        at org.onap.dcae.runtime.web.RuntimeapiApplication.main(RuntimeapiApplication.java:29)        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.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)        at org.springframework.boot.loader.Launcher.launch(Launcher.java:109)        at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)        at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:93)java.nio.file.NoSuchFileException: /maven/data/imports/onapImports.yaml        at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)        at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)        at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)        at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)        at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)        at java.nio.file.Files.newOutputStream(Files.java:216)        at java.nio.file.Files.write(Files.java:3292)        at org.onap.dcae.runtime.web.configuration.BlueprintCreatorConfig.writeImportsTofile(BlueprintCreatorConfig.java:84)        at org.onap.dcae.runtime.web.configuration.BlueprintCreatorConfig.getFlowGraphParserForOnapDublin(BlueprintCreatorConfig.java:74)        at org.onap.dcae.runtime.web.configuration.BlueprintCreatorConfig$$EnhancerBySpringCGLIB$$7dc46930.CGLIB$getFlowGraphParserForOnapDublin$0(<generated>)        at org.onap.dcae.runtime.web.configuration.BlueprintCreatorConfig$$EnhancerBySpringCGLIB$$7dc46930$$FastClassBySpringCGLIB$$4b7a3ebf.invoke(<generated>)        at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)        at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:363)        at org.onap.dcae.runtime.web.configuration.BlueprintCreatorConfig$$EnhancerBySpringCGLIB$$7dc46930.getFlowGraphParserForOnapDublin(<generated>)        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.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)        at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:622)        at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:456)        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1321)        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1160)        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)        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.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:277)        at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1251)        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1171)        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:593)        at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:90)        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:374)        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1411)        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592)        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.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:277)        at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1251)        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1171)        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:593)        at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:90)        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:374)        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1411)        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592)        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:845)        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877)        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)        at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)        at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:743)        at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:390)        at org.springframework.boot.SpringApplication.run(SpringApplication.java:312)        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1214)        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1203)        at org.onap.dcae.runtime.web.RuntimeapiApplication.main(RuntimeapiApplication.java:29)        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.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)        at org.springframework.boot.loader.Launcher.launch(Launcher.java:109)        at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)        at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:93) 2020-03-31 22:14:13.879  INFO 1 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 2 endpoint(s) beneath base path '/actuator'
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ag1282 Andrew Gauld
              vv770d Vijay Venkatesh Kumar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: