{"action":"created","issue":{"url":"https://api.github.com/repos/ClosedXML/ClosedXML/issues/155","repository_url":"https://api.github.com/repos/ClosedXML/ClosedXML","labels_url":"https://api.github.com/repos/ClosedXML/ClosedXML/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/ClosedXML/ClosedXML/issues/155/comments","events_url":"https://api.github.com/repos/ClosedXML/ClosedXML/issues/155/events","html_url":"https://github.com/ClosedXML/ClosedXML/issues/155","id":200879560,"number":155,"title":"Can't load an excel file: \"An item with the same key has already been added.\"","user":{"login":"mladenb","id":6103881,"avatar_url":"https://avatars.githubusercontent.com/u/6103881?v=3","gravatar_id":"","url":"https://api.github.com/users/mladenb","html_url":"https://github.com/mladenb","followers_url":"https://api.github.com/users/mladenb/followers","following_url":"https://api.github.com/users/mladenb/following{/other_user}","gists_url":"https://api.github.com/users/mladenb/gists{/gist_id}","starred_url":"https://api.github.com/users/mladenb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mladenb/subscriptions","organizations_url":"https://api.github.com/users/mladenb/orgs","repos_url":"https://api.github.com/users/mladenb/repos","events_url":"https://api.github.com/users/mladenb/events{/privacy}","received_events_url":"https://api.github.com/users/mladenb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-15T16:49:35Z","updated_at":"2017-01-16T09:32:57Z","closed_at":null,"body":"Hi :)\r\n\r\nI can't load this [test.xlsx](https://github.com/ClosedXML/ClosedXML/files/706731/test.xlsx) using the constructor XLWorkbook(stream).\r\n\r\nThe exception I get is:\r\n```\r\n{\r\n\t\"Message\": \"An error has occurred.\",\r\n\t\"ExceptionMessage\": \"An item with the same key has already been added.\",\r\n\t\"ExceptionType\": \"System.ArgumentException\",\r\n\t\"StackTrace\": \"\r\n\t\tat System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)\r\n\t\tat System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)\r\n\t\tat System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)\r\n\t\tat ClosedXML.Excel.XLWorkbook.LoadAutoFilterColumns(AutoFilter af, XLAutoFilter autoFilter)\r\n\t\tat ClosedXML.Excel.XLWorkbook.LoadAutoFilter(AutoFilter af, XLWorksheet ws)\r\n\t\tat ClosedXML.Excel.XLWorkbook.LoadSpreadsheetDocument(SpreadsheetDocument dSpreadsheet)\r\n\t\tat ClosedXML.Excel.XLWorkbook.LoadSheets(Stream stream)\r\n\t\tat ClosedXML.Excel.XLWorkbook..ctor(Stream stream)\r\n}\r\n```\r\n\r\nThe steps to reproduce this involve only instantiating the XLWorkbook using this test excel file.\r\n\r\nIf you need any more info, please let me know :)\r\n\r\nThanks,\r\nM."},"comment":{"url":"https://api.github.com/repos/ClosedXML/ClosedXML/issues/comments/272812761","html_url":"https://github.com/ClosedXML/ClosedXML/issues/155#issuecomment-272812761","issue_url":"https://api.github.com/repos/ClosedXML/ClosedXML/issues/155","id":272812761,"user":{"login":"igitur","id":145854,"avatar_url":"https://avatars.githubusercontent.com/u/145854?v=3","gravatar_id":"","url":"https://api.github.com/users/igitur","html_url":"https://github.com/igitur","followers_url":"https://api.github.com/users/igitur/followers","following_url":"https://api.github.com/users/igitur/following{/other_user}","gists_url":"https://api.github.com/users/igitur/gists{/gist_id}","starred_url":"https://api.github.com/users/igitur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igitur/subscriptions","organizations_url":"https://api.github.com/users/igitur/orgs","repos_url":"https://api.github.com/users/igitur/repos","events_url":"https://api.github.com/users/igitur/events{/privacy}","received_events_url":"https://api.github.com/users/igitur/received_events","type":"User","site_admin":false},"created_at":"2017-01-16T09:32:57Z","updated_at":"2017-01-16T09:32:57Z","body":"Your file contains multiple custom worksheet views, each with their own autofilters defined. Currently ClosedXML doesn't support multiple custom views. I will try to add a fix to ensure that the loading of the file at least doesn't crash."}}
{"actor":{"display_login":"igitur"}}