-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Getting 'Object reference not set to an instance of an object.' exception #4
Comments
Hmm, seems to work against the dynamically created context from LINQPad against same DB/table. Are compiled contexts supported? |
I can also report the above behavior on v4.57.02. |
@terryaney @borislitvak Do you use LINQ to SQL or Entity Framework typed data context? |
I use LINQ to SQL…I see you just made EF work on another comment. But I know we have code for our L2S stuff that leverages a DbContextInterceptor (or whatever it is called) so hopefully you can find that available to you as well.
|
@terryaney I don't remember any class which is able to intercept LINQ to SQL queries. I will see what I can do to make it work. |
This should be fixed now. Will publish a new release tomorrow. |
I am still having the same issue with LINQ to Entities, as this tool only supports EF6 contexts. |
@borislitvak Can you create a test data context dll and attach it to this issue? |
I have a compiled context doing a simple query:
Profiles.Where( p => p.Client.cName == "AnnArbor" ).DumpPlan();
And it throws the exception. Not much information in the exception. Let me know what other information I can provide to help.
Trace:
The text was updated successfully, but these errors were encountered: