{"action":"opened","issue":{"url":"https://api.github.com/repos/OData/WebApi/issues/248","labels_url":"https://api.github.com/repos/OData/WebApi/issues/248/labels{/name}","comments_url":"https://api.github.com/repos/OData/WebApi/issues/248/comments","events_url":"https://api.github.com/repos/OData/WebApi/issues/248/events","html_url":"https://github.com/OData/WebApi/issues/248","id":61240121,"number":248,"title":"Selecting a single instance function causes nullref exception","user":{"login":"connected-web-development","id":4130108,"avatar_url":"https://avatars.githubusercontent.com/u/4130108?v=3","gravatar_id":"","url":"https://api.github.com/users/connected-web-development","html_url":"https://github.com/connected-web-development","followers_url":"https://api.github.com/users/connected-web-development/followers","following_url":"https://api.github.com/users/connected-web-development/following{/other_user}","gists_url":"https://api.github.com/users/connected-web-development/gists{/gist_id}","starred_url":"https://api.github.com/users/connected-web-development/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/connected-web-development/subscriptions","organizations_url":"https://api.github.com/users/connected-web-development/orgs","repos_url":"https://api.github.com/users/connected-web-development/repos","events_url":"https://api.github.com/users/connected-web-development/events{/privacy}","received_events_url":"https://api.github.com/users/connected-web-development/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-13T21:03:18Z","updated_at":"2015-03-13T21:03:18Z","closed_at":null,"body":"Adding a test to the SelectExpandTest in the System.Web.Odata.Test project with the following URL causes the SelectExpandNode to throw a nullref exception since SelectedFunctions is not initialized in the constructor. Querying with all functions works though.\r\n\r\nExample URI (using the PlayersController from the test project):\r\n\"/odata2/Players?$select=Name,Default.PlayerFunction1\";"}}