[Mono-list] Mono crash on filling datatable
Hans-Martin
jhmgbl2 at t-online.de
Mon Mar 23 12:48:49 EDT 2009
Hallo Nagapan!
I had installed mono 2.2 before, but with the same error. I had compiled
mono 2.2 from source, but I thought there might be a problem with ubuntu, so
I switched to the code in the repository. And normally I run the application
with option --debug, but there is no difference in the error message. When I
had the 2.2. compiled version, the Error message showed also the code lines,
where the error occured. I will install 2.2 again and send you the Error
message.
Regards
Hans
-----Ursprüngliche Nachricht-----
Von: Nagappan A [mailto:nagappan at gmail.com]
Gesendet: Montag, 23. März 2009 17:08
An: J.M. G
Cc: mono-list at lists.ximian.com
Betreff: Re: [Mono-list] Mono crash on filling datatable
Hello Hans,
On Mon, Mar 23, 2009 at 8:22 AM, J.M. G <jhmgbl2 at t-online.de> wrote:
Hallo! I get the following error when filling a datatable from an SQLite
datasource (with mono.sqlite). I am using Ubuntu 8.04 with mono 1.9.1.
On windows the code works fine!
Could you please try with latest released Mono ? Lots of bug has been
fixed with Mono 2.2.
Also can you provide stack trace with debugging symbols. Generally I run
like this: "mono --debug application.exe"
Thanks
Nagappan
<code>
Unhandled Exception: System.ApplicationException: clsDBRep.FillDSRepT
Error! ---> System.Exception: Error Fill dtMedikamente! --->
System.EntryPointNotFoundException: sqlite3_column_origin_name
at (wrapper managed-to-native)
Mono.Data.Sqlite.UnsafeNativeMethods:sqlite3_column_origin_name
(intptr,int)
at Mono.Data.Sqlite.Sqlite3.ColumnOriginalName
(Mono.Data.Sqlite.SqliteStatement stmt, Int32 index) [0x00000]
at Mono.Data.Sqlite.SqliteDataReader.GetSchemaTable (Boolean
wantUniqueInfo, Boolean wantDefaultValue) [0x00000]
at Mono.Data.Sqlite.SqliteDataReader.GetSchemaTable () [0x00000]
at System.Data.Common.DataAdapter.BuildSchema (IDataReader reader,
System.Data.DataTable table, SchemaType schemaType, MissingSchemaAction
missingSchAction, MissingMappingAction missingMapAction,
System.Data.Common.DataTableMappingCollection dtMapping) [0x00000]
at System.Data.Common.DataAdapter.BuildSchema (IDataReader reader,
System.Data.DataTable table, SchemaType schemaType) [0x00000]
at System.Data.Common.DataAdapter.FillTable (System.Data.DataTable
dataTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords,
System.Int32& counter) [0x00000]
at System.Data.Common.DataAdapter.FillInternal (System.Data.DataTable
dataTable, IDataReader dataReader) [0x00000]
at System.Data.Common.DbDataAdapter.Fill (System.Data.DataTable
dataTable, IDataReader dataReader) [0x00000]
at System.Data.Common.DbDataAdapter.Fill (System.Data.DataTable
dataTable, IDbCommand command, CommandBehavior behavior) [0x00000]
at System.Data.Common.DbDataAdapter.Fill (System.Data.DataTable
dataTable) [0x00000]
at (wrapper remoting-invoke-with-check)
System.Data.Common.DbDataAdapter:Fill (System.Data.DataTable)
at Repetit.net.T.Mono.dsRepTableAdapters.MedikamenteTableAdapter.Fill
(Repetit.net.T.Mono.MedikamenteDataTable dataTable) [0x00000]
at Repetit.net.T.Mono.clsDBRep.FillDSREPT () [0x00000] --- End of
inner exception stack trace ---
at Repetit.net.T.Mono.clsDBRep.FillDSREPT () [0x00000] --- End of
inner exception stack trace ---
at Repetit.net.T.Mono.clsDBRep.FillDSREPT () [0x00000]
at Repetit.net.T.Mono.frmMain.OpenDatabase (System.String& FileName)
[0x00000]
at (wrapper remoting-invoke-with-check)
Repetit.net.T.Mono.frmMain:OpenDatabase (string&)
at Repetit.net.T.Mono.frmMain.frmMain_Load (System.Object eventSender,
System.EventArgs eventArgs) [0x00000]
at System.Windows.Forms.Form.OnLoad (System.EventArgs e) [0x00000]
at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e)
[0x00000]
at System.Windows.Forms.Form.OnCreateControl () [0x00000]
at System.Windows.Forms.Control.CreateControl () [0x00000]
at System.Windows.Forms.Control.WmShowWindow
(System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&
m) [0x00000]
at System.Windows.Forms.ScrollableControl.WndProc
(System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.ContainerControl.WndProc
(System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m)
[0x00000]
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
(System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.Control+ControlNativeWindow.WndProc
(System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
IntPtr wParam, IntPtr lParam) [0x00000]
at System.Windows.Forms.XplatUIX11.SendMessage (IntPtr hwnd, Msg
message, IntPtr wParam, IntPtr lParam) [0x00000]
at System.Windows.Forms.XplatUIX11.MapWindow
(System.Windows.Forms.Hwnd hwnd, WindowType windows) [0x00000]
at System.Windows.Forms.XplatUIX11.CreateWindow
(System.Windows.Forms.CreateParams cp) [0x00000]
at System.Windows.Forms.XplatUI.CreateWindow
(System.Windows.Forms.CreateParams cp) [0x00000]
at System.Windows.Forms.NativeWindow.CreateHandle
(System.Windows.Forms.CreateParams create_params) [0x00000]
at System.Windows.Forms.Control.CreateHandle () [0x00000]
at System.Windows.Forms.Form.CreateHandle () [0x00000]
at System.Windows.Forms.Control.CreateControl () [0x00000]
at System.Windows.Forms.Control.SetVisibleCore (Boolean value)
[0x00000]
at System.Windows.Forms.Form.SetVisibleCore (Boolean value) [0x00000]
at System.Windows.Forms.Control.set_Visible (Boolean value) [0x00000]
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control:set_Visible (bool)
at System.Windows.Forms.Application.RunLoop (Boolean Modal,
System.Windows.Forms.ApplicationContext context) [0x00000]
at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext context) [0x00000]
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form
mainForm) [0x00000]
at
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.On
Run () [0x00000]
at
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Ru
n (System.String[] commandLine) [0x00000]
at Repetit.net.T.Mono.My.MyApplication.Main (System.String[] Args)
[0x00000]
</code>
Regards
Hans
_______________________________________________
Mono-list maillist - Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
--
Linux Desktop (GUI Application) Testing Project -
http://ldtp.freedesktop.org
http://nagappanal.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20090323/2f4ef20f/attachment-0001.html
More information about the Mono-list
mailing list