{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/17235","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/17235/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/17235/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/17235/events","html_url":"https://github.com/flutter/flutter/issues/17235","id":319779703,"number":17235,"title":"flutter.bat crashes when launched (Windows)","user":{"login":"prasannajeet","id":3320483,"avatar_url":"https://avatars1.githubusercontent.com/u/3320483?v=4","gravatar_id":"","url":"https://api.github.com/users/prasannajeet","html_url":"https://github.com/prasannajeet","followers_url":"https://api.github.com/users/prasannajeet/followers","following_url":"https://api.github.com/users/prasannajeet/following{/other_user}","gists_url":"https://api.github.com/users/prasannajeet/gists{/gist_id}","starred_url":"https://api.github.com/users/prasannajeet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prasannajeet/subscriptions","organizations_url":"https://api.github.com/users/prasannajeet/orgs","repos_url":"https://api.github.com/users/prasannajeet/repos","events_url":"https://api.github.com/users/prasannajeet/events{/privacy}","received_events_url":"https://api.github.com/users/prasannajeet/received_events","type":"User","site_admin":false},"labels":[{"id":762054188,"url":"https://api.github.com/repos/flutter/flutter/labels/a:%20first%20hour","name":"a: first hour","color":"38d8c8","default":false},{"id":530417154,"url":"https://api.github.com/repos/flutter/flutter/labels/%E2%9D%96%20platform-windows","name":"❖ platform-windows","color":"003570","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-03T03:46:08Z","updated_at":"2018-05-03T12:14:00Z","closed_at":null,"author_association":"NONE","body":"**## Steps to Reproduce**\r\n\r\n1. Download flutter_windows_v0.3.1-betal.zip\r\n2. Extract\r\n3. Add the flutter\\bin to the User Variables \"Path\"\r\n4. Go to \\bin and double click on the flutter.bat file\r\n5. Crashes\r\n\r\n**## Logs**\r\n\r\nFlutter crash report; please file at https://github.com/flutter/flutter/issues.\r\n\r\n## command\r\n\r\nflutter \r\n\r\n## exception\r\n\r\nVersionCheckError: VersionCheckError: Command exited with code 128: git log -n 1 --pretty=format:%ad --date=iso\r\nStandard error: fatal: your current branch 'beta' does not have any commits yet\r\n\r\n\r\n```\r\n#0      _runSync (package:flutter_tools/src/version.dart:439)\r\n#1      FlutterVersion._latestGitCommitDate (package:flutter_tools/src/version.dart:129)\r\n#2      FlutterVersion.frameworkCommitDate (package:flutter_tools/src/version.dart:120)\r\n#3      FlutterVersion.checkFlutterVersionFreshness (package:flutter_tools/src/version.dart:235)\r\n<asynchronous suspension>\r\n#4      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:284)\r\n<asynchronous suspension>\r\n#5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)\r\n<asynchronous suspension>\r\n#6      _rootRun (dart:async/zone.dart:1126)\r\n#7      _CustomZone.run (dart:async/zone.dart:1023)\r\n#8      runZoned (dart:async/zone.dart:1501)\r\n#9      AppContext.run (package:flutter_tools/src/base/context.dart:141)\r\n<asynchronous suspension>\r\n#10     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:265)\r\n<asynchronous suspension>\r\n#11     CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:109)\r\n#12     new Future.sync (dart:async/future.dart:224)\r\n#13     CommandRunner.run (package:args/command_runner.dart:109)\r\n#14     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:174)\r\n#15     run.<anonymous closure> (package:flutter_tools/runner.dart:54)\r\n<asynchronous suspension>\r\n#16     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)\r\n<asynchronous suspension>\r\n#17     _rootRun (dart:async/zone.dart:1126)\r\n#18     _CustomZone.run (dart:async/zone.dart:1023)\r\n#19     runZoned (dart:async/zone.dart:1501)\r\n#20     AppContext.run (package:flutter_tools/src/base/context.dart:141)\r\n<asynchronous suspension>\r\n#21     runInContext (package:flutter_tools/src/context_runner.dart:41)\r\n<asynchronous suspension>\r\n#22     run (package:flutter_tools/runner.dart:49)\r\n#23     main (package:flutter_tools/executable.dart:48)\r\n<asynchronous suspension>\r\n#24     main (file:///C:/Flutterspace/flutter/packages/flutter_tools/bin/flutter_tools.dart:8)\r\n#25     _startIsolate.<anonymous closure> (dart:isolate-patch/dart:isolate/isolate_patch.dart:277)\r\n#26     _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)\r\n```\r\n\r\n## flutter doctor\r\n\r\n```\r\nencountered exception: VersionCheckError: Command exited with code 128: git log -n 1 --pretty=format:%ad --date=iso\r\nStandard error: fatal: your current branch 'beta' does not have any commits yet\r\n\r\n\r\n#0      _runSync (package:flutter_tools/src/version.dart:439)\r\n#1      FlutterVersion._latestGitCommitDate (package:flutter_tools/src/version.dart:129)\r\n#2      FlutterVersion.frameworkCommitDate (package:flutter_tools/src/version.dart:120)\r\n#3      FlutterVersion.frameworkDate (package:flutter_tools/src/version.dart:83)\r\n#4      _FlutterValidator.validate (package:flutter_tools/src/doctor.dart:256)\r\n<asynchronous suspension>\r\n#5      Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:69)\r\n#6      Doctor.diagnose (package:flutter_tools/src/doctor.dart:126)\r\n<asynchronous suspension>\r\n#7      _doctorText.<anonymous closure> (package:flutter_tools/runner.dart:189)\r\n#8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)\r\n<asynchronous suspension>\r\n#9      _rootRun (dart:async/zone.dart:1126)\r\n#10     _CustomZone.run (dart:async/zone.dart:1023)\r\n#11     runZoned (dart:async/zone.dart:1501)\r\n#12     AppContext.run (package:flutter_tools/src/base/context.dart:141)\r\n<asynchronous suspension>\r\n#13     _doctorText (package:flutter_tools/runner.dart:188)\r\n<asynchronous suspension>\r\n#14     _createLocalCrashReport (package:flutter_tools/runner.dart:166)\r\n<asynchronous suspension>\r\n#15     _handleToolError (package:flutter_tools/runner.dart:121)\r\n<asynchronous suspension>\r\n#16     run.<anonymous closure> (package:flutter_tools/runner.dart:58)\r\n<asynchronous suspension>\r\n#17     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)\r\n<asynchronous suspension>\r\n#18     _rootRun (dart:async/zone.dart:1126)\r\n#19     _CustomZone.run (dart:async/zone.dart:1023)\r\n#20     runZoned (dart:async/zone.dart:1501)\r\n#21     AppContext.run (package:flutter_tools/src/base/context.dart:141)\r\n<asynchronous suspension>\r\n#22     runInContext (package:flutter_tools/src/context_runner.dart:41)\r\n<asynchronous suspension>\r\n#23     run (package:flutter_tools/runner.dart:49)\r\n#24     main (package:flutter_tools/executable.dart:48)\r\n<asynchronous suspension>\r\n#25     main (file:///C:/Flutterspace/flutter/packages/flutter_tools/bin/flutter_tools.dart:8)\r\n#26     _startIsolate.<anonymous closure> (dart:isolate-patch/dart:isolate/isolate_patch.dart:277)\r\n#27     _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)\r\n```\r\n**## Flutter Doctor **\r\n\r\nC:\\Users\\prasa>flutter doctor\r\nfatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.\r\nUse '--' to separate paths from revisions, like this:\r\n'git <command> [<revision>...] -- [<file>...]'\r\n\r\nOops; flutter has exited unexpectedly.\r\nSending crash report to Google.\r\nFailed to send crash report. Server responded with HTTP status code 400\r\nCrash report written to C:\\Users\\prasa\\flutter_01.log;\r\nplease let us know at https://github.com/flutter/flutter/issues."},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/386275029","html_url":"https://github.com/flutter/flutter/issues/17235#issuecomment-386275029","issue_url":"https://api.github.com/repos/flutter/flutter/issues/17235","id":386275029,"user":{"login":"mit-mit","id":13644170,"avatar_url":"https://avatars3.githubusercontent.com/u/13644170?v=4","gravatar_id":"","url":"https://api.github.com/users/mit-mit","html_url":"https://github.com/mit-mit","followers_url":"https://api.github.com/users/mit-mit/followers","following_url":"https://api.github.com/users/mit-mit/following{/other_user}","gists_url":"https://api.github.com/users/mit-mit/gists{/gist_id}","starred_url":"https://api.github.com/users/mit-mit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mit-mit/subscriptions","organizations_url":"https://api.github.com/users/mit-mit/orgs","repos_url":"https://api.github.com/users/mit-mit/repos","events_url":"https://api.github.com/users/mit-mit/events{/privacy}","received_events_url":"https://api.github.com/users/mit-mit/received_events","type":"User","site_admin":false},"created_at":"2018-05-03T12:14:00Z","updated_at":"2018-05-03T12:14:00Z","author_association":"MEMBER","body":"cc @gspencergoog "}}
{"actor":{"display_login":"mit-mit"}}