Skip to content
This repository has been archived by the owner on Feb 2, 2019. It is now read-only.

No method or field with name 'arguments.ambariRepoFileUrl' #4

Open
MarkizaSckuza opened this issue Jun 15, 2018 · 0 comments
Open

No method or field with name 'arguments.ambariRepoFileUrl' #4

MarkizaSckuza opened this issue Jun 15, 2018 · 0 comments

Comments

@MarkizaSckuza
Copy link

Hi, while trying to run

java -jar hdp-vagrant-generator-1.0.0.jar

getting exception with stack trace:

java.lang.IllegalStateException: Failed to execute CommandLineRunner
        at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:779) ~[spring-boot-1.5.3.RELEASE.jar!/:1.5.3.RELEASE]
        at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:760) ~[spring-boot-1.5.3.RELEASE.jar!/:1.5.3.RELEASE]
        at org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:747) ~[spring-boot-1.5.3.RELEASE.jar!/:1.5.3.RELEASE]
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) ~[spring-boot-1.5.3.RELEASE.jar!/:1.5.3.RELEASE]
        at veil.hdp.vagrant.generator.GeneratorApplication.main(GeneratorApplication.java:15) [classes!/:1.0.0]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_171]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_171]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_171]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_171]
        at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) [hdp-vagrant-generator-1.0.0.jar:1.0.0]
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) [hdp-vagrant-generator-1.0.0.jar:1.0.0]
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:50) [hdp-vagrant-generator-1.0.0.jar:1.0.0]
        at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51) [hdp-vagrant-generator-1.0.0.jar:1.0.0]
Caused by: com.samskivert.mustache.MustacheException$Context: No method or field with name 'arguments.ambariRepoFileUrl' on line 7
        at com.samskivert.mustache.Template.checkForMissing(Template.java:316) ~[jmustache-1.13.jar!/:na]
        at com.samskivert.mustache.Template.getCompoundValue(Template.java:251) ~[jmustache-1.13.jar!/:na]
        at com.samskivert.mustache.Template.getValue(Template.java:221) ~[jmustache-1.13.jar!/:na]
        at com.samskivert.mustache.Template.getValueOrDefault(Template.java:269) ~[jmustache-1.13.jar!/:na]
        at com.samskivert.mustache.Mustache$VariableSegment.execute(Mustache.java:802) ~[jmustache-1.13.jar!/:na]
        at com.samskivert.mustache.Template.executeSegs(Template.java:150) ~[jmustache-1.13.jar!/:na]
        at com.samskivert.mustache.Template.execute(Template.java:127) ~[jmustache-1.13.jar!/:na]
        at veil.hdp.vagrant.generator.service.AbstractFileService.convertTemplateToString(AbstractFileService.java:136) ~[classes!/:1.0.0]
        at veil.hdp.vagrant.generator.service.DockerService.buildFile(DockerService.java:19) ~[classes!/:1.0.0]
        at veil.hdp.vagrant.generator.service.AbstractFileService.buildFile(AbstractFileService.java:43) ~[classes!/:1.0.0]
        at veil.hdp.vagrant.generator.BuildDockerFile.run(BuildDockerFile.java:24) ~[classes!/:1.0.0]
        at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:776) ~[spring-boot-1.5.3.RELEASE.jar!/:1.5.3.RELEASE]
        ... 12 common frames omitted
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant