{"action":"reopened","issue":{"url":"https://api.github.com/repos/devbridge/BetterCMS/issues/1540","repository_url":"https://api.github.com/repos/devbridge/BetterCMS","labels_url":"https://api.github.com/repos/devbridge/BetterCMS/issues/1540/labels{/name}","comments_url":"https://api.github.com/repos/devbridge/BetterCMS/issues/1540/comments","events_url":"https://api.github.com/repos/devbridge/BetterCMS/issues/1540/events","html_url":"https://github.com/devbridge/BetterCMS/issues/1540","id":173384361,"number":1540,"title":"Error rendering view \"~/View/Shared/Mysamplewidget.cshtml:\" object reference not set to an instance of an object","user":{"login":"DharsanaR","id":21256697,"avatar_url":"https://avatars.githubusercontent.com/u/21256697?v=3","gravatar_id":"","url":"https://api.github.com/users/DharsanaR","html_url":"https://github.com/DharsanaR","followers_url":"https://api.github.com/users/DharsanaR/followers","following_url":"https://api.github.com/users/DharsanaR/following{/other_user}","gists_url":"https://api.github.com/users/DharsanaR/gists{/gist_id}","starred_url":"https://api.github.com/users/DharsanaR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DharsanaR/subscriptions","organizations_url":"https://api.github.com/users/DharsanaR/orgs","repos_url":"https://api.github.com/users/DharsanaR/repos","events_url":"https://api.github.com/users/DharsanaR/events{/privacy}","received_events_url":"https://api.github.com/users/DharsanaR/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-26T07:08:34Z","updated_at":"2016-08-26T07:09:32Z","closed_at":null,"body":"I added \"Base Layout model\" in my custom layout page.\r\n\"@model BetterCms.Module.Root.ViewModels.Cms.RenderPageViewModel\r\n@{\r\n    Layout = \"~/Areas/bcms-Root/Views/Shared/BaseLayout.cshtml\";\r\n}\"\r\nWhile adding server widget on better cms, the exception throws as \"Error rendering view \"~/View/Shared/Mysamplewidget.cshtml:\" object reference not set to an instance of an object\"\r\n\r\nBy disable the base layout, server widgets works fine but the user cannot edit the better cms.\r\nWhere I went wrong??,Kindly support ....\r\n\r\n![untitled](https://cloud.githubusercontent.com/assets/21256697/17997070/ebf2dd98-6b89-11e6-8832-a8b4577038eb.png)"}}
{"actor":{"display_login":"DharsanaR"}}