Skip to content

Instantly share code, notes, and snippets.

@drola
Last active April 29, 2016 08:48
Show Gist options
  • Save drola/fec9612c29844e5f7b297a168fa192ea to your computer and use it in GitHub Desktop.
Save drola/fec9612c29844e5f7b297a168fa192ea to your computer and use it in GitHub Desktop.

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at OfficeOpenXml.Drawing.ExcelDrawing.GetPixelHeight () <0x41fcfc10 + 0x0009b> in :0 at OfficeOpenXml.Drawing.ExcelDrawing.GetPositionSize () <0x41fcd540 + 0x00037> in :0 at OfficeOpenXml.Drawing.ExcelDrawing+ExcelPosition.set_Row (Int32 value) <0x41fcd3f0 + 0x00046> in :0 at OfficeOpenXml.Drawing.ExcelDrawing..ctor (OfficeOpenXml.Drawing.ExcelDrawings drawings, System.Xml.XmlNode node, System.String nameXPath) <0x41fccbe0 + 0x002a3> in :0 at OfficeOpenXml.Drawing.Chart.ExcelChart..ctor (OfficeOpenXml.Drawing.ExcelDrawings drawings, System.Xml.XmlNode node, System.Uri uriChart, OfficeOpenXml.Packaging.ZipPackagePart part, System.Xml.XmlDocument chartXml, System.Xml.XmlNode chartNode) <0x41fcc950 + 0x0011f> in :0 at OfficeOpenXml.Drawing.Chart.ExcelScatterChart..ctor (OfficeOpenXml.Drawing.ExcelDrawings drawings, System.Xml.XmlNode node, System.Uri uriChart, OfficeOpenXml.Packaging.ZipPackagePart part, System.Xml.XmlDocument chartXml, System.Xml.XmlNode chartNode) <0x41fcc840 + 0x000d7> in :0 at OfficeOpenXml.Drawing.Chart.ExcelChart.GetChart (System.Xml.XmlElement chartNode, OfficeOpenXml.Drawing.ExcelDrawings drawings, System.Xml.XmlNode node, System.Uri uriChart, OfficeOpenXml.Packaging.ZipPackagePart part, System.Xml.XmlDocument chartXml, OfficeOpenXml.Drawing.Chart.ExcelChart topChart) <0x41fcbca0 + 0x00a6f> in :0 at OfficeOpenXml.Drawing.Chart.ExcelChart.GetChart (OfficeOpenXml.Drawing.ExcelDrawings drawings, System.Xml.XmlNode node) <0x41fcb7c0 + 0x0026b> in :0 at OfficeOpenXml.Drawing.ExcelDrawing.GetDrawing (OfficeOpenXml.Drawing.ExcelDrawings drawings, System.Xml.XmlNode node) <0x41fcb5f0 + 0x00143> in :0 at OfficeOpenXml.Drawing.ExcelDrawings.AddDrawings () <0x41fca6b0 + 0x00143> in :0 at OfficeOpenXml.Drawing.ExcelDrawings..ctor (OfficeOpenXml.ExcelPackage xlPackage, OfficeOpenXml.ExcelWorksheet sheet) <0x41fca010 + 0x004a3> in :0 at OfficeOpenXml.ExcelWorksheet.get_Drawings () <0x41fc9f40 + 0x0005b> in :0 at OfficeOpenXml.ExcelWorksheets.Add (System.String Name, OfficeOpenXml.ExcelWorksheet Copy) <0x41fc07c0 + 0x004e3> in :0 at xlsxtool.MainClass.Main (System.String[] args) <0x41e1ffc0 + 0x00493> in :0 [ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object at OfficeOpenXml.Drawing.ExcelDrawing.GetPixelHeight () <0x41fcfc10 + 0x0009b> in :0 at OfficeOpenXml.Drawing.ExcelDrawing.GetPositionSize () <0x41fcd540 + 0x00037> in :0 at OfficeOpenXml.Drawing.ExcelDrawing+ExcelPosition.set_Row (Int32 value) <0x41fcd3f0 + 0x00046> in :0 at OfficeOpenXml.Drawing.ExcelDrawing..ctor (OfficeOpenXml.Drawing.ExcelDrawings drawings, System.Xml.XmlNode node, System.String nameXPath) <0x41fccbe0 + 0x002a3> in :0 at OfficeOpenXml.Drawing.Chart.ExcelChart..ctor (OfficeOpenXml.Drawing.ExcelDrawings drawings, System.Xml.XmlNode node, System.Uri uriChart, OfficeOpenXml.Packaging.ZipPackagePart part, System.Xml.XmlDocument chartXml, System.Xml.XmlNode chartNode) <0x41fcc950 + 0x0011f> in :0 at OfficeOpenXml.Drawing.Chart.ExcelScatterChart..ctor (OfficeOpenXml.Drawing.ExcelDrawings drawings, System.Xml.XmlNode node, System.Uri uriChart, OfficeOpenXml.Packaging.ZipPackagePart part, System.Xml.XmlDocument chartXml, System.Xml.XmlNode chartNode) <0x41fcc840 + 0x000d7> in :0 at OfficeOpenXml.Drawing.Chart.ExcelChart.GetChart (System.Xml.XmlElement chartNode, OfficeOpenXml.Drawing.ExcelDrawings drawings, System.Xml.XmlNode node, System.Uri uriChart, OfficeOpenXml.Packaging.ZipPackagePart part, System.Xml.XmlDocument chartXml, OfficeOpenXml.Drawing.Chart.ExcelChart topChart) <0x41fcbca0 + 0x00a6f> in :0 at OfficeOpenXml.Drawing.Chart.ExcelChart.GetChart (OfficeOpenXml.Drawing.ExcelDrawings drawings, System.Xml.XmlNode node) <0x41fcb7c0 + 0x0026b> in :0 at OfficeOpenXml.Drawing.ExcelDrawing.GetDrawing (OfficeOpenXml.Drawing.ExcelDrawings drawings, System.Xml.XmlNode node) <0x41fcb5f0 + 0x00143> in :0 at OfficeOpenXml.Drawing.ExcelDrawings.AddDrawings () <0x41fca6b0 + 0x00143> in :0 at OfficeOpenXml.Drawing.ExcelDrawings..ctor (OfficeOpenXml.ExcelPackage xlPackage, OfficeOpenXml.ExcelWorksheet sheet) <0x41fca010 + 0x004a3> in :0 at OfficeOpenXml.ExcelWorksheet.get_Drawings () <0x41fc9f40 + 0x0005b> in :0 at OfficeOpenXml.ExcelWorksheets.Add (System.String Name, OfficeOpenXml.ExcelWorksheet Copy) <0x41fc07c0 + 0x004e3> in :0 at xlsxtool.MainClass.Main (System.String[] args) <0x41e1ffc0 + 0x00493> in :0

)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment