Bugs
Search the entire project
This project's trackers
This project's forums
This project's tasks
This project's releases
This project's documents
This project's news
Project
People
Skill
Advanced search
Log In
|
New Account
Home
My Page
Projects
Code Snippets
Project Openings
Npgsql .Net Data Provider for Postgresql
Summary
Activity
Forums
Tracker
Lists
Tasks
Docs
Surveys
News
SCM
Files
[#1010411] DataException on Dispose
View Trackers
|
Bugs
|
Download .csv
|
Monitor
Date:
2008-06-13 16:59
Priority:
3
State:
Open
Submitted by:
Patrick Earl (
patearl
)
Assigned to:
Nobody (None)
Npgsql Version:
None
Category:
Group:
Resolution:
None
Summary:
DataException on Dispose
Detailed description
After executing the a query that returns about 42MB of bytea data in 227 rows, I get an error during Dispose(). This is using 2.0beta4. I was previously using 2.0beta2 and got a similar error but it happened in Close of the connection instead.
Could there be an issue with the length of the data or with special characters in the set of data? The query runs fine in pgAdmin.
Perhaps there is an error that's being masked by a finally block. I'll look into that possibility, but it seems that there shouldn't be an error in the dispose even if there was a previous exception.
[13/06/2008 10:19:58 AM] System.Data.DataException: Data Exception.
at Npgsql.StringRowReaderV3.AbandonShip() in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlAsciiRow.cs:line 124
at Npgsql.StringRowReaderV3.SkipOne() in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlAsciiRow.cs:line 132
at Npgsql.RowReader.Skip(Int32 count) in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlRow.cs:line 448
at Npgsql.ForwardsOnlyRow.Dispose() in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlRow.cs:line 199
at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlDataReader.cs:line 1118
at Npgsql.ForwardsOnlyDataReader.CleanUp(Boolean finishedMessages) in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlDataReader.cs:line 1284
at Npgsql.ForwardsOnlyDataReader.Close() in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlDataReader.cs:line 1295
at System.Data.Common.DbDataReader.Dispose(Boolean disposing)
at Npgsql.ForwardsOnlyDataReader.Dispose(Boolean disposing) in C:\Npgsql\Npgsql2\src\Npgsql\NpgsqlDataReader.cs:line 1235
at System.Data.Common.DbDataReader.Dispose()
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
Followup
Message
Date: 2008-06-13 19:12
Sender:
Patrick Earl
Actually, this bug may have been with beta2. One of our
developers redeployed with old source code and the error was
appearing. When redeploying the latest code again I haven't
seen the error again.
Attached Files:
Changes:
Field
Old Value
Date
By
status_id
Closed
2008-06-19 22:54
patearl
status_id
Open
2008-06-13 19:13
patearl
close_date
2008-06-13 19:13
2008-06-13 19:13
patearl