Dark Matter: Object reference not set to an instance
Posted: Fri May 26, 2006 1:49 pm
Alright I am looking for a solution to this problem as it seems to be a common one, but no solutions have been found or given. I am running Dark Matter (dmfix) dated 10/21/2005.
If there is a newer version, where can I get it?
If not, I've been trying to inject a model; however, if I extract the energy_blade.obj and then attempt to import the same energy_blade.obj without changing it, I get the following error:
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at WindowsApplication2.Form1.savemeta(Int32 tag, Boolean trim, String path) in f:\!darkmatter\form1.cs:line 1366
at WindowsApplication2.ModelViewer.import_Click(Object sender, EventArgs e) in f:\!darkmatter\renderers\modelviewer.cs:line 1295
at System.Windows.Forms.Control.OnClick(EventArgs e)
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.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
If you have had success with model injection in this sense, could you provide any insights?
Note: I have also had similar, but not identical problems with versions dated 7-25-05 and 10-14-05.
If there is a newer version, where can I get it?
If not, I've been trying to inject a model; however, if I extract the energy_blade.obj and then attempt to import the same energy_blade.obj without changing it, I get the following error:
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at WindowsApplication2.Form1.savemeta(Int32 tag, Boolean trim, String path) in f:\!darkmatter\form1.cs:line 1366
at WindowsApplication2.ModelViewer.import_Click(Object sender, EventArgs e) in f:\!darkmatter\renderers\modelviewer.cs:line 1295
at System.Windows.Forms.Control.OnClick(EventArgs e)
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.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
If you have had success with model injection in this sense, could you provide any insights?
Note: I have also had similar, but not identical problems with versions dated 7-25-05 and 10-14-05.