{"action":"created","issue":{"url":"https://api.github.com/repos/nunit/nunit-console/issues/29","repository_url":"https://api.github.com/repos/nunit/nunit-console","labels_url":"https://api.github.com/repos/nunit/nunit-console/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/nunit/nunit-console/issues/29/comments","events_url":"https://api.github.com/repos/nunit/nunit-console/issues/29/events","html_url":"https://github.com/nunit/nunit-console/issues/29","id":171281245,"number":29,"title":"`--domain=Multiple` fails running in the agent (separate process).","user":{"login":"CharliePoole","id":2678661,"avatar_url":"https://avatars.githubusercontent.com/u/2678661?v=3","gravatar_id":"","url":"https://api.github.com/users/CharliePoole","html_url":"https://github.com/CharliePoole","followers_url":"https://api.github.com/users/CharliePoole/followers","following_url":"https://api.github.com/users/CharliePoole/following{/other_user}","gists_url":"https://api.github.com/users/CharliePoole/gists{/gist_id}","starred_url":"https://api.github.com/users/CharliePoole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CharliePoole/subscriptions","organizations_url":"https://api.github.com/users/CharliePoole/orgs","repos_url":"https://api.github.com/users/CharliePoole/repos","events_url":"https://api.github.com/users/CharliePoole/events{/privacy}","received_events_url":"https://api.github.com/users/CharliePoole/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nunit/nunit-console/labels/is:bug","name":"is:bug","color":"ee0701"},{"url":"https://api.github.com/repos/nunit/nunit-console/labels/pri:normal","name":"pri:normal","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"rprouse","id":493828,"avatar_url":"https://avatars.githubusercontent.com/u/493828?v=3","gravatar_id":"","url":"https://api.github.com/users/rprouse","html_url":"https://github.com/rprouse","followers_url":"https://api.github.com/users/rprouse/followers","following_url":"https://api.github.com/users/rprouse/following{/other_user}","gists_url":"https://api.github.com/users/rprouse/gists{/gist_id}","starred_url":"https://api.github.com/users/rprouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rprouse/subscriptions","organizations_url":"https://api.github.com/users/rprouse/orgs","repos_url":"https://api.github.com/users/rprouse/repos","events_url":"https://api.github.com/users/rprouse/events{/privacy}","received_events_url":"https://api.github.com/users/rprouse/received_events","type":"User","site_admin":false},"assignees":[{"login":"rprouse","id":493828,"avatar_url":"https://avatars.githubusercontent.com/u/493828?v=3","gravatar_id":"","url":"https://api.github.com/users/rprouse","html_url":"https://github.com/rprouse","followers_url":"https://api.github.com/users/rprouse/followers","following_url":"https://api.github.com/users/rprouse/following{/other_user}","gists_url":"https://api.github.com/users/rprouse/gists{/gist_id}","starred_url":"https://api.github.com/users/rprouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rprouse/subscriptions","organizations_url":"https://api.github.com/users/rprouse/orgs","repos_url":"https://api.github.com/users/rprouse/repos","events_url":"https://api.github.com/users/rprouse/events{/privacy}","received_events_url":"https://api.github.com/users/rprouse/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2016-08-15T22:58:25Z","updated_at":"2016-10-06T22:51:37Z","closed_at":null,"body":"@rprouse commented on [Sun Aug 14 2016](https://github.com/nunit/nunit/issues/1742)\n\nRun multiple unit tests with `--domain=Multiple` and it fails with,\r\n\r\n```\r\n  Overall result: System.NullReferenceException: Object reference not set to an instance of an object.\r\n   at NUnit.Common.ColorConsoleWriter.WriteLabel(String label, Object option, ColorStyle valueStyle)\r\n   at NUnit.Common.ColorConsoleWriter.WriteLabelLine(String label, Object option, ColorStyle valueStyle)\r\n   at NUnit.ConsoleRunner.ResultReporter.WriteSummaryReport()\r\n   at NUnit.ConsoleRunner.ConsoleRunner.RunTests(TestPackage package, TestFilter filter)\r\n   at NUnit.ConsoleRunner.Program.Main(String[] args)\r\n```\r\n\r\nIt works however with `--inprocess --domain=Multiple`. This was found in 3.4.1, we should retest with latest master as @CharliePoole may have fixed this with recent changes.\n\n---\n\n@CharliePoole commented on [Sun Aug 14 2016](https://github.com/nunit/nunit/issues/1742#issuecomment-239679659)\n\nI think this is a repetition of #1732 except that it was originally reported using only one assembly. \n\n---\n\n@CharliePoole commented on [Sun Aug 14 2016](https://github.com/nunit/nunit/issues/1742#issuecomment-239691224)\n\nI replicated the problem with my current master. In fact, the key difference is the use of two assemblies. I think that's because `domain=Multiple` is actually ignored if there is only one assembly.\r\n\r\nWhile this is probably not critical in itself, it bothers me because I don't understand what is happening here. The issue now only arises when you force domain:Multiple in a situation where you are running in a separate process per assembly and there is therefore only one assembly in the domain anyway. This has always been handled gracefully before. Let me take a closer look.\r\n\n\n"},"comment":{"url":"https://api.github.com/repos/nunit/nunit-console/issues/comments/252110476","html_url":"https://github.com/nunit/nunit-console/issues/29#issuecomment-252110476","issue_url":"https://api.github.com/repos/nunit/nunit-console/issues/29","id":252110476,"user":{"login":"rprouse","id":493828,"avatar_url":"https://avatars.githubusercontent.com/u/493828?v=3","gravatar_id":"","url":"https://api.github.com/users/rprouse","html_url":"https://github.com/rprouse","followers_url":"https://api.github.com/users/rprouse/followers","following_url":"https://api.github.com/users/rprouse/following{/other_user}","gists_url":"https://api.github.com/users/rprouse/gists{/gist_id}","starred_url":"https://api.github.com/users/rprouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rprouse/subscriptions","organizations_url":"https://api.github.com/users/rprouse/orgs","repos_url":"https://api.github.com/users/rprouse/repos","events_url":"https://api.github.com/users/rprouse/events{/privacy}","received_events_url":"https://api.github.com/users/rprouse/received_events","type":"User","site_admin":false},"created_at":"2016-10-06T22:51:37Z","updated_at":"2016-10-06T22:51:37Z","body":"TestResults are written but not very useful since the agents are crashing,\r\n\r\n```xml\r\n<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>\r\n<test-run start-time=\"2016-10-06 22:50:09Z\">\r\n  <command-line><![CDATA[\"C:\\src\\nunit\\nunit-tests\\packages\\NUnit.ConsoleRunner.3.5.0-dev-03240\\tools\\nunit3-console.exe\" --domain=Multiple .\\nunit-v3.dll .\\nunit-v3.dll]]></command-line>\r\n</test-run>\r\n```"}}
{"actor":{"display_login":"rprouse"}}