{"action":"created","issue":{"url":"https://api.github.com/repos/mbdavid/LiteDB/issues/593","repository_url":"https://api.github.com/repos/mbdavid/LiteDB","labels_url":"https://api.github.com/repos/mbdavid/LiteDB/issues/593/labels{/name}","comments_url":"https://api.github.com/repos/mbdavid/LiteDB/issues/593/comments","events_url":"https://api.github.com/repos/mbdavid/LiteDB/issues/593/events","html_url":"https://github.com/mbdavid/LiteDB/issues/593","id":226184396,"number":593,"title":"Exception Encountered","user":{"login":"Lord-Haji","id":17973367,"avatar_url":"https://avatars3.githubusercontent.com/u/17973367?v=3","gravatar_id":"","url":"https://api.github.com/users/Lord-Haji","html_url":"https://github.com/Lord-Haji","followers_url":"https://api.github.com/users/Lord-Haji/followers","following_url":"https://api.github.com/users/Lord-Haji/following{/other_user}","gists_url":"https://api.github.com/users/Lord-Haji/gists{/gist_id}","starred_url":"https://api.github.com/users/Lord-Haji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lord-Haji/subscriptions","organizations_url":"https://api.github.com/users/Lord-Haji/orgs","repos_url":"https://api.github.com/users/Lord-Haji/repos","events_url":"https://api.github.com/users/Lord-Haji/events{/privacy}","received_events_url":"https://api.github.com/users/Lord-Haji/received_events","type":"User","site_admin":false},"labels":[{"id":495825486,"url":"https://api.github.com/repos/mbdavid/LiteDB/labels/need%20review","name":"need review","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-05-04T06:01:09Z","updated_at":"2017-05-09T05:15:30Z","closed_at":null,"body":"``[01:23:30] (ERROR) Error: System.InvalidCastException: Unable to cast object of type 'LiteDB.EmptyPage' to type 'LiteDB.HeaderPage'.\r\nat LiteDB.PageService.GetPage[T](UInt32 pageID, Boolean setDirty)\r\nat LiteDB.TransactionService.Save()\r\nat LiteDB.TransactionService.Complete(LiteTransaction trans)\r\nat LiteDB.LiteTransaction.Commit()\r\nat LiteDB.DbEngine.WriteTransaction[T](String colName, Boolean addIfNotExists, Func2 action) at LiteDB.LiteCollection1.Delete(Query query)\r\nat PoGo.NecroBot.Logic.State.SessionStats.CleanOutExpiredStats() in C:\\Users\\VAPORSS\\Documents\\NecroBot\\PoGo.NecroBot.Logic\\State\\SessionStats.cs:line 198\r\nat PoGo.NecroBot.Logic.State.SessionStats.CatchThresholdExceeds(ISession session, Boolean printMessage) in C:\\Users\\VAPORSS\\Documents\\NecroBot\\PoGo.NecroBot.Logic\\State\\SessionStats.cs:line 84\r\nat PoGo.NecroBot.Logic.Tasks.MSniperServiceTask.CheckSnipeConditions(ISession session) in C:\\Users\\VAPORSS\\Documents\\NecroBot\\PoGo.NecroBot.Logic\\Tasks\\MSniperServiceTask.cs:line 298\r\nat PoGo.NecroBot.Logic.Tasks.MSniperServiceTask.d__42.MoveNext() in C:\\Users\\VAPORSS\\Documents\\NecroBot\\PoGo.NecroBot.Logic\\Tasks\\MSniperServiceTask.cs:line 786``\r\nNecroBot-Private/NecroBot#1390"},"comment":{"url":"https://api.github.com/repos/mbdavid/LiteDB/issues/comments/300063402","html_url":"https://github.com/mbdavid/LiteDB/issues/593#issuecomment-300063402","issue_url":"https://api.github.com/repos/mbdavid/LiteDB/issues/593","id":300063402,"user":{"login":"Splamy","id":6502527,"avatar_url":"https://avatars2.githubusercontent.com/u/6502527?v=3","gravatar_id":"","url":"https://api.github.com/users/Splamy","html_url":"https://github.com/Splamy","followers_url":"https://api.github.com/users/Splamy/followers","following_url":"https://api.github.com/users/Splamy/following{/other_user}","gists_url":"https://api.github.com/users/Splamy/gists{/gist_id}","starred_url":"https://api.github.com/users/Splamy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Splamy/subscriptions","organizations_url":"https://api.github.com/users/Splamy/orgs","repos_url":"https://api.github.com/users/Splamy/repos","events_url":"https://api.github.com/users/Splamy/events{/privacy}","received_events_url":"https://api.github.com/users/Splamy/received_events","type":"User","site_admin":false},"created_at":"2017-05-09T05:15:30Z","updated_at":"2017-05-09T05:15:30Z","body":"@mbdavid unfortunately not; this is the state I got the file from one of my users. I'll try around and see if I can somehow reproduce it again."}}
{"actor":{"display_login":"Splamy"}}