{"action":"reopened","issue":{"url":"https://api.github.com/repos/hashicorp/nomad/issues/889","repository_url":"https://api.github.com/repos/hashicorp/nomad","labels_url":"https://api.github.com/repos/hashicorp/nomad/issues/889/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/nomad/issues/889/comments","events_url":"https://api.github.com/repos/hashicorp/nomad/issues/889/events","html_url":"https://github.com/hashicorp/nomad/issues/889","id":138805801,"number":889,"title":"Error while fetching allocation logs using nomad 0.3","user":{"login":"bithavoc","id":219289,"avatar_url":"https://avatars.githubusercontent.com/u/219289?v=3","gravatar_id":"","url":"https://api.github.com/users/bithavoc","html_url":"https://github.com/bithavoc","followers_url":"https://api.github.com/users/bithavoc/followers","following_url":"https://api.github.com/users/bithavoc/following{/other_user}","gists_url":"https://api.github.com/users/bithavoc/gists{/gist_id}","starred_url":"https://api.github.com/users/bithavoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bithavoc/subscriptions","organizations_url":"https://api.github.com/users/bithavoc/orgs","repos_url":"https://api.github.com/users/bithavoc/repos","events_url":"https://api.github.com/users/bithavoc/events{/privacy}","received_events_url":"https://api.github.com/users/bithavoc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hashicorp/nomad/labels/bug","name":"bug","color":"f7c6c7"},{"url":"https://api.github.com/repos/hashicorp/nomad/labels/client","name":"client","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-06T16:09:40Z","updated_at":"2016-03-07T21:02:47Z","closed_at":null,"body":"using nomad `0.3`, trying to fetch the logs for an allocation is resulting in an error:\r\n\r\n```bash\r\nnomad fs ls e719a28a alloc/logs/\r\n```\r\n**Error:**\r\n```go\r\n    2016/03/06 16:06:39 [ERR] http: Request /v1/allocation/e719a28a, error: alloc lookup failed: index error: UUID must be 36 characters\r\n    2016/03/06 16:06:39 http: panic serving 127.0.0.1:42589: runtime error: invalid memory address or nil pointer dereference\r\ngoroutine 4225 [running]:\r\nnet/http.(*conn).serve.func1(0xc820452f00)\r\n\t/opt/go/src/net/http/server.go:1389 +0xc1\r\npanic(0x1083040, 0xc82000e070)\r\n\t/opt/go/src/runtime/panic.go:426 +0x4e9\r\ngithub.com/hashicorp/nomad/client.(*Client).GetAllocFS(0x0, 0xc820637db5, 0x24, 0x0, 0x0, 0x0, 0x0)\r\n\t/opt/gopath/src/github.com/hashicorp/nomad/client/client.go:418 +0x4f\r\ngithub.com/hashicorp/nomad/command/agent.(*HTTPServer).DirectoryListRequest(0xc820226cc0, 0x7eff0520dac8, 0xc8205148f0, 0xc8205f67e0, 0x0, 0x0, 0x0, 0x0)\r\n\t/opt/gopath/src/github.com/hashicorp/nomad/command/agent/fs_endpoint.go:25 +0x276\r\ngithub.com/hashicorp/nomad/command/agent.(*HTTPServer).DirectoryListRequest-fm(0x7eff0520dac8, 0xc8205148f0, 0xc8205f67e0, 0x0, 0x0, 0x0, 0x0)\r\n\t/opt/gopath/src/github.com/hashicorp/nomad/command/agent/http.go:106 +0x5a\r\ngithub.com/hashicorp/nomad/command/agent.(*HTTPServer).wrap.func1(0x7eff0520dac8, 0xc8205148f0, 0xc8205f67e0)\r\n\t/opt/gopath/src/github.com/hashicorp/nomad/command/agent/http.go:164 +0x139\r\nnet/http.HandlerFunc.ServeHTTP(0xc82022b020, 0x7eff0520dac8, 0xc8205148f0, 0xc8205f67e0)\r\n\t/opt/go/src/net/http/server.go:1618 +0x3a\r\nnet/http.(*ServeMux).ServeHTTP(0xc820225f20, 0x7eff0520dac8, 0xc8205148f0, 0xc8205f67e0)\r\n\t/opt/go/src/net/http/server.go:1910 +0x17d\r\nnet/http.serverHandler.ServeHTTP(0xc8201f9000, 0x7eff0520dac8, 0xc8205148f0, 0xc8205f67e0)\r\n\t/opt/go/src/net/http/server.go:2081 +0x19e\r\nnet/http.(*conn).serve(0xc820452f00)\r\n\t/opt/go/src/net/http/server.go:1472 +0xf2e\r\ncreated by net/http.(*Server).Serve\r\n\t/opt/go/src/net/http/server.go:2137 +0x44e\r\n\r\n```\r\nAny ideas why this is failing?"}}