Skip to content

Crashes on the attached file #37

@tomhornyak

Description

@tomhornyak

The document opens fine in Word.

Test_Ministers-Bachelors-Exams.docx

Openize.Words.OpenizeException
HResult=0x80131500
Message=Error in Operation Loading Document from file at Openize.Words: Error in operation Load OOXML Elements at OpenXML.Words.Data : Error in operation Load Image at OpenXML.Words.Data : Object reference not set to an instance of an object.
Inner Exception: N/A
Inner Exception: Object reference not set to an instance of an object.
Inner Exception: Error in operation Load Image at OpenXML.Words.Data : Object reference not set to an instance of an object.
Inner Exception: N/A
Source=Openize.OpenXMLSDK
StackTrace:
at Openize.Words.Document..ctor(String filename)
at DocxSearch.DocxSearchForm.DoSearch() in C:\Users\tomho\MyRepository\DocxSearch\DocxSearchForm.cs:line 37
at DocxSearch.DocxSearchForm._btnSearch_Click(Object sender, EventArgs e) in C:\Users\tomho\MyRepository\DocxSearch\DocxSearchForm.cs:line 143
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)

This exception was originally thrown at this call stack:
[External Code]

Inner Exception 1:
OpenizeException: Error in operation Load OOXML Elements at OpenXML.Words.Data : Error in operation Load Image at OpenXML.Words.Data : Object reference not set to an instance of an object.
Inner Exception: N/A
Inner Exception: Object reference not set to an instance of an object.

Inner Exception 2:
OpenizeException: Error in operation Load Image at OpenXML.Words.Data : Object reference not set to an instance of an object.
Inner Exception: N/A

Inner Exception 3:
NullReferenceException: Object reference not set to an instance of an object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions