{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/protractor/issues/2000","labels_url":"https://api.github.com/repos/angular/protractor/issues/2000/labels{/name}","comments_url":"https://api.github.com/repos/angular/protractor/issues/2000/comments","events_url":"https://api.github.com/repos/angular/protractor/issues/2000/events","html_url":"https://github.com/angular/protractor/issues/2000","id":65943069,"number":2000,"title":"Error on accessing browser logs","user":{"login":"markuswaltre","id":3342762,"avatar_url":"https://avatars.githubusercontent.com/u/3342762?v=3","gravatar_id":"","url":"https://api.github.com/users/markuswaltre","html_url":"https://github.com/markuswaltre","followers_url":"https://api.github.com/users/markuswaltre/followers","following_url":"https://api.github.com/users/markuswaltre/following{/other_user}","gists_url":"https://api.github.com/users/markuswaltre/gists{/gist_id}","starred_url":"https://api.github.com/users/markuswaltre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markuswaltre/subscriptions","organizations_url":"https://api.github.com/users/markuswaltre/orgs","repos_url":"https://api.github.com/users/markuswaltre/repos","events_url":"https://api.github.com/users/markuswaltre/events{/privacy}","received_events_url":"https://api.github.com/users/markuswaltre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-02T14:48:31Z","updated_at":"2015-04-02T14:48:31Z","closed_at":null,"body":"Hello!\r\n\r\nI am trying to access the logs of the browser with `browser.manage().logs().get('browser').then(function() {})`\r\n\r\nhowever I get the following error log\r\n```\r\nUnknownError: java.lang.String cannot be cast to java.lang.Long\r\n      at new bot.Error (/Users/markuswaltre/Dev/competencer/angular-client/node_modules/protractor/node_modules/selenium-webdriver/lib/atoms/error.js:113:18)\r\n      at Object.bot.response.checkResponse (/Users/markuswaltre/Dev/competencer/angular-client/node_modules/protractor/node_modules/selenium-webdriver/lib/atoms/response.js:106:9)\r\n      at /Users/markuswaltre/Dev/competencer/angular-client/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:362:20\r\n      at /Users/markuswaltre/Dev/competencer/angular-client/node_modules/protractor/node_modules/selenium-webdriver/lib/goog/base.js:1582:15\r\n      at [object Object].webdriver.promise.ControlFlow.runInNewFrame_ (/Users/markuswaltre/Dev/competencer/angular-client/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1654:20)\r\n      at notify (/Users/markuswaltre/Dev/competencer/angular-client/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:465:12)\r\n      at notifyAll (/Users/markuswaltre/Dev/competencer/angular-client/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:442:7)\r\n      at resolve (/Users/markuswaltre/Dev/competencer/angular-client/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:420:7)\r\n      at [object Object].fulfill (/Users/markuswaltre/Dev/competencer/angular-client/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:535:5)\r\n      at /Users/markuswaltre/Dev/competencer/angular-client/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1520:10\r\n  ==== async task ====\r\n  WebDriver.manage().logs().get(browser)\r\n      at [object Object].webdriver.WebDriver.schedule (/Users/markuswaltre/Dev/competencer/angular-client/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:345:15)\r\n      at [object Object].webdriver.WebDriver.Logs.get (/Users/markuswaltre/Dev/competencer/angular-client/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:1442:23)\r\n      at Context.<anonymous> (/Users/markuswaltre/Dev/competencer/angular-client/test/e2e/login/logintest.js:170:7)\r\n      at /Users/markuswaltre/Dev/competencer/angular-client/node_modules/protractor/node_modules/selenium-webdriver/testing/index.js:121:22\r\n      at [object Object].webdriver.promise.ControlFlow.runInNewFrame_ (/Users/markuswaltre/Dev/competencer/angular-client/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1654:20)\r\n      at [object Object].webdriver.promise.ControlFlow.runEventLoop_ (/Users/markuswaltre/Dev/competencer/angular-client/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1518:8)\r\n      at [object Object].wrapper [as _onTimeout] (timers.js:258:14)\r\n      at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)\r\n  ==== async task ====\r\n      at Context.ret (/Users/markuswaltre/Dev/competencer/angular-client/node_modules/protractor/node_modules/selenium-webdriver/testing/index.js:119:12)\r\n      at Test.Runnable.run (/Users/markuswaltre/Dev/competencer/angular-client/node_modules/mocha/lib/runnable.js:218:15)\r\n      at Runner.runTest (/Users/markuswaltre/Dev/competencer/angular-client/node_modules/mocha/lib/runner.js:374:10)\r\n      at /Users/markuswaltre/Dev/competencer/angular-client/node_modules/mocha/lib/runner.js:452:12\r\n      at next (/Users/markuswaltre/Dev/competencer/angular-client/node_modules/mocha/lib/runner.js:299:14)\r\n      at /Users/markuswaltre/Dev/competencer/angular-client/node_modules/mocha/lib/runner.js:309:7\r\n      at next (/Users/markuswaltre/Dev/competencer/angular-client/node_modules/mocha/lib/runner.js:248:23)\r\n      at Object._onImmediate (/Users/markuswaltre/Dev/competencer/angular-client/node_modules/mocha/lib/runner.js:276:5)\r\n      at processImmediate [as _immediateCallback] (timers.js:336:15)\r\n```\r\n\r\nI think the error is bubbled up at \r\n`/Users/markuswaltre/Dev/competencer/angular-client/test/e2e/login/logintest.js:170:7`\r\nwhich directly correlates to `.get('browser')`. I have access to `browser.manage().logs()` but `get` or `getAvailableLogTypes` creates this error.\r\n\r\nI'm running Protractor version 1.8.0. Any ideas on what could have caused this would be appreciated!\r\n\r\n"}}