I just found a weird bug in the provider (1.7.1).
I execute a query many times from a prepared command and I
get an exception.
This happens very rarely but I was able to create a project
that shows it. It may come from my database (even if I reaaly can't see why)
because not all my customers encounter it.
Carlos, I can send you the test project and the database.
The only problem is that the database is 35 Mb (after backup and zip), but I
can put it on a FTP if you want
here is the call stack from the exception.
Exception non gérée : System.NullReferenceException: La
référence d'objet n'est pas définie à une instance d'un objet.
at
FirebirdSql.Data.Gds.GdsTransaction.BeginTransaction(TransactionParameterBuffer
tpb)
at
FirebirdSql.Data.Gds.GdsDatabase.BeginTransaction(TransactionParameterBuffer
tpb)
at FirebirdSql.Data.Firebird.FbTransaction.BeginTransaction()
at FirebirdSql.Data.Firebird.FbCommand.Prepare(Boolean returnsSet)
at FirebirdSql.Data.Firebird.FbCommand.ExecuteCommand(CommandBehavior
behavior, Boolean returnsSet)
at
FirebirdSql.Data.Firebird.FbCommand.ExecuteCommand(CommandBehavior behavior)
at FirebirdSql.Data.Firebird.FbCommand.ExecuteScalar()
at BugFirebird.CalculStatsFamille.GetDateCaisse(Int32 idCaisse,
FbCommand cmdDateCaisse) in c:\essais\visual
studio\bugfirebird\bugfirebird\calculstatsfamille.cs:line 61
at
BugFirebird.CalculStatsFamille.Execute(StatistiqueCaisseCollection
statistiques) in c:\essais\visual studio\bugfirebird\bugfirebird\calculstatsfamille.cs:line
119
at BugFirebird.Form1.button1_Click(Object sender, EventArgs e) in
c:\essais\visual studio\bugfirebird\bugfirebird\form1.cs:line 122
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m,
MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&
m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&
m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr
hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at
System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at
System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FLe
programme '[4548] BugFirebird.exe' s'est arrêté avec le code 0 (0x0).
PushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32
reason, ApplicationContext context)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason,
ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at BugFirebird.Form1.Main() in c:\essais\visual
studio\bugfirebird\bugfirebird\form1.cs:line 85
|
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider