XML Writer

Jan 20, 2009 17:56

I have a very large community I wanted to work with, particularly using the XML Writer. However it always seems to crash at the same journal post, regardless of what increment I export it in.

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 XMLJournalWriter.XMLJournalWriter.WriteJournal(Stream s, Journal j, Int32[] eventIDs, Int32[] commentIDs, Boolean header, Boolean footer)
at EF.ljArchive.Engine.Exporter.Export(SplitExport splitExport, String basePath, Journal j, IJournalWriter ijw)
at EF.ljArchive.WindowsForms.Dialogs.Export.Go(Journal j, IJournalWriter ijw)
at EF.ljArchive.WindowsForms.Explorer.JournalWriter_Click(Object sender, EventArgs e)
at EF.ljArchive.WindowsForms.Controls.CommandBarManager.JournalWriter_Click(Object sender, EventArgs e)
at Reflector.UserInterface.CommandBarControl.OnClick(EventArgs e)
at Reflector.UserInterface.CommandBarControl.PerformClick(EventArgs e)
at Reflector.UserInterface.MenuBarItem.OnClick(EventArgs e)
at System.Windows.Forms.MenuItemData.Execute()
at System.Windows.Forms.Command.Invoke()
at System.Windows.Forms.Control.WmCommand(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at Reflector.UserInterface.CommandBar.WndProc(Message& message)
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)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2407
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
ljArchive
Assembly Version: 0.9.7.0
Win32 Version: 0.9.7.0
CodeBase: file:///C:/Program%20Files/ljArchive/ljArchive.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2407
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
GenghisLocal
Assembly Version: 1.0.1660.33993
Win32 Version: 1.0.1660.33993
CodeBase: file:///C:/Program%20Files/ljArchive/GenghisLocal.DLL
----------------------------------------
EF.ljArchive.Engine
Assembly Version: 0.9.7.0
Win32 Version: 0.9.7.0
CodeBase: file:///C:/Program%20Files/ljArchive/EF.ljArchive.Engine.DLL
----------------------------------------
EF.ljArchive.Common
Assembly Version: 0.9.7.0
Win32 Version: 0.9.7.0
CodeBase: file:///C:/Program%20Files/ljArchive/EF.ljArchive.Common.DLL
----------------------------------------
CommandBar
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files/ljArchive/CommandBar.DLL
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
AxInterop.AgentObjects
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files/ljArchive/plugins/AxInterop.AgentObjects.dll
----------------------------------------
Interop.AgentObjects
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files/ljArchive/plugins/Interop.AgentObjects.DLL
----------------------------------------
EF.ljArchive.MIDIJournalWriter
Assembly Version: 0.9.7.0
Win32 Version: 0.9.7.0
CodeBase: file:///C:/Program%20Files/ljArchive/plugins/EF.ljArchive.MIDIJournalWriter.dll
----------------------------------------
EF.ljArchive.Plugins.Core
Assembly Version: 0.9.7.0
Win32 Version: 0.9.7.0
CodeBase: file:///C:/Program%20Files/ljArchive/plugins/EF.ljArchive.Plugins.Core.dll
----------------------------------------
EF.ljArchive.Plugins.WindowsForms
Assembly Version: 0.9.7.0
Win32 Version: 0.9.7.0
CodeBase: file:///C:/Program%20Files/ljArchive/plugins/EF.ljArchive.Plugins.WindowsForms.dll
----------------------------------------
ZedGraph
Assembly Version: 1.0.1661.17973
Win32 Version: 1.0.1661.17973
CodeBase: file:///C:/Program%20Files/ljArchive/plugins/ZedGraph.DLL
----------------------------------------
EF.ljArchive.XMLJournalWriter
Assembly Version: 0.9.7.0
Win32 Version: 0.9.7.0
CodeBase: file:///C:/Program%20Files/ljArchive/plugins/EF.ljArchive.XMLJournalWriter.dll
----------------------------------------
EF.SimpleMIDI
Assembly Version: 0.9.1661.18052
Win32 Version: 0.9.1661.18052
CodeBase: file:///C:/Program%20Files/ljArchive/plugins/EF.SimpleMIDI.dll
----------------------------------------
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------
Accessibility
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (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:

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.

As for what the XML file looks like at the end, it seems to just cut it somewhere after a certain journal post. It may cut into the comments a bit, it might even end abruptly before a tag is opened or closed. However it has no problem at all exporting as a MIDI or XML file.
Previous post Next post
Up