[Bug] dotConnect 4 Oracle v. 5.35 Null reference exception

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Partizan
Posts: 36
Joined: Fri 13 Nov 2009 10:18

[Bug] dotConnect 4 Oracle v. 5.35 Null reference exception

Post by Partizan » Fri 13 Nov 2009 10:25

Hi there.

I think there is a bug in a Devart.Data.dll

Looks like when DbMonitor gets the stacktrace, enumerates all methods and builds a string for each method, it fails if there is any anonymous method. It has no DeclaringType, so DeclaringType property of MethodInfo is null. So when it tries to get the DeclaringType.FullName, it fails with NullReference exception.

Best regards,
Alexander Efimov.

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Fri 13 Nov 2009 12:27

Thank you for the report, the issue is already fixed in the upcoming build.

Post Reply