First of all, I have no problems whatsoever on my development machine. This issue occurs when I attempt to deploy.
Initially, I had the problem outlined here
http://forums.aurigma.co...aphicsMill-problem.aspx. I eventually got past this issue, and not sure if it is relevant to my current issue.
Now, there is an Object reference not set to an instance of an object exception thrown when the AviWriter constructor is invoked. The line of code in question is literally this:
Aurigma.GraphicsMill.Codecs.AviWriter writer = new Aurigma.GraphicsMill.Codecs.AviWriter();
and here is the exception detail. Any ideas?
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Aurigma.GraphicsMill.Codecs.FormatWriter._Close()
at Aurigma.GraphicsMill.Codecs.FormatWriter.Dispose(Boolean disposing)
at Aurigma.GraphicsMill.Codecs.AviWriter.Dispose(Boolean disposing)
at Aurigma.GraphicsMill.SyncHandler.Finalize()
at Aurigma.GraphicsMill.Codecs.FormatWriter.{dtor}()
at Aurigma.GraphicsMill.Codecs.AviWriter..ctor()
at MyElephantBites.ConvertForm.MakeMovie() in C:\MEB\MyElephantBites\MyElephantBites\ConvertForm.cs:line 269
at MyElephantBites.ConvertForm._timer_Tick(Object sender, EventArgs e) in C:\MEB\MyElephantBites\MyElephantBites\ConvertForm.cs:line 212
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
MyElephantBites
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/MyElephantBites/MyElephantBites%20Movie%20Maker/MyElephantBites.exe
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
f_in_box__lib
Assembly Version: 3.1.5.5
Win32 Version: 3.1.5.5
CodeBase: file:///C:/Program%20Files/MyElephantBites/MyElephantBites%20Movie%20Maker/f_in_box__lib.DLL
Infralution.Licensing
Assembly Version: 4.6.1.0
Win32 Version: 4.6.1.0
CodeBase: file:///C:/Program%20Files/MyElephantBites/MyElephantBites%20Movie%20Maker/Infralution.Licensing.DLL
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
System.Deployment
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
MyElephantBitesMovieEngine
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/MyElephantBites/MyElephantBites%20Movie%20Maker/MyElephantBitesMovieEngine.DLL
Interop.SWFGENLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/MyElephantBites/MyElephantBites%20Movie%20Maker/Interop.SWFGENLib.DLL
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
Aurigma.GraphicsMill.Codecs.AviProcessor
Assembly Version: 5.5.3630.31613
Win32 Version:
CodeBase: file:///C:/Program%20Files/MyElephantBites/MyElephantBites%20Movie%20Maker/Aurigma.GraphicsMill.Codecs.AviProcessor.DLL
msvcm80
Assembly Version: 8.0.50727.4053
Win32 Version: 8.00.50727.4053
CodeBase: file:///C:/Program%20Files/MyElephantBites/MyElephantBites%20Movie%20Maker/Microsoft.VC80.CRT/msvcm80.dll
Aurigma.GraphicsMill
Assembly Version: 5.5.2.0
Win32 Version:
CodeBase: file:///C:/Program%20Files/MyElephantBites/MyElephantBites%20Movie%20Maker/Aurigma.GraphicsMill.DLL
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.