forjj create core dump
Created by: clarsonneur
when forjj creates starts from a Forjfile input, it fails on internal merge.
branch HEAD, build_date 2018-07-13_18:59:35_+0200, build_commit ba83b8e0, build_tag false. 2018/07/13 19:18:21 git init /home/larsonsh/tmp/initial/infra/.forj-workspace/deployments/production 2018/07/13 19:18:21 stdout Dépôt Git vide initialisé dans /home/larsonsh/tmp/initial/infra/.forj-workspace/deployments/production/.git/ 2018/07/13 19:18:21 git init /home/larsonsh/tmp/initial/infra/.forj-workspace/deployments/dev 2018/07/13 19:18:21 stdout Dépôt Git vide initialisé dans /home/larsonsh/tmp/initial/infra/.forj-workspace/deployments/dev/.git/ 2018/07/13 19:18:21 git init /home/larsonsh/tmp/initial/infra/.forj-workspace/deployments/test 2018/07/13 19:18:21 stdout Dépôt Git vide initialisé dans /home/larsonsh/tmp/initial/infra/.forj-workspace/deployments/test/.git/ WARNING ! main.(*Forj).init_driver_flags: No actions to add flags. WARNING ! main.(*Forj).init_driver_flags: No actions to add flags. WARNING ! forjj/forjfile.(*RepoStruct).Get: *RepoStruct.Get(): Field 'upstream' is obsolete. Change the code to use 'apps:upstream'. panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0xf8 pc=0x7a6676]
goroutine 1 [running]: forjj/forjfile.(*DeployForgeYaml).mergeFrom(0xc4204ea650, 0x0, 0x0, 0x0) /go/workspace/src/forjj/forjfile/deploy_forge_yaml.go:463 +0x46 forjj/forjfile.(*Forge).MergeFromDeployment(0xb86970, 0xc4200a7420, 0xa, 0x410ff8, 0x40, 0x0) /go/workspace/src/forjj/forjfile/forge.go:319 +0x2e9 forjj/forjfile.(*Forge).BuildForjfileInMem(0xb86970, 0x0, 0xc4201a89f0) /go/workspace/src/forjj/forjfile/forge.go:293 +0x41 main.(*Forj).read_driver.func2(0xc420546100, 0xc42025fc20, 0x8f9c51, 0x8, 0xc420191750, 0x1) /go/workspace/src/forjj/drivers_options.go:94 +0x333 forjj/vendor/github.com/forj-oss/goforjj.(*Plugins).Load(0xc42009eff0, 0xc4200a7590, 0x7, 0xc4200a7590, 0x7, 0xc4200a75a8, 0x2, 0xc42025fc20, 0x0, 0x0, ...) /go/workspace/src/forjj/vendor/github.com/forj-oss/goforjj/plugins.go:60 +0x1ce main.(*Forj).read_driver(0xb867c0, 0xc4200a7590, 0x7, 0xc4204ba270, 0xc4204ba250) /go/workspace/src/forjj/drivers_options.go:79 +0x2b2 main.(*Forj).load_driver_options(0xb867c0, 0xc4200a7590, 0x7, 0x1, 0x1) /go/workspace/src/forjj/drivers_options.go:24 +0x43 main.(*Forj).ParseContext(0xb867c0, 0xc4200e4900, 0x0, 0x0, 0xc420150030, 0xb80bf0, 0xc420162270) /go/workspace/src/forjj/cli_context.go:216 +0x12e0 main.(*Forj).ParseContext-fm(0xc4200e4900, 0x0, 0x0, 0x0, 0x0, 0x0) /go/workspace/src/forjj/app.go:228 +0x48 forjj/vendor/github.com/forj-oss/forjj-modules/cli.(*ForjCli).contextHook(0xc4200e4900, 0x0, 0x0, 0xc42008c9b0, 0x0, 0x0) /go/workspace/src/forjj/vendor/github.com/forj-oss/forjj-modules/cli/forjj-context.go:151 +0x34d forjj/vendor/github.com/forj-oss/forjj-modules/cli.(*ForjCli).loadContext(0xc4200e4900, 0xc420092010, 0x2, 0x2, 0x0, 0x0, 0x8f9743, 0x7) /go/workspace/src/forjj/vendor/github.com/forj-oss/forjj-modules/cli/forjj-context.go:58 +0x1b2 forjj/vendor/github.com/forj-oss/forjj-modules/cli.(*ForjCli).Parse(0xc4200e4900, 0xc420092010, 0x2, 0x2, 0x0, 0x0, 0xc420093590, 0xc420053f30, 0x769a34, 0x8721c0) /go/workspace/src/forjj/vendor/github.com/forj-oss/forjj-modules/cli/forj-cli.go:69 +0x6e main.main() /go/workspace/src/forjj/forjj.go:35 +0xdd