{"action":"closed","issue":{"url":"https://api.github.com/repos/manastech/crystal/issues/715","labels_url":"https://api.github.com/repos/manastech/crystal/issues/715/labels{/name}","comments_url":"https://api.github.com/repos/manastech/crystal/issues/715/comments","events_url":"https://api.github.com/repos/manastech/crystal/issues/715/events","html_url":"https://github.com/manastech/crystal/issues/715","id":82926915,"number":715,"title":"failed running crystal browser","user":{"login":"datanoise","id":15819,"avatar_url":"https://avatars.githubusercontent.com/u/15819?v=3","gravatar_id":"","url":"https://api.github.com/users/datanoise","html_url":"https://github.com/datanoise","followers_url":"https://api.github.com/users/datanoise/followers","following_url":"https://api.github.com/users/datanoise/following{/other_user}","gists_url":"https://api.github.com/users/datanoise/gists{/gist_id}","starred_url":"https://api.github.com/users/datanoise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datanoise/subscriptions","organizations_url":"https://api.github.com/users/datanoise/orgs","repos_url":"https://api.github.com/users/datanoise/repos","events_url":"https://api.github.com/users/datanoise/events{/privacy}","received_events_url":"https://api.github.com/users/datanoise/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-30T22:07:51Z","updated_at":"2015-06-01T18:13:33Z","closed_at":"2015-06-01T18:13:33Z","body":"Here is the error:\r\n\r\n```\r\nBrowser open at http://0.0.0.0:4000\r\ninvalid UInt64:\r\n*Exception@Exception#initialize<ArgumentError, String>:Array(String) +46 [4303493006]\r\n*ArgumentError#initialize<ArgumentError, String>:Array(String) +6 [4303492950]\r\n*ArgumentError::new<String>:ArgumentError +92 [4303492908]\r\n*String#to_u64<String, Int32, Bool, Bool, Bool, Bool>:UInt64 +255 [4303556927]\r\n*String#to_u64<String>:UInt64 +32 [4303556656]\r\n*Crystal::Browser#handle<Crystal::Browser, String>:String +97 [4314551617]\r\n*Crystal::Browser::open<Crystal::ASTNode+>:NoReturn +417 [4314550913]\r\n*Crystal::Command::browser<Array(String)>:NoReturn +102 [4303746134]\r\n*Crystal::Command::run<Array(String)>:(Nil | File | Bool | AutoflushBufferedIO(FileDescriptorIO+) | Crystal::Compiler::Result | Array(Crystal::Init::View+:Class)) +732 [4303734188]\r\n*Crystal::Command::run:(Nil | File | Bool | AutoflushBufferedIO(FileDescriptorIO+) | Crystal::Compiler::Result | Array(Crystal::Init::View+:Class)) +37 [4303733365]\r\n__crystal_main +33993 [4303453849]\r\nmain +40 [4303456568]\r\n\r\nError: you've found a bug in the Crystal compiler. Please open an issue: https://github.com/manastech/crystal/issues\r\n```\r\n\r\nHere is the diff that fixes it:\r\n\r\n```diff\r\ndiff --git a/src/compiler/crystal/tools/browser.cr b/src/compiler/crystal/tools/browser.cr\r\nindex 7180173..34f81ca 100644\r\n--- a/src/compiler/crystal/tools/browser.cr\r\n+++ b/src/compiler/crystal/tools/browser.cr\r\n@@ -32,7 +32,7 @@ class Crystal::Browser\r\n   end\r\n\r\n   def handle(path)\r\n-    object_id = path[1 .. -1].to_u64\r\n+    object_id = path[1 .. -1].to_u64 { 0_u64 }\r\n     case object_id\r\n     when 0\r\n       render_html @node\r\n```"}}