{"action":"created","issue":{"url":"https://api.github.com/repos/emc-advanced-dev/unik/issues/89","repository_url":"https://api.github.com/repos/emc-advanced-dev/unik","labels_url":"https://api.github.com/repos/emc-advanced-dev/unik/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/emc-advanced-dev/unik/issues/89/comments","events_url":"https://api.github.com/repos/emc-advanced-dev/unik/issues/89/events","html_url":"https://github.com/emc-advanced-dev/unik/issues/89","id":177093944,"number":89,"title":"error while trying to build an aws image for osv java","user":{"login":"jbclaramonte","id":180966,"avatar_url":"https://avatars.githubusercontent.com/u/180966?v=3","gravatar_id":"","url":"https://api.github.com/users/jbclaramonte","html_url":"https://github.com/jbclaramonte","followers_url":"https://api.github.com/users/jbclaramonte/followers","following_url":"https://api.github.com/users/jbclaramonte/following{/other_user}","gists_url":"https://api.github.com/users/jbclaramonte/gists{/gist_id}","starred_url":"https://api.github.com/users/jbclaramonte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbclaramonte/subscriptions","organizations_url":"https://api.github.com/users/jbclaramonte/orgs","repos_url":"https://api.github.com/users/jbclaramonte/repos","events_url":"https://api.github.com/users/jbclaramonte/events{/privacy}","received_events_url":"https://api.github.com/users/jbclaramonte/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-15T05:43:55Z","updated_at":"2016-09-15T19:50:55Z","closed_at":null,"body":"Hello,\r\n\r\nI tried to build an aws image for the provided basic java maven example, but I got the following error, do you have an idea of what could be the issue ?\r\n\r\n~~~bash\r\n$ unik build --name myJavaImage --path . --base osv --language java --provider aws\r\n\r\nINFO[0000] running unik build                            args= base=osv force=false host=localhost:3000 language=java mountPoints=[] name=myJavaImage path=. provider=aws\r\nINFO[0000] App packaged as tarball: /var/folders/b9/zg8l0fln6c11s993b3kxv_b00000gn/T/sources.tar.gz.481883674\r\n\r\nERRO[1230] build failed: [cmd/build.go:105] building image failed: {[client/images.go:63] failed with status 500: <html>\r\n<head><title>PANIC: assignment to entry in nil map</title>\r\n<style type=\"text/css\">\r\nhtml, body {\r\n       \tfont-family: \"Roboto\", sans-serif;\r\n       \tcolor: #333333;\r\n       \tbackground-color: #ea5343;\r\n       \tmargin: 0px;\r\n}\r\nh1 {\r\n       \tcolor: #d04526;\r\n       \tbackground-color: #ffffff;\r\n       \tpadding: 20px;\r\n       \tborder-bottom: 1px dashed #2b3848;\r\n}\r\npre {\r\n       \tmargin: 20px;\r\n       \tpadding: 20px;\r\n       \tborder: 2px solid #2b3848;\r\n       \tbackground-color: #ffffff;\r\n}\r\n</style>\r\n</head><body>\r\n<h1>PANIC</h1>\r\n<pre style=\"font-weight: bold;\">assignment to entry in nil map</pre>\r\n<pre>/usr/local/go/src/runtime/panic.go:443 (0x2b7e9)\r\n       \tgopanic: // Remove them from the list.\r\n/usr/local/go/src/runtime/hashmap.go:431 (0x9409)\r\n       \tmapassign1: bucket := hash & (uintptr(1)<<h.B - 1)\r\n/go/src/github.com/emc-advanced-dev/unik/pkg/providers/aws/stage.go:204 (0x2fd7b5)\r\n/go/src/github.com/emc-advanced-dev/unik/pkg/state/base_state.go:83 (0x33b9ea)\r\n/go/src/github.com/emc-advanced-dev/unik/pkg/providers/aws/stage.go:203 (0x2fb255)\r\n/go/src/github.com/emc-advanced-dev/unik/pkg/daemon/daemon.go:451 (0x1709b3)\r\n/go/src/github.com/emc-advanced-dev/unik/pkg/daemon/daemon.go:298 (0x16e4b4)\r\n/go/src/github.com/emc-advanced-dev/unik/pkg/daemon/daemon.go:456 (0x170bf3)\r\n/usr/local/go/src/runtime/asm_amd64.s:472 (0x59aee)\r\n       \tcall32: MOVQ   \tptr+0(FP), BX\r\n/usr/local/go/src/reflect/value.go:435 (0x26cfcd)\r\n       \tValue.call: if callGC {\r\n/usr/local/go/src/reflect/value.go:303 (0x26bc91)\r\n       \tValue.Call: // CallSlice calls the variadic function v with the input arguments in,\r\n/go/src/github.com/emc-advanced-dev/unik/vendor/github.com/codegangsta/inject/inject.go:102 (0x541e92)\r\n<autogenerated>:30 (0x345a4d)\r\n/go/src/github.com/emc-advanced-dev/unik/vendor/github.com/go-martini/martini/router.go:408 (0x342b30)\r\n/go/src/github.com/emc-advanced-dev/unik/vendor/github.com/go-martini/martini/router.go:285 (0x341c69)\r\n/go/src/github.com/emc-advanced-dev/unik/vendor/github.com/go-martini/martini/router.go:132 (0x340814)\r\n/go/src/github.com/emc-advanced-dev/unik/vendor/github.com/go-martini/martini/martini.go:139 (0x3433f4)\r\n/usr/local/go/src/runtime/asm_amd64.s:473 (0x59b8e)\r\n       \tcall64: MOVL   \told+8(FP), AX\r\n/usr/local/go/src/reflect/value.go:435 (0x26cfcd)\r\n       \tValue.call: if callGC {\r\n/usr/local/go/src/reflect/value.go:303 (0x26bc91)\r\n       \tValue.Call: // CallSlice calls the variadic function v with the input arguments in,\r\n/go/src/github.com/emc-advanced-dev/unik/vendor/github.com/codegangsta/inject/inject.go:102 (0x541e92)\r\n/go/src/github.com/emc-advanced-dev/unik/vendor/github.com/go-martini/martini/martini.go:193 (0x33e84e)\r\n/go/src/github.com/emc-advanced-dev/unik/vendor/github.com/go-martini/martini/martini.go:184 (0x33e75c)\r\n/go/src/github.com/emc-advanced-dev/unik/vendor/github.com/go-martini/martini/recovery.go:142 (0x343af2)\r\n/usr/local/go/src/runtime/asm_amd64.s:472 (0x59aee)\r\n       \tcall32: MOVQ   \tptr+0(FP), BX\r\n/usr/local/go/src/reflect/value.go:435 (0x26cfcd)\r\n       \tValue.call: if callGC {\r\n/usr/local/go/src/reflect/value.go:303 (0x26bc91)\r\n       \tValue.Call: // CallSlice calls the variadic function v with the input arguments in,\r\n/go/src/github.com/emc-advanced-dev/unik/vendor/github.com/codegangsta/inject/inject.go:102 (0x541e92)\r\n/go/src/github.com/emc-advanced-dev/unik/vendor/github.com/go-martini/martini/martini.go:193 (0x33e84e)\r\n/go/src/github.com/emc-advanced-dev/unik/vendor/github.com/go-martini/martini/martini.go:184 (0x33e75c)\r\n/go/src/github.com/emc-advanced-dev/unik/vendor/github.com/layer-x/layerx-commons/lxmartini/lxmartini.go:37 (0x34a24f)\r\n/usr/local/go/src/runtime/asm_amd64.s:473 (0x59b8e)\r\n       \tcall64: MOVL   \told+8(FP), AX\r\n/usr/local/go/src/reflect/value.go:435 (0x26cfcd)\r\n       \tValue.call: if callGC {\r\n/usr/local/go/src/reflect/value.go:303 (0x26bc91)\r\n       \tValue.Call: // CallSlice calls the variadic function v with the input arguments in,\r\n/go/src/github.com/emc-advanced-dev/unik/vendor/github.com/codegangsta/inject/inject.go:102 (0x541e92)\r\n/go/src/github.com/emc-advanced-dev/unik/vendor/github.com/go-martini/martini/martini.go:193 (0x33e84e)\r\n/go/src/github.com/emc-advanced-dev/unik/vendor/github.com/go-martini/martini/martini.go:78 (0x33d5ad)\r\n/usr/local/go/src/net/http/server.go:2081 (0x22336e)\r\n       \tserverHandler.ServeHTTP: case <-done:\r\n/usr/local/go/src/net/http/server.go:1472 (0x21fd5e)\r\n       \t(*conn).serve: // line must be an absolute URI, like\r\n/usr/local/go/src/runtime/asm_amd64.s:1998 (0x5c1a1)\r\n       \tgoexit: ???\r\n</pre>\r\n</body>\r\n</html>}\r\n~~~"},"comment":{"url":"https://api.github.com/repos/emc-advanced-dev/unik/issues/comments/247433549","html_url":"https://github.com/emc-advanced-dev/unik/issues/89#issuecomment-247433549","issue_url":"https://api.github.com/repos/emc-advanced-dev/unik/issues/89","id":247433549,"user":{"login":"ilackarms","id":5974898,"avatar_url":"https://avatars.githubusercontent.com/u/5974898?v=3","gravatar_id":"","url":"https://api.github.com/users/ilackarms","html_url":"https://github.com/ilackarms","followers_url":"https://api.github.com/users/ilackarms/followers","following_url":"https://api.github.com/users/ilackarms/following{/other_user}","gists_url":"https://api.github.com/users/ilackarms/gists{/gist_id}","starred_url":"https://api.github.com/users/ilackarms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilackarms/subscriptions","organizations_url":"https://api.github.com/users/ilackarms/orgs","repos_url":"https://api.github.com/users/ilackarms/repos","events_url":"https://api.github.com/users/ilackarms/events{/privacy}","received_events_url":"https://api.github.com/users/ilackarms/received_events","type":"User","site_admin":false},"created_at":"2016-09-15T19:50:55Z","updated_at":"2016-09-15T19:50:55Z","body":"try deleting it (unik should create one)"}}
{"actor":{"display_login":"ilackarms"}}