LINQPad - Unhandled Thread Exception

edited April 17
From time to time, when I left linqpad idle, I'm presented with several windows saying:
LINQPad - Unhandled Thread Exception:
An exception has been thrown on a user-create thread.
System.NullreferenceException: Object reference not set to an instance of an object.
I'd like to solve my issue, but the information about the crash is too vague.

Right now I don't know how to reproduce it, but I'm sure, my code is not running at the moment of crash.
Is there any debug info or anything I can provide ?

I have several other 3rd party Data Context Providers installed:
CSV Context Driver
PostreSQL (LINQ to DB)
IQ
Linq2Azure
I didn't try to uninstall one of these and test ...
I think I have this issue more than half a year (not sure, but quite a long time), so it crosses several LINQPad versions.

Comments

  • Go to %localappdata%\linqpad\logs. You should find more details written to the log.txt file. If the problem is not self-evident, post the details here.
  • Today I've encountered this error.
    I've got 8 same windows with error message
    System.NullReferenceException: Object reference not set to an instance of an object.

    Version v5.28.04(AnyCPU)

    This is the content of the log.txt file
    5.28.04(AnyCPU) 2018-04-19T17:56:45.1515207+02:00 Execution tracking deadlock 5.28.04(AnyCPU) 2018-04-19T17:57:24.5219646+02:00 Execution tracking deadlock 5.28.04(AnyCPU) 2018-04-23T15:53:06.7382394+02:00 Execution tracking deadlock 5.28.04(AnyCPU) 2018-04-24T16:47:44.1339957+02:00 Thread exception - NullReferenceException: Object reference not set to an instance of an object. First chance data: 5.28.04(AnyCPU) 2018-04-24T16:47:44.1730329+02:00 Thread exception - NullReferenceException: Object reference not set to an instance of an object. First chance data: 5.28.04(AnyCPU) 2018-04-24T16:47:44.2020654+02:00 Thread exception - NullReferenceException: Object reference not set to an instance of an object. First chance data: 5.28.04(AnyCPU) 2018-04-24T16:47:44.2340955+02:00 Thread exception - NullReferenceException: Object reference not set to an instance of an object. First chance data: 5.28.04(AnyCPU) 2018-04-24T16:47:44.2651251+02:00 Thread exception - NullReferenceException: Object reference not set to an instance of an object. First chance data: 5.28.04(AnyCPU) 2018-04-24T16:47:44.2991600+02:00 Thread exception - NullReferenceException: Object reference not set to an instance of an object. First chance data: 5.28.04(AnyCPU) 2018-04-24T16:48:13.5269332+02:00 Thread exception - NullReferenceException: Object reference not set to an instance of an object. First chance data: 5.28.04(AnyCPU) 2018-04-24T16:48:13.5879948+02:00 Thread exception - NullReferenceException: Object reference not set to an instance of an object. First chance data: 5.28.04(AnyCPU) 2018-04-24T16:48:13.6625694+02:00 Thread exception - NullReferenceException: Object reference not set to an instance of an object. First chance data: 5.28.04(AnyCPU) 2018-04-24T16:48:13.7111152+02:00 Thread exception - NullReferenceException: Object reference not set to an instance of an object. First chance data: 5.28.04(AnyCPU) 2018-04-24T16:48:13.7846847+02:00 Thread exception - NullReferenceException: Object reference not set to an instance of an object. First chance data: 5.28.04(AnyCPU) 2018-04-24T16:48:13.8497467+02:00 Thread exception - NullReferenceException: Object reference not set to an instance of an object. First chance data:
  • The exceptions that you've posted don't have a stack trace, which is very unusual. Can you confirm that there's no copy-and-paste error?
  • Yes, that's correct. No copy paste error.

    This is dump of the log.txt
    https://gist.github.com/hopp/eb5e6816f5efb30a4312ed35be0d966d
  • Hi Joe,
    I've got another one.

    Linqpad Crashed with this exception:
    System.NullReferenceException: Object reference not set to an instance of an object.
    
    Whole log. txt can be found here:
    https://gist.github.com/hopp/052de2980f56dea021768113369c7b76

    I think those "normal" exceptions with stack traces are valid.
    I made some stupid huge queries and tested our internal nuget server.

    What I've done recently is, that I worked remotely via RDP.
    But I don't have this tested yet.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!