Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
[gja] #1
Member since Jul 2009 · 19 posts
Group memberships: Members
Show profile · Link to this post
Subject: Onmessage() error
anybody know this type of error?

i cnt receive a message from another computer..i think this is not in the code because we both ran same codes..

here's the error:
--------------------- error ------------------------------
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 MLsystem.frmMainMenu.XmppCon_OnMessage(Object sender, Message msg) in C:\Documents and Settings\Johanna\Desktop\MLSystem6.1FirstAlpha Updated\frmMainMenu.vb:line 2352


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
MLsystem
    Assembly Version: 4.1.0.0
    Win32 Version: 4.1.0.0
    CodeBase: file:///C:/EG2003/MLSYSTEM/MLsystem.exe
System.Windows.Forms
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    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.573
    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.573
    CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
AxInterop.MSMask
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/EG2003/MLSYSTEM/AxInterop.MSMask.DLL
Interop.MSMask
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/EG2003/MLSYSTEM/Interop.MSMask.DLL
System.Data
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
Microsoft.VisualBasic
    Assembly Version: 7.0.5000.0
    Win32 Version: 7.10.3052.4
    CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
CrystalDecisions.Windows.Forms
    Assembly Version: 9.1.5000.0
    Win32 Version: 9.1.9800.0
    CodeBase: file:///c:/windows/assembly/gac/crystaldecisions.windows.forms/9.1.5000.0__692fbea5521e1304/crystaldecisions.windows.forms.dll
CrystalDecisions.Shared
    Assembly Version: 9.1.5000.0
    Win32 Version: 9.1.9800.0
    CodeBase: file:///c:/windows/assembly/gac/crystaldecisions.shared/9.1.5000.0__692fbea5521e1304/crystaldecisions.shared.dll
AxInterop.MSFlexGridLib
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/EG2003/MLSYSTEM/AxInterop.MSFlexGridLib.DLL
Interop.MSFlexGridLib
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/EG2003/MLSYSTEM/Interop.MSFlexGridLib.DLL
System.Xml
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
System.EnterpriseServices
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system.enterpriseservices/1.0.5000.0__b03f5f7f11d50a3a/system.enterpriseservices.dll
MySql.Data
    Assembly Version: 1.0.10.1
    Win32 Version: 1.0.10.1
    CodeBase: file:///C:/EG2003/MLSYSTEM/MySql.Data.DLL
agsXMPP
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/EG2003/MLSYSTEM/agsXMPP.DLL
Mono.Security
    Assembly Version: 1.0.5000.0
    Win32 Version: 
    CodeBase: file:///C:/EG2003/MLSYSTEM/Mono.Security.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.
Avatar
Alex #2
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
to me it looks like there is a System.NullReferenceException in your code. Try to surround your code in the OnMessage event with try catch,

Alex
Avatar
[gja] #3
Member since Jul 2009 · 19 posts
Group memberships: Members
Show profile · Link to this post
thanks 4 the reply alex...i really appreciate it..
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS