Menu

#133 Filters - Exception on text match filter

open
None
5
2005-02-12
2005-02-02
No

This might be related to a text filter that sets output
to main window and tries to change the colour of some
output.

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
System.Windows.Forms.Control.MarshaledInvoke(Control
caller, Delegate method, Object[] args, Boolean
synchronous)
at System.Windows.Forms.Control.Invoke(Delegate
method, Object[] args)
at
WhelkMud.WindowOutput.RichTextOutput.AppendText(String
text) in C:\Documents and Settings\davben\My
Documents\Visual
Studio\Projects\WhelkMud\WindowOutput\RichTextOutput.cs:line
127
at
WhelkMud.MudData.MudTextChunk.AddToOutput(IMudOutput
window) in C:\Documents and Settings\davben\My
Documents\Visual
Studio\Projects\WhelkMud\MudData\MudTextChunk.cs:line 35
at
WhelkMud.World.MudWorld.EventConnectionInput(IMudChunk
input) in C:\Documents and Settings\davben\My
Documents\Visual
Studio\Projects\WhelkMud\World\MudWorld.cs:line 115
at WhelkMud.World.MudWorld.ProcessMudChunks(List`1
chunks) in C:\Documents and Settings\davben\My
Documents\Visual
Studio\Projects\WhelkMud\World\MudWorld.cs:line 126
at WhelkMud.World.MudWorld.ProcessingLoop() in
C:\Documents and Settings\davben\My Documents\Visual
Studio\Projects\WhelkMud\World\MudWorld.cs:line 565

************** 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.23.0
Win32 Version: 0.0.23.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.23.0
Win32 Version: 0.0.23.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/PluginManager.dll
----------------------------------------
WindowOutput
Assembly Version: 0.0.23.0
Win32 Version: 0.0.23.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/WindowOutput.dll
----------------------------------------
Interfaces
Assembly Version: 0.0.23.0
Win32 Version: 0.0.23.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
----------------------------------------
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
----------------------------------------
Scripting
Assembly Version: 0.0.23.0
Win32 Version: 0.0.23.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/Scripting.dll
----------------------------------------
World
Assembly Version: 0.0.23.0
Win32 Version: 0.0.23.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/World.dll
----------------------------------------
Connection
Assembly Version: 0.0.23.0
Win32 Version: 0.0.23.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/Connection.dll
----------------------------------------
Output
Assembly Version: 0.0.23.0
Win32 Version: 0.0.23.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/Output.dll
----------------------------------------
MudData
Assembly Version: 0.0.23.0
Win32 Version: 0.0.23.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/MudData.dll
----------------------------------------
Logging
Assembly Version: 0.0.23.0
Win32 Version: 0.0.23.0
CodeBase:
file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/Logging.dll
----------------------------------------
DotZLib
Assembly Version: 0.0.23.0
Win32 Version: 0.0.23.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.

Discussion

  • Denis McMahon

    Denis McMahon - 2005-02-02

    Logged In: YES
    user_id=1174130

    This is the filter I suspect:

    <Filter>
    <Name>recharger</Name>
    <InputFilter>
    <TextMatch>The balsa wand glows</TextMatch>
    <EventName>None</EventName>
    <DestinationFrame>Main Window</DestinationFrame>
    <SoundFile>
    </SoundFile>
    <ForeColour>-1</ForeColour>
    <BackColour>-1</BackColour>
    <ChangeColour>true</ChangeColour>
    <Gag>false</Gag>
    <PlaySound>false</PlaySound>
    <SendToWindow>true</SendToWindow>
    <ChangeExistingColour>false</ChangeExistingColour>
    <Arguments />
    <Information />
    <Extension>
    <Language>Plain Text</Language>
    <Script>
    </Script>
    <RunOnce>false</RunOnce>
    <Disabled>true</Disabled>
    </Extension>
    </InputFilter>
    </Filter>

     
  • David Bennett

    David Bennett - 2005-02-07
    • assigned_to: nobody --> pinkfish
     
  • David Bennett

    David Bennett - 2005-02-08
    • assigned_to: pinkfish --> dmcmahon
    • status: open --> open-fixed
     
  • David Bennett

    David Bennett - 2005-02-08

    Logged In: YES
    user_id=413129

    Fixed in 0.0.26

     
  • Denis McMahon

    Denis McMahon - 2005-02-11
    • assigned_to: dmcmahon --> pinkfish
     
  • Denis McMahon

    Denis McMahon - 2005-02-11

    Logged In: YES
    user_id=1174130

    Hmm, I got the following exception when I did a qwho, with a
    colour change filter set up for Nayeli. The error seems to
    have occurred just prior to displaying the output line from
    the mud that had the text match.

    (i.e. the playtesters line displayed but the friends line
    didn't)

    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 System.Windows.Forms.Control.MarshaledInvoke(Control
    caller, Delegate method, Object[] args, Boolean synchronous)
    at System.Windows.Forms.Control.Invoke(Delegate method,
    Object[] args)
    at WhelkMud.WindowOutput.RichTextOutput.AppendText(String
    text) in C:\Documents and Settings\davben\My
    Documents\Visual
    Studio\Projects\WhelkMud\WindowOutput\RichTextOutput.cs:line 118
    at WhelkMud.MudData.MudTextChunk.AddToOutput(IMudOutput
    window) in C:\Documents and Settings\davben\My
    Documents\Visual
    Studio\Projects\WhelkMud\MudData\MudTextChunk.cs:line 35
    at WhelkMud.World.MudWorld.EventConnectionInput(IMudChunk
    input) in C:\Documents and Settings\davben\My
    Documents\Visual
    Studio\Projects\WhelkMud\World\MudWorld.cs:line 116
    at WhelkMud.World.MudWorld.ProcessMudChunks(List`1
    chunks) in C:\Documents and Settings\davben\My
    Documents\Visual
    Studio\Projects\WhelkMud\World\MudWorld.cs:line 128
    at WhelkMud.World.MudWorld.ProcessingLoop() in
    C:\Documents and Settings\davben\My Documents\Visual
    Studio\Projects\WhelkMud\World\MudWorld.cs:line 653

    ************** 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
    ----------------------------------------
    cos64nzp
    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.

    Here's the filter:

    <Filter>
    <Name>nay</Name>
    <InputFilter>
    <TextMatch>Nayeli</TextMatch>
    <EventName>None</EventName>
    <DestinationFrame>Main Window</DestinationFrame>
    <SoundFile>
    </SoundFile>
    <ForeColour>-32513</ForeColour>
    <BackColour>-1</BackColour>
    <ChangeColour>true</ChangeColour>
    <Gag>false</Gag>
    <PlaySound>false</PlaySound>
    <SendToWindow>false</SendToWindow>
    <ChangeExistingColour>false</ChangeExistingColour>
    <Arguments />
    <Information />
    <Extension>
    <Language>Plain Text</Language>
    <Script>
    </Script>
    <RunOnce>false</RunOnce>
    <Disabled>true</Disabled>
    </Extension>
    </InputFilter>
    </Filter>

     
  • Denis McMahon

    Denis McMahon - 2005-02-12
    • summary: Exception --> Filters - Exception on text match filter
    • status: open-fixed --> open
     
  • Denis McMahon

    Denis McMahon - 2005-02-12

    Logged In: YES
    user_id=1174130

    Still getting this exception after creating a colour change
    filter, applying it and then using frimble to send the
    filtered text.

    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 System.Windows.Forms.Control.MarshaledInvoke(Control
    caller, Delegate method, Object[] args, Boolean synchronous)
    at System.Windows.Forms.Control.Invoke(Delegate method,
    Object[] args)
    at WhelkMud.WindowOutput.RichTextOutput.AppendText(String
    text) in C:\Documents and Settings\davben\My
    Documents\Visual
    Studio\Projects\WhelkMud\WindowOutput\RichTextOutput.cs:line 118
    at WhelkMud.MudData.MudTextChunk.AddToOutput(IMudOutput
    window) in C:\Documents and Settings\davben\My
    Documents\Visual
    Studio\Projects\WhelkMud\MudData\MudTextChunk.cs:line 35
    at WhelkMud.World.MudWorld.EventConnectionInput(IMudChunk
    input) in C:\Documents and Settings\davben\My
    Documents\Visual
    Studio\Projects\WhelkMud\World\MudWorld.cs:line 116
    at WhelkMud.World.MudWorld.ProcessMudChunks(List`1
    chunks) in C:\Documents and Settings\davben\My
    Documents\Visual
    Studio\Projects\WhelkMud\World\MudWorld.cs:line 133
    at WhelkMud.World.MudWorld.ProcessingLoop() in
    C:\Documents and Settings\davben\My Documents\Visual
    Studio\Projects\WhelkMud\World\MudWorld.cs:line 663

    ************** 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.28.0
    Win32 Version: 0.0.28.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.28.0
    Win32 Version: 0.0.28.0
    CodeBase:
    file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/PluginManager.dll
    ----------------------------------------
    WindowOutput
    Assembly Version: 0.0.28.0
    Win32 Version: 0.0.28.0
    CodeBase:
    file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/WindowOutput.dll
    ----------------------------------------
    Interfaces
    Assembly Version: 0.0.28.0
    Win32 Version: 0.0.28.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.28.0
    Win32 Version: 0.0.28.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
    ----------------------------------------
    dwqmka4_
    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.28.0
    Win32 Version: 0.0.28.0
    CodeBase:
    file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/Scripting.dll
    ----------------------------------------
    Connection
    Assembly Version: 0.0.28.0
    Win32 Version: 0.0.28.0
    CodeBase:
    file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/Connection.dll
    ----------------------------------------
    Output
    Assembly Version: 0.0.28.0
    Win32 Version: 0.0.28.0
    CodeBase:
    file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/Output.dll
    ----------------------------------------
    MudData
    Assembly Version: 0.0.28.0
    Win32 Version: 0.0.28.0
    CodeBase:
    file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/MudData.dll
    ----------------------------------------
    Logging
    Assembly Version: 0.0.28.0
    Win32 Version: 0.0.28.0
    CodeBase:
    file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/Logging.dll
    ----------------------------------------
    DotZLib
    Assembly Version: 0.0.28.0
    Win32 Version: 0.0.28.0
    CodeBase:
    file:///C:/PROGRAM%20FILES/WHELKSOFT/WHELKMUD/DotZLib.dll
    ----------------------------------------
    Accessibility
    Assembly Version: 2.0.3600.0
    Win32 Version: 2.0.40607.42 (beta1.040607-4200)
    CodeBase:
    file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.3600.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:

    <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.

     
  • Denis McMahon

    Denis McMahon - 2005-02-12

    Logged In: YES
    user_id=1174130

    Should have added - now using 0.28

    I'm wondering if this is because it's possible to set
    inapproriate combinations of filter data, for example I'm
    setting a colour change filter but I'm not specifying an
    output window because I assume that it will go to the main
    window unless another one is specified, also if I select
    event any and then select event none in the filter dialogue
    "matching" tab the event selectors aren't taken away ... I'm
    hoping that the underlying processing of the dialogue would
    ignore selected event information if the event is
    subsequently set to none.

    Sined / Denis

     

Log in to post a comment.

MongoDB Logo MongoDB