Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexOutOfRangeException On EnsureConnected #2674

Closed
stelian56 opened this issue Oct 4, 2019 · 5 comments

Comments

@stelian56
Copy link

commented Oct 4, 2019

Issue

Uncaught IndexOutOfRange exception when user code invokes the EnsureConnected() entity framework method.

Versions

PostgreSQL version 10.

Stack trace attached.
NpgsqlException.txt

@austindrenski

This comment has been minimized.

Copy link
Member

commented Oct 4, 2019

@stelian56 Can you confirm which version of Npgsql you're using?

@austindrenski austindrenski added the bug label Oct 4, 2019
@austindrenski austindrenski added this to the 4.1.2 milestone Oct 4, 2019
@stelian56

This comment has been minimized.

Copy link
Author

commented Oct 4, 2019

From our application's csproj file:
netcoreapp2.2
Microsoft.EntityFrameworkCore Version="2.2.4"
Npgsql Version="4.0.6"
Npgsql.EntityFrameworkCore.PostgreSQL Version="2.2.0"

@EvgenyKhaliper

This comment has been minimized.

Copy link

commented Oct 8, 2019

Same issue as above

latest dapper
dotnetcore 2.2

@roji

This comment has been minimized.

Copy link
Member

commented Oct 9, 2019

This is a probable dup of #2485, which was fixed in 4.0.8.

@stelian56 @EvgenyKhaliper can you please take a dependency on Npgsql 4.0.10 and confirm whether it fixes the issue?

@EvgenyKhaliper

This comment has been minimized.

Copy link

commented Oct 19, 2019

@roji see no issues now

@YohDeadfall YohDeadfall removed this from the 4.1.2 milestone Oct 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.