{"action":"opened","issue":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/607","labels_url":"https://api.github.com/repos/bazelbuild/bazel/issues/607/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/bazel/issues/607/comments","events_url":"https://api.github.com/repos/bazelbuild/bazel/issues/607/events","html_url":"https://github.com/bazelbuild/bazel/issues/607","id":117019279,"number":607,"title":"Docker build_layer rule fails with extra \"null failed\" in error message.","user":{"login":"endobson","id":170008,"avatar_url":"https://avatars.githubusercontent.com/u/170008?v=3","gravatar_id":"","url":"https://api.github.com/users/endobson","html_url":"https://github.com/endobson","followers_url":"https://api.github.com/users/endobson/followers","following_url":"https://api.github.com/users/endobson/following{/other_user}","gists_url":"https://api.github.com/users/endobson/gists{/gist_id}","starred_url":"https://api.github.com/users/endobson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endobson/subscriptions","organizations_url":"https://api.github.com/users/endobson/orgs","repos_url":"https://api.github.com/users/endobson/repos","events_url":"https://api.github.com/users/endobson/events{/privacy}","received_events_url":"https://api.github.com/users/endobson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-15T21:33:46Z","updated_at":"2015-11-15T21:33:46Z","closed_at":null,"body":"When trying to build a layer with about 7300 files in it I get a too many arguments error (which is reasonable). But there is an extra 'null failed' at the beginning of the error message.\r\n\r\n```\r\nERROR: /Users/endobson/tmp/bazel-project/BUILD:17:1: null failed: build_layer failed: error executing command bazel-out/host/bin/tools/build_defs/docker/build_layer '--output=bazel-out/local_darwin-fastbuild/bin/my_base_docker_layer.layer' '--directory=/' '--mode=0555' '--file=base/bin/bash=base/bin/bash' ... (remaining 7261 argument(s) skipped): java.io.IOException: Cannot run program \"/private/var/tmp/_bazel_endobson/dd678381b15653ba614ba2d7587f54af/bazel-project/_bin/process-wrapper\" (in directory \"/private/var/tmp/_bazel_endobson/dd678381b15653ba614ba2d7587f54af/bazel-project\"): error=7, Argument list too long.\r\n``` "}}