This occured in 0.27, it looks similar to 1113831, but the
line number in the source file is different, so I'm
opening
a new bug.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ComponentModel.Win32Exception: Error creating
window handle.
at
System.Windows.Forms.NativeWindow.CreateHandle(CreateParams
cp)
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.TextBoxBase.CreateHandle()
at
System.Windows.Forms.Control.CreateControl(Boolean
fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at
System.Windows.Forms.ControlCollection.Add(Control value)
at
WhelkMud.WindowOutput.MudLogViewer.MudLogViewer_Load(Object
sender, EventArgs e) in C:\Documents and
Settings\davben\My Documents\Visual
Studio\Projects\WhelkMud\WindowOutput\MudLogViewer.cs:line
90
at System.Windows.Forms.UserControl.OnLoad(EventArgs e)
at System.Windows.Forms.UserControl.OnCreateControl()
at
System.Windows.Forms.Control.CreateControl(Boolean
fIgnoreVisible)
at
System.Windows.Forms.Control.CreateControl(Boolean
fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at
System.Windows.Forms.ControlCollection.Add(Control value)
at
TD.SandDock.ControlLayoutSystem.Layout(RendererBase
renderer, Graphics graphics, Rectangle bounds, Boolean
floating)
at TD.SandDock.DockContainer.a(LayoutSystemBase A_0,
Rectangle A_1)
at TD.SandDock.ControlLayoutSystem.f()
at
TD.SandDock.DockControlCollection.OnInsertComplete(Int32
index, Object value)
at
System.Collections.CollectionBase.System.Collections.IList.Insert(Int32
index, Object value)
at TD.SandDock.DockControlCollection.Insert(Int32
index, DockControl control)
at TD.SandDock.DockControlCollection.Add(DockControl
control)
at
WhelkMud.WindowOutput.Settings.WindowSettings.OpenDockControl(DockControl
control, MudWindowAlign align, MainWindow mainWindow)
in C:\Documents and Settings\davben\My Documents\Visual
Studio\Projects\WhelkMud\WindowOutput\Settings\WindowSettings.cs:line
1090
at
WhelkMud.WindowOutput.MainWindow.logToolStripMenuItem3_Click(Object
sender, EventArgs e) in C:\Documents and
Settings\davben\My Documents\Visual
Studio\Projects\WhelkMud\WindowOutput\MainWindow.cs:line
411
at
System.Windows.Forms.ToolStripItem.RaiseEvent(Object
key, EventArgs e)
at
System.Windows.Forms.ToolStripItem.OnClick(EventArgs e)
at
System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at
System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at
System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs
e)
at
System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs
e, ToolStripItemEventType met)
at
System.Windows.Forms.ToolStripItem.FireEvent(EventArgs
e, ToolStripItemEventType met)
at
System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs
mea)
at System.Windows.Forms.Control.WmMouseUp(Message&
m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at
System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at
System.Windows.Forms.ToolStripDropDown.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)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.3600.0
Win32 Version: 2.0.40607.42 (beta1.040607-4200)
CodeBase:
file:///C:/WINDOWS/MICROSOFT.NET/FRAMEWORK/V2.0.40607/mscorlib.dll
----------------------------------------
WhelkMud
Assembly Version: 0.0.27.0
Win32 Version: 0.0.27.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/WHELKMUD.EXE
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.3600.0
Win32 Version: 2.0.40607.42 (beta1.040607-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.3600.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.3600.0
Win32 Version: 2.0.40607.42 (beta1.040607-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.3600.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.3600.0
Win32 Version: 2.0.40607.42 (beta1.040607-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.3600.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
PluginManager
Assembly Version: 0.0.27.0
Win32 Version: 0.0.27.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/PluginManager.dll
----------------------------------------
WindowOutput
Assembly Version: 0.0.27.0
Win32 Version: 0.0.27.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/WindowOutput.dll
----------------------------------------
Interfaces
Assembly Version: 0.0.27.0
Win32 Version: 0.0.27.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/Interfaces.dll
----------------------------------------
SandDock
Assembly Version: 1.0.5.1
Win32 Version: 1.0.5.1
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/SandDock.dll
----------------------------------------
World
Assembly Version: 0.0.27.0
Win32 Version: 0.0.27.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/World.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.3600.0
Win32 Version: 2.0.40607.42 (beta1.040607-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.3600.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
cpcqq5mv
Assembly Version: 0.0.0.0
Win32 Version: 2.0.40607.42 (beta1.040607-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.3600.0__b77a5c561934e089/System.dll
----------------------------------------
Scripting
Assembly Version: 0.0.27.0
Win32 Version: 0.0.27.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/Scripting.dll
----------------------------------------
Connection
Assembly Version: 0.0.27.0
Win32 Version: 0.0.27.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/Connection.dll
----------------------------------------
Output
Assembly Version: 0.0.27.0
Win32 Version: 0.0.27.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/Output.dll
----------------------------------------
MudData
Assembly Version: 0.0.27.0
Win32 Version: 0.0.27.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/MudData.dll
----------------------------------------
Logging
Assembly Version: 0.0.27.0
Win32 Version: 0.0.27.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/Logging.dll
----------------------------------------
DotZLib
Assembly Version: 0.0.27.0
Win32 Version: 0.0.27.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/DotZLib.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:
<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 machine
rather than being handled by this dialog.
error text as a file (may be better wrapped)
Logged In: YES
user_id=1174130
further info. I had opened and closed a logfile with the
viewer to check the newlines / cr-lf display problem (whicjh
is still occuring) and then tried opening another logfile.
The error occured when I opened the second logfile for viewing.
Logged In: YES
user_id=413129
I cannot seem to reproduce this error :( Did you do anything
specific before it came up?
Logged In: YES
user_id=1174130
ok ... trying from a reboot ... opened the app and logged in
opened a log from the open icon / log and selected a text log
closed the logfile viewer by clicking the [x] in the top
right corner
open icon / logs / selected a text log and got an exception:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ComponentModel.Win32Exception: Error creating window
handle.
at
System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.TextBoxBase.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean
fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.ControlCollection.Add(Control value)
at
WhelkMud.WindowOutput.MudLogViewer.MudLogViewer_Load(Object
sender, EventArgs e) in C:\Documents and Settings\davben\My
Documents\Visual
Studio\Projects\WhelkMud\WindowOutput\MudLogViewer.cs:line 90
at System.Windows.Forms.UserControl.OnLoad(EventArgs e)
at System.Windows.Forms.UserControl.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean
fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean
fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.ControlCollection.Add(Control value)
at TD.SandDock.ControlLayoutSystem.Layout(RendererBase
renderer, Graphics graphics, Rectangle bounds, Boolean floating)
at TD.SandDock.DockContainer.a(LayoutSystemBase A_0,
Rectangle A_1)
at TD.SandDock.ControlLayoutSystem.f()
at
TD.SandDock.DockControlCollection.OnInsertComplete(Int32
index, Object value)
at
System.Collections.CollectionBase.System.Collections.IList.Insert(Int32
index, Object value)
at TD.SandDock.DockControlCollection.Insert(Int32 index,
DockControl control)
at TD.SandDock.DockControlCollection.Add(DockControl control)
at
WhelkMud.WindowOutput.Settings.WindowSettings.OpenDockControl(DockControl
control, MudWindowAlign align, MainWindow mainWindow) in
C:\Documents and Settings\davben\My Documents\Visual
Studio\Projects\WhelkMud\WindowOutput\Settings\WindowSettings.cs:line
1090
at
WhelkMud.WindowOutput.MainWindow.logToolStripMenuItem3_Click(Object
sender, EventArgs e) in C:\Documents and Settings\davben\My
Documents\Visual
Studio\Projects\WhelkMud\WindowOutput\MainWindow.cs:line 411
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object
key, EventArgs e)
at System.Windows.Forms.ToolStripItem.OnClick(EventArgs e)
at
System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at
System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at
System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs
e)
at
System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs
e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs
e, ToolStripItemEventType met)
at
System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m,
MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.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)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.3600.0
Win32 Version: 2.0.40607.42 (beta1.040607-4200)
CodeBase:
file:///C:/WINDOWS/MICROSOFT.NET/FRAMEWORK/V2.0.40607/mscorlib.dll
----------------------------------------
WhelkMud
Assembly Version: 0.0.27.0
Win32 Version: 0.0.27.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/WHELKMUD.EXE
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.3600.0
Win32 Version: 2.0.40607.42 (beta1.040607-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.3600.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.3600.0
Win32 Version: 2.0.40607.42 (beta1.040607-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.3600.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.3600.0
Win32 Version: 2.0.40607.42 (beta1.040607-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.3600.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
PluginManager
Assembly Version: 0.0.27.0
Win32 Version: 0.0.27.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/PluginManager.dll
----------------------------------------
WindowOutput
Assembly Version: 0.0.27.0
Win32 Version: 0.0.27.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/WindowOutput.dll
----------------------------------------
Interfaces
Assembly Version: 0.0.27.0
Win32 Version: 0.0.27.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/Interfaces.dll
----------------------------------------
SandDock
Assembly Version: 1.0.5.1
Win32 Version: 1.0.5.1
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/SandDock.dll
----------------------------------------
World
Assembly Version: 0.0.27.0
Win32 Version: 0.0.27.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/World.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.3600.0
Win32 Version: 2.0.40607.42 (beta1.040607-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.3600.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
bcds1mnx
Assembly Version: 0.0.0.0
Win32 Version: 2.0.40607.42 (beta1.040607-4200)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.3600.0__b77a5c561934e089/System.dll
----------------------------------------
Scripting
Assembly Version: 0.0.27.0
Win32 Version: 0.0.27.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/Scripting.dll
----------------------------------------
Connection
Assembly Version: 0.0.27.0
Win32 Version: 0.0.27.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/Connection.dll
----------------------------------------
Output
Assembly Version: 0.0.27.0
Win32 Version: 0.0.27.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/Output.dll
----------------------------------------
MudData
Assembly Version: 0.0.27.0
Win32 Version: 0.0.27.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/MudData.dll
----------------------------------------
Logging
Assembly Version: 0.0.27.0
Win32 Version: 0.0.27.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/Logging.dll
----------------------------------------
DotZLib
Assembly Version: 0.0.27.0
Win32 Version: 0.0.27.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/DotZLib.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:
<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 machine
rather than being handled by this dialog.
Sined / Denis
Logged In: YES
user_id=1174130
more info
I tried it without opening a world first
opened a text log in the viewer and closed it
repeated twice, ok
fourth time, application bombed completely, but I think it
threw some sort of message dialogue before it bombed (I saw
a dialogue drawn but didn't have time to notice what was on it)
So, the problem I was seeing previously was viewing a log
when a world was open. Whether the one I saw with no world
open is the same one or not I have no idea.
Sined / Denis
Logged In: YES
user_id=413129
I cannot seem to reproduce this in any way. Can you with
the latest version of whelkmud? 0.0.31.
Logged In: YES
user_id=1174130
This is still happening in 0.31 if I open and close the log
file viewer a few times, on the 4th or 5th occurrence of
opening a log file I get an exception thrown, looks like the
same one first mentioned in this report.
Sined / Denis