[Mono-list] FileSystemWatcher
Rolf Bjarne Kvinge
rolflists at ya.com
Mon Jan 14 13:52:48 EST 2008
Hi,
>
>
>
> pjd wrote:
> >
> > With mono 1.2.6 the program starts but crashes as soon as the filesystem
> > watcher detects any changes in the directory it monitors. I can't give
the
> > error message because windows can't copy from a command prompt but there
> > are a lot of references to C:\cygwin\tmp\... I don't know why this is as
> > you are not supposed to need cygwin to run mono.
> >
>
> The error message is:
>
> Unhandled Exception: System.MissingMemberException: Cannot find the
requested class member.
> at Microsoft.VisualBasic.CompilerServices.LateBinder.BindToMethod
>
(System.Reflection.BindingFlags,System.Reflection.MethodBase[],object[]&,Sys
tem.Refle
>
ction.ParameterModifier[],System.Globalization.CultureInfo,string[],object&)
> <0x00426>
> at System.MonoType.InvokeMember
(string,System.Reflection.BindingFlags,System.Reflection.Binder,object,objec
t[],System.Reflection.ParameterModifier[],System.Globalization.CultureInfo,s
tring[]) [0x00203] in
>
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\corlib\System\MonoT
ype.cs:371
> at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet
(object,System.Type,string,object[],string[],bool[]) <0x00095>
> at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet
(object,System.Type,string,object[],string[],System.Type[],bool[]) <0x0001c>
> at Room_booking.frmMain.delBooking (int) <0x00074>
This is probably a problem out late binding in visual basic, but I'd need to
know what this method is trying to do (what method/property is it trying to
access, etc), could you paste the code in this method?
Rolf
> at (wrapper remoting-invoke-with-check) Room_booking.frmMain.delBooking
(int) <0x00045>
> at Room_booking.frmBooking.delbooking () <0x0018d>
> at (wrapper remoting-invoke-with-check) Room_booking.frmBooking.delbooking
() <0x00038>
> at Room_booking.frmBooking.cmdDelete_Click (object,System.EventArgs)
<0x0000d>
> at System.Windows.Forms.Control.OnClick (System.EventArgs) [0x0001c] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.For
ms\System.Windows.Forms\Control.cs:5657
> at System.Windows.Forms.Button.OnClick (System.EventArgs) [0x00024] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.For
ms\System.Windows.Forms\Button.cs:104
> at System.Windows.Forms.ButtonBase.OnMouseUp
(System.Windows.Forms.MouseEventArgs) [0x00076] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.For
ms\System.Windows.Forms\ButtonBase.cs:616
> at System.Windows.Forms.Button.OnMouseUp
(System.Windows.Forms.MouseEventArgs) [0x00000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.For
ms\System.Windows.Forms\Button.cs:126
> at System.Windows.Forms.Control.WmLButtonUp
(System.Windows.Forms.Message&) [0x0005c] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.For
ms\System.Windows.Forms\Control.cs:5253
> at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&)
[0x0017c]
inC:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.F
orms\System.Windows.Forms\Control.cs:5006
> at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message&)
[0x00055] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.For
ms\System.Windows.Forms\ButtonBase.cs:674
> at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message&)
[0x00000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.For
ms\System.Windows.Forms\Button.cs:148
> at ControlWindowTarget.OnMessage (System.Windows.Forms.Message&) [0x00000]
in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.For
ms\System.Windows.Forms\Control.cs:225
> at ControlNativeWindow.WndProc (System.Windows.Forms.Message&) [0x00000]
in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.For
ms\System.Windows.Forms\Control.cs:206
> at System.Windows.Forms.NativeWindow.WndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) [0x0006a] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\clas\Managed.Windows.Form
s\System.Windows.Forms\NativeWindow.cs:188
> at System.Windows.Forms.XplatUIWin32.InternalWndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) [0x0002c] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.For
ms\System.Windows.Forms\XplatUIWin32.cs:1886
> at (wrapper native-to-managed)
System.Windows.Forms.XplatUIWin32.InternalWndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x00065>
> at (wrapper managed-to-native)
System.Windows.Forms.XplatUIWin32.Win32DispatchMessage
(System.Windows.Forms.MSG&) <0x00004>
> at System.Windows.Forms.XplatUIWin32.DispatchMessage
(System.Windows.Forms.MSG&) [0x00000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.For
ms\System.Windows.Forms\XplatUIWin32.cs:2081
> at System.Windows.Forms.XplatUI.DispatchMessage
(System.Windows.Forms.MSG&) [0x00000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.For
ms\System.Windows.Forms\XplatUI.cs:551
> at System.Windows.Forms.Application.RunLoop
(bool,System.Windows.Forms.ApplicationContext) [0x00359] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.For
ms\System.Windows.Forms\Application.cs:844
> at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext) [0x00014] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.For
ms\System.Windows.Forms\Application.cs:630
> at System.Windows.Forms.Application.Run (System.Windows.Forms.Form)
[0x00000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.For
ms\System.Windows.Forms\Application.cs:618
> at
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun
() <0x00040> at
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run
(string[]) <0x0000b>
> at Room_booking.My.MyApplication.Main (string[]) <0x0003e>
>
> --
> View this message in context: http://www.nabble.com/FileSystemWatcher-
> tp14160191p14808088.html
> Sent from the Mono - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.19.2/1223 - Release Date:
> 13/01/2008 20:23
More information about the Mono-list
mailing list