SCM

[#1011328] Adapter.Fill fails on ARM architechture

View Trackers | Bugs | Download .csv | Monitor

Date:
2013-04-11 13:09
Priority:
3
State:
Open
Submitted by:
mickey feldman (mickeyf)
Assigned to:
Nobody (None)
Npgsql Version:
2.0.12beta
Category:
None
Group:
None
Resolution:
None
Summary:
Adapter.Fill fails on ARM architechture

Detailed description
I have an application that I am mostly developing on a desktop PC but with the intention that it run on a BeagleBone (ARM architechture). Code that run on the x86 mono fails on the armel, throwing an exception when it hits Adapter.Fill. In both cases I'm running mono 2.10.8.1 on a Ubuntu 12.04 build, npgsql is 2.0.12.0.

I did find another ARM related issue with mono that has to do with the formatting of DateTime (not sql datetime, not npgsql related), and I'm not surprised if arm support lags x86.

Is this a known problem, and is there a fix or workaround?

Here's my stacktrace:

2013/04/10 13:30:49 System.TypeInitializationException() An exception was thrown by the type initializer for System.Data.SqlTypes.SqlDecimal
at System.Data.DataColumn..ctor (System.String columnName, System.Type dataType, System.String expr, MappingType type) [0x00000] in <filename unknown>:0
at System.Data.DataColumn..ctor (System.String columnName, System.Type dataType) [0x00000] in <filename unknown>:0
at System.Data.DataColumnCollection.Add (System.String columnName, System.Type type) [0x00000] in <filename unknown>:0
at Npgsql.NpgsqlDataReader.GetResultsetSchema () [0x00000] in <filename unknown>:0
at Npgsql.NpgsqlDataReader.GetSchemaTable () [0x00000] in <filename unknown>:0
at System.Data.Common.DataAdapter.BuildSchema (IDataReader reader, System.Data.DataTable table, SchemaType schemaType, MissingSchemaAction missingSchAction, MissingMappingAction missingMapAction, System.Data.Common.DataTableMappingCollection dtMapping) [0x00000] in <filename unknown>:0
at System.Data.Common.DataAdapter.BuildSchema (IDataReader reader, System.Data.DataTable table, SchemaType schemaType) [0x00000] in <filename unknown>:0
at System.Data.Common.DataAdapter.FillTable (System.Data.DataTable dataTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords, System.Int32& counter) [0x00000] in <filename unknown>:0
at System.Data.Common.DataAdapter.FillInternal (System.Data.DataSet dataSet, System.String srcTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords) [0x00000] in <filename unknown>:0
at System.Data.Common.DataAdapter.Fill (System.Data.DataSet dataSet, System.String srcTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords) [0x00000] in <filename unknown>:0
at System.Data.Common.DbDataAdapter.Fill (System.Data.DataSet dataSet, Int32 startRecord, Int32 maxRecords, System.String srcTable, IDbCommand command, CommandBehavior behavior) [0x00000] in <filename unknown>:0
at System.Data.Common.DbDataAdapter.Fill (System.Data.DataSet dataSet) [0x00000] in <filename unknown>:0
at Vigil.Public.Database.SQLDatabase.GetDataTable (System.String strSQL) [0x00000] in <filename unknown>:0

Followup

No Followups Have Been Posted

Attached Files:

Changes:

No Changes Have Been Made to This Item

Powered By FusionForge