{"action":"created","issue":{"url":"https://api.github.com/repos/angular/protractor/issues/2667","repository_url":"https://api.github.com/repos/angular/protractor","labels_url":"https://api.github.com/repos/angular/protractor/issues/2667/labels{/name}","comments_url":"https://api.github.com/repos/angular/protractor/issues/2667/comments","events_url":"https://api.github.com/repos/angular/protractor/issues/2667/events","html_url":"https://github.com/angular/protractor/issues/2667","id":114999375,"node_id":"MDU6SXNzdWUxMTQ5OTkzNzU=","number":2667,"title":"Console plugin fails with message  : Failure during teardown: Cannot read property 'failOnWarning' of undefined","user":{"login":"dimaxweb","id":1259726,"node_id":"MDQ6VXNlcjEyNTk3MjY=","avatar_url":"https://avatars3.githubusercontent.com/u/1259726?v=4","gravatar_id":"","url":"https://api.github.com/users/dimaxweb","html_url":"https://github.com/dimaxweb","followers_url":"https://api.github.com/users/dimaxweb/followers","following_url":"https://api.github.com/users/dimaxweb/following{/other_user}","gists_url":"https://api.github.com/users/dimaxweb/gists{/gist_id}","starred_url":"https://api.github.com/users/dimaxweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimaxweb/subscriptions","organizations_url":"https://api.github.com/users/dimaxweb/orgs","repos_url":"https://api.github.com/users/dimaxweb/repos","events_url":"https://api.github.com/users/dimaxweb/events{/privacy}","received_events_url":"https://api.github.com/users/dimaxweb/received_events","type":"User","site_admin":false},"labels":[{"id":69419008,"node_id":"MDU6TGFiZWw2OTQxOTAwOA==","url":"https://api.github.com/repos/angular/protractor/labels/status:%20needs%20more%20info","name":"status: needs more info","color":"bfd4f2","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2015-11-04T08:31:07Z","updated_at":"2018-10-24T08:48:19Z","closed_at":"2015-11-05T20:58:29Z","author_association":"NONE","body":"Hello,\nPlease find the stack trace and configuration bellow \nFailure during teardown:\n\n```\nCannot read property 'failOnWarning' of undefined\n        TypeError: Cannot read property 'failOnWarning' of undefined\n            at Function.ConsolePlugin.parseLog (C:\\Projects\\github\\revisor\\node_modules\\protractor\\plugins\\console\\index.js:86:30)\n            at [object Object].ConsolePlugin.teardown (C:\\Projects\\github\\revisor\\node_modules\\protractor\\plugins\\console\\index.js:121:24)\n            at safeCallPluginFun (c:\\Users\\dmitry.mogilko\\AppData\\Roaming\\npm\\node_modules\\protractor\\lib\\plugins.js:188:37)\n            at c:\\Users\\dmitry.mogilko\\AppData\\Roaming\\npm\\node_modules\\protractor\\lib\\plugins.js:223:23\n            at Array.forEach (native)\n            at [object Object].teardown (c:\\Users\\dmitry.mogilko\\AppData\\Roaming\\npm\\node_modules\\protractor\\lib\\plugins.js:221:21)\n            at c:\\Users\\dmitry.mogilko\\AppData\\Roaming\\npm\\node_modules\\protractor\\lib\\runner.js:340:20\n            at _fulfilled (c:\\Users\\dmitry.mogilko\\AppData\\Roaming\\npm\\node_modules\\protractor\\node_modules\\q\\q.js:797:54)\n            at self.promiseDispatch.done (c:\\Users\\dmitry.mogilko\\AppData\\Roaming\\npm\\node_modules\\protractor\\node_modules\\q\\q.js:826:30)\n            at Promise.promise.promiseDispatch (c:\\Users\\dmitry.mogilko\\AppData\\Roaming\\npm\\node_modules\\protractor\\node_modules\\q\\q.js:759:13)\n```\n\nProtractor configuration \n\n``` js\n/**\n * Created by Dmitry.Mogilko on 11/1/2015.\n */\n\n\n\nexports.config = {\n    \"seleniumAddress \": \"http://localhost:4444/wd/hub\",\n    \"specs\": [\"test/logic/genericTest.spec.js\"],\n    \"multiCapabilities\": [\n        {\n            \"browserName\": \"chrome\"\n        }\n\n    ],\n    \"jasmineNodeOpts\": {\n        \"showColors\": true,\n        \"defaultTimeoutInterval\": 300000\n    },\n\n    plugins: [{\n        path: 'node_modules/protractor/plugins/console',\n        failOnError:true,\n        exclude: []\n    }],\n\n\n    \"framework\": \"jasmine2\"\n\n}\n```\n\nIt looks like something with config is undefined in plugin but it is hard for me to configure why ...\nThanks\n"},"comment":{"url":"https://api.github.com/repos/angular/protractor/issues/comments/432569489","html_url":"https://github.com/angular/protractor/issues/2667#issuecomment-432569489","issue_url":"https://api.github.com/repos/angular/protractor/issues/2667","id":432569489,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjU2OTQ4OQ==","user":{"login":"padmarajnidagundi","id":8341941,"node_id":"MDQ6VXNlcjgzNDE5NDE=","avatar_url":"https://avatars2.githubusercontent.com/u/8341941?v=4","gravatar_id":"","url":"https://api.github.com/users/padmarajnidagundi","html_url":"https://github.com/padmarajnidagundi","followers_url":"https://api.github.com/users/padmarajnidagundi/followers","following_url":"https://api.github.com/users/padmarajnidagundi/following{/other_user}","gists_url":"https://api.github.com/users/padmarajnidagundi/gists{/gist_id}","starred_url":"https://api.github.com/users/padmarajnidagundi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/padmarajnidagundi/subscriptions","organizations_url":"https://api.github.com/users/padmarajnidagundi/orgs","repos_url":"https://api.github.com/users/padmarajnidagundi/repos","events_url":"https://api.github.com/users/padmarajnidagundi/events{/privacy}","received_events_url":"https://api.github.com/users/padmarajnidagundi/received_events","type":"User","site_admin":false},"created_at":"2018-10-24T08:48:19Z","updated_at":"2018-10-24T08:48:19Z","author_association":"NONE","body":"@sjelin I have Version 5.4.1  protractor --version and ./node_modules/protractor/bin/protractor --version And I got \" E/plugins - Failure during teardown: unknown error: Cannot read property 'collectIdRefs' of null\"\r\n\r\nWill you suggest me any solution."}}
{"actor":{"display_login":"padmarajnidagundi"}}