{"action":"opened","issue":{"url":"https://api.github.com/repos/nunit/nunit/issues/1507","repository_url":"https://api.github.com/repos/nunit/nunit","labels_url":"https://api.github.com/repos/nunit/nunit/issues/1507/labels{/name}","comments_url":"https://api.github.com/repos/nunit/nunit/issues/1507/comments","events_url":"https://api.github.com/repos/nunit/nunit/issues/1507/events","html_url":"https://github.com/nunit/nunit/issues/1507","id":155816459,"number":1507,"title":"NullReferenceException when null arguments are used in TestFixtureAttribute","user":{"login":"danlyons-softek","id":3289668,"avatar_url":"https://avatars.githubusercontent.com/u/3289668?v=3","gravatar_id":"","url":"https://api.github.com/users/danlyons-softek","html_url":"https://github.com/danlyons-softek","followers_url":"https://api.github.com/users/danlyons-softek/followers","following_url":"https://api.github.com/users/danlyons-softek/following{/other_user}","gists_url":"https://api.github.com/users/danlyons-softek/gists{/gist_id}","starred_url":"https://api.github.com/users/danlyons-softek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danlyons-softek/subscriptions","organizations_url":"https://api.github.com/users/danlyons-softek/orgs","repos_url":"https://api.github.com/users/danlyons-softek/repos","events_url":"https://api.github.com/users/danlyons-softek/events{/privacy}","received_events_url":"https://api.github.com/users/danlyons-softek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-19T19:31:26Z","updated_at":"2016-05-19T19:31:26Z","closed_at":null,"body":"My team is in the process of trying to convert our unit tests from 2.6.4 to 3, and we ran into several errors while running the console runner (just using `nunit3-console.exe tests.dll`), similar to the following:\r\n\r\n```\r\n13) Invalid : Tests.Controls.Query.when_execute_is_clicked\r\nAn exception was thrown while loading the test.\r\n\r\nSystem.NullReferenceException: Object reference not set to an instance of an object.\r\n at NUnit.Framework.Internal.Builders.NUnitTestFixtureBuilder.CheckTestFixtureIsValid(TestFixture fixture)\r\n at NUnit.Framework.Internal.Builders.NUnitTestFixtureBuilder.BuildFrom(ITypeInfo typeInfo, ITestFixtureData testFixtureData)\r\n at NUnit.Framework.TestFixtureAttribute.<BuildFrom>d__48.MoveNext()\r\n at NUnit.Framework.Internal.Builders.DefaultSuiteBuilder.BuildFrom(ITypeInfo typeInfo)\r\n```\r\n\r\nThis corresponds to the following test fixture and its constructor:\r\n```\r\n[TestFixture(null, \"foo\", \"foo\")]\r\n[TestFixture(\"\", \"foo\", \"foo\")]\r\n[TestFixture(\"bar\", \"foo\", \"bar\")]\r\npublic class when_execute_is_clicked : RefreshTestBase\r\n{\r\n    private string _selectedText;\r\n    private string _query;\r\n    private string _issuedQuery;\r\n\r\n    public when_execute_is_clicked(string selectedText, string query, string issuedQuery)\r\n    {\r\n        _selectedText = selectedText;\r\n        _query = query;\r\n        _issuedQuery = issuedQuery;\r\n    }\r\n```\r\n\r\nJudging by the code I see in master, it would appear the NRE is coming from [NUnitTestFixtureBuilder, line 229](https://github.com/nunit/nunit/blob/master/src/NUnitFramework/framework/Internal/Builders/NUnitTestFixtureBuilder.cs#L229)."}}