[Mono-list] FileSystemWatcher

pjd peter_dunning at dsl.pipex.com
Mon Jan 14 13:31:25 EST 2008




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 cl
ass member.
at Microsoft.VisualBasic.CompilerServices.LateBinder.BindToMethod
(System.Reflec
tion.BindingFlags,System.Reflection.MethodBase[],object[]&,System.Reflection.Par
ameterModifier[],System.Globalization.CultureInfo,string[],object&)
<0x00426>
at System.MonoType.InvokeMember
(string,System.Reflection.BindingFlags,System.Re
flection.Binder,object,object[],System.Reflection.ParameterModifier[],System.Glo
balization.CultureInfo,string[]) [0x00203] in
C:\cygwin\tmp\monobuild\build\BUIL
D\mono-1.2.6\mcs\class\corlib\System\MonoType.cs:371
at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet
(object,System.Typ
e,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>
at (wrapper remoting-invoke-with-check) Room_booking.frmMain.delBooking
(int) <0
x00045>
at Room_booking.frmBooking.delbooking () <0x0018d>
at (wrapper remoting-invoke-with-check) Room_booking.frmBooking.delbooking
() <0
x00038>
at Room_booking.frmBooking.cmdDelete_Click (object,System.EventArgs)
<0x0000d>
at System.Windows.Forms.Control.OnClick (System.EventArgs) [0x0001c] in
C:\cygwi
n\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Wi
ndows.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.Forms\System.Win
dows.Forms\Button.cs:104
at System.Windows.Forms.ButtonBase.OnMouseUp
(System.Windows.Forms.MouseEventArg
s) [0x00076] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed
.Windows.Forms\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.Win
dows.Forms\System.Windows.Forms\Button.cs:126
at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message&)
[0x0
005c] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Window
s.Forms\System.Windows.Forms\Control.cs:5253
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&)
[0x0017c
] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Fo
rms\System.Windows.Forms\Control.cs:5006
at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message&)
[0x00
055] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows
.Forms\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.Forms\Sys
tem.Windows.Forms\Control.cs:225
at ControlNativeWindow.WndProc (System.Windows.Forms.Message&) [0x00000] in
C:\c
ygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\Syste
m.Windows.Forms\Control.cs:206
at System.Windows.Forms.NativeWindow.WndProc
(intptr,System.Windows.Forms.Msg,in
tptr,intptr) [0x0006a] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\cla
ss\Managed.Windows.Forms\System.Windows.Forms\NativeWindow.cs:188
at System.Windows.Forms.XplatUIWin32.InternalWndProc
(intptr,System.Windows.Form
s.Msg,intptr,intptr) [0x0002c] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6
\mcs\class\Managed.Windows.Forms\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.Win32DispatchMe
ssage (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.W
indows.Forms\System.Windows.Forms\XplatUIWin32.cs:2081
at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG&)
[0x0
0000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Window
s.Forms\System.Windows.Forms\XplatUI.cs:551
at System.Windows.Forms.Application.RunLoop
(bool,System.Windows.Forms.Applicati
onContext) [0x00359] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class
\Managed.Windows.Forms\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.Forms\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.Forms\
System.Windows.Forms\Application.cs:618
at
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun
(
) <0x00040>
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run
(st
ring[]) <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.



More information about the Mono-list mailing list