{"action":"opened","issue":{"url":"https://api.github.com/repos/wealthbot-io/wealthbot/issues/42","labels_url":"https://api.github.com/repos/wealthbot-io/wealthbot/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/wealthbot-io/wealthbot/issues/42/comments","events_url":"https://api.github.com/repos/wealthbot-io/wealthbot/issues/42/events","html_url":"https://github.com/wealthbot-io/wealthbot/issues/42","id":88929208,"number":42,"title":"Error when trying to view portfolio ","user":{"login":"dunnston","id":5157989,"avatar_url":"https://avatars.githubusercontent.com/u/5157989?v=3","gravatar_id":"","url":"https://api.github.com/users/dunnston","html_url":"https://github.com/dunnston","followers_url":"https://api.github.com/users/dunnston/followers","following_url":"https://api.github.com/users/dunnston/following{/other_user}","gists_url":"https://api.github.com/users/dunnston/gists{/gist_id}","starred_url":"https://api.github.com/users/dunnston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dunnston/subscriptions","organizations_url":"https://api.github.com/users/dunnston/orgs","repos_url":"https://api.github.com/users/dunnston/repos","events_url":"https://api.github.com/users/dunnston/events{/privacy}","received_events_url":"https://api.github.com/users/dunnston/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-17T06:44:04Z","updated_at":"2015-06-17T06:44:04Z","closed_at":null,"body":"This is most likely due to incomplete or invalid data. Before getting the error I created a new asset class but no sub classes. Then I tried to add a security but it didn't save. Finally, I attempted to add a new allocation. After saving a new allocation I got the error. \r\n\r\nNow every time I try to navigate to the portfolios screen I get the following error:\r\n\r\nImpossible to access an attribute (\"assetClass\") on a null variable in WealthbotRiaBundle:Securities:model_securities_list.html.twig at line 78"}}