Bug 2214 - DataSet/DataAdapter throws an exception on table update
Summary: DataSet/DataAdapter throws an exception on table update
Status: RESOLVED DUPLICATE of bug 853
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Database ()
Version: 2.8.2
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-11-28 06:40 UTC by Robert Fuszenecker
Modified: 2011-12-01 02:16 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Project to reproduce DataSet bug (6.10 KB, application/x-gzip)
2011-11-28 06:41 UTC, Robert Fuszenecker
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED DUPLICATE of bug 853

Description Robert Fuszenecker 2011-11-28 06:40:43 UTC
DataSet/DataAdapter throws an exception on table update.
The phenomenon also occurs when I use SQLite3, PostgreSQL, MySQL.

----------------------------------

fuszenecker@neutralino:~$
Projects/DataSetBugReport/DataSetBugReport/bin/Debug/DataSetBugReport.exe 
id: 1, name: "Hello", value: 123 

Unhandled Exception: Mono.Data.Sqlite.SqliteException: Abort due to constraint
violation
primus.name may not be NULL
  at Mono.Data.Sqlite.SQLite3.Reset (Mono.Data.Sqlite.SqliteStatement stmt)
[0x00000] in <filename unknown>:0 
  at Mono.Data.Sqlite.SQLite3.Step (Mono.Data.Sqlite.SqliteStatement stmt)
[0x00000] in <filename unknown>:0 
  at Mono.Data.Sqlite.SqliteDataReader.NextResult () [0x00000] in <filename
unknown>:0 
  at Mono.Data.Sqlite.SqliteDataReader..ctor (Mono.Data.Sqlite.SqliteCommand
cmd, CommandBehavior behave) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check)
Mono.Data.Sqlite.SqliteDataReader:.ctor
(Mono.Data.Sqlite.SqliteCommand,System.Data.CommandBehavior)
  at Mono.Data.Sqlite.SqliteCommand.ExecuteReader (CommandBehavior behavior)
[0x00000] in <filename unknown>:0 
  at Mono.Data.Sqlite.SqliteCommand.ExecuteDbDataReader (CommandBehavior
behavior) [0x00000] in <filename unknown>:0 
  at System.Data.Common.DbCommand.ExecuteReader (CommandBehavior behavior)
[0x00000] in <filename unknown>:0 
  at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader
(CommandBehavior behavior) [0x00000] in <filename unknown>:0 
  at System.Data.Common.DbDataAdapter.Update (System.Data.DataRow[] dataRows,
System.Data.Common.DataTableMapping tableMapping) [0x00000] in <filename
unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: Mono.Data.Sqlite.SqliteException: Abort due
to constraint violation
primus.name may not be NULL
  at Mono.Data.Sqlite.SQLite3.Reset (Mono.Data.Sqlite.SqliteStatement stmt)
[0x00000] in <filename unknown>:0 
  at Mono.Data.Sqlite.SQLite3.Step (Mono.Data.Sqlite.SqliteStatement stmt)
[0x00000] in <filename unknown>:0 
  at Mono.Data.Sqlite.SqliteDataReader.NextResult () [0x00000] in <filename
unknown>:0 
  at Mono.Data.Sqlite.SqliteDataReader..ctor (Mono.Data.Sqlite.SqliteCommand
cmd, CommandBehavior behave) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check)
Mono.Data.Sqlite.SqliteDataReader:.ctor
(Mono.Data.Sqlite.SqliteCommand,System.Data.CommandBehavior)
  at Mono.Data.Sqlite.SqliteCommand.ExecuteReader (CommandBehavior behavior)
[0x00000] in <filename unknown>:0 
  at Mono.Data.Sqlite.SqliteCommand.ExecuteDbDataReader (CommandBehavior
behavior) [0x00000] in <filename unknown>:0 
  at System.Data.Common.DbCommand.ExecuteReader (CommandBehavior behavior)
[0x00000] in <filename unknown>:0 
  at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader
(CommandBehavior behavior) [0x00000] in <filename unknown>:0 
  at System.Data.Common.DbDataAdapter.Update (System.Data.DataRow[] dataRows,
System.Data.Common.DataTableMapping tableMapping) [0x00000] in <filename
unknown>:0
Comment 1 Robert Fuszenecker 2011-11-28 06:41:43 UTC
Created attachment 955 [details]
Project to reproduce DataSet bug
Comment 2 Robert Fuszenecker 2011-12-01 02:16:12 UTC

*** This bug has been marked as a duplicate of bug 853 ***