{"action":"closed","issue":{"url":"https://api.github.com/repos/xBimTeam/XbimExchange/issues/12","repository_url":"https://api.github.com/repos/xBimTeam/XbimExchange","labels_url":"https://api.github.com/repos/xBimTeam/XbimExchange/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/xBimTeam/XbimExchange/issues/12/comments","events_url":"https://api.github.com/repos/xBimTeam/XbimExchange/issues/12/events","html_url":"https://github.com/xBimTeam/XbimExchange/issues/12","id":163873695,"number":12,"title":"Error in COBieBuilder.cs","user":{"login":"ivanstef","id":5886640,"avatar_url":"https://avatars.githubusercontent.com/u/5886640?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanstef","html_url":"https://github.com/ivanstef","followers_url":"https://api.github.com/users/ivanstef/followers","following_url":"https://api.github.com/users/ivanstef/following{/other_user}","gists_url":"https://api.github.com/users/ivanstef/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanstef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanstef/subscriptions","organizations_url":"https://api.github.com/users/ivanstef/orgs","repos_url":"https://api.github.com/users/ivanstef/repos","events_url":"https://api.github.com/users/ivanstef/events{/privacy}","received_events_url":"https://api.github.com/users/ivanstef/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-05T15:06:29Z","updated_at":"2016-09-28T15:31:17Z","closed_at":"2016-09-28T15:31:17Z","body":"I receive the following error while running the CobieExport functionality:\r\n\r\n           var path = OpenFile(fileId, FileFormat.Ifc);\r\n            var credentials = ApplicationCredentials.XbimEditorCredentials;\r\n\r\n            using (var ifcModel = IfcStore.Open(path, credentials, -1))\r\n            {\r\n                using (var cobie = new CobieModel())\r\n                {\r\n                    using (var transaction = cobie.BeginTransaction(\"Create COBie\"))\r\n                    {\r\n                        var exchanger = new IfcToCoBieExpressExchanger(ifcModel, cobie);\r\n                        exchanger.Convert();\r\n                        transaction.Commit();\r\n                    }\r\n\r\n                    var cobieExportPath = HostingEnvironment.MapPath(\r\n                        $\"~/App_Data/Temp/{fileName}.xlsx\");\r\n\r\n                    string report;\r\n                    cobie.ExportToTable(cobieExportPath, out report);\r\n\r\n                    if (string.IsNullOrEmpty(report))\r\n                        return cobieExportPath;\r\n\r\n                    return report;\r\n                }\r\n            }\r\n\r\n The exception:\r\n```\r\nAn exception of type 'System.MissingMethodException' occurred in Xbim.COBie.dll but was not handled in user code\r\n\r\nAdditional information: Method not found: 'System.Collections.IEnumerator NPOI.SS.UserModel.IRow.GetEnumerator()'.\r\n```\r\n\r\non line 74 in COBieBuilder.cs\r\n\r\n` COBieWorkbook wbook = deSerialiser.Deserialise();`\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"SteveLockley"}}