SCM

[#1011053] NullReferenceException at Npgsql.ForwardsOnlyDataReader..ctor

View Trackers | Bugs | Download .csv | Monitor

Date:
2011-05-26 10:30
Priority:
3
State:
Open
Submitted by:
dan shoubridge (shoubs)
Assigned to:
Nobody (None)
Npgsql Version:
2.0.11
Category:
None
Group:
None
Resolution:
None
Summary:
NullReferenceException at Npgsql.ForwardsOnlyDataReader..ctor

Detailed description
I have a web service that is called asynchronously, and the below exception (bug) occurs intermittently (about once every 300,000 queries) when running queries, and only when batch processing queries one after the other - so many async web service calls, each web service call accepts an object collection (100 objects) that are persisted to the database.


NullReferenceException at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError)
in C:\projects\Npgsql2\src\Npgsql\NpgsqlDataReader.cs:line 1026
at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb)
in C:\projects\Npgsql2\src\Npgsql\NpgsqlCommand.cs:line 609
at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb)
in C:\projects\Npgsql2\src\Npgsql\NpgsqlCommand.cs:line 588
at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
in C:\projects\Npgsql2\src\Npgsql\NpgsqlCommand.cs:line 538


I posted the question here as well: http://stackoverflow.com/questions/6136842/npgsql-bug-nullreferenceexception-at-npgsql-forwardsonlydatareader-ctor

Followup

Message
Date: 2013-04-08 23:09
Sender: Francisco Figueiredo jr.

Are you able to use latest version of Npgsql and see if you still get this error?

Thanks in advance.

Attached Files:

Changes:

No Changes Have Been Made to This Item

Powered By FusionForge