duckhamqng / google-api-dotnet-client

Automatically exported from code.google.com/p/google-api-dotnet-client
Apache License 2.0
0 stars 0 forks source link

No logger yields ThreadAbortException #458

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce
1. Implement calls to Google API, WITHOUT setting a logger through 
ApplicationContext
2. Upload a video using the youtube API

Expected result?
1. Video uploads to youtube or exception is thrown as to why the upload could 
not be handled

Actual result:
1. upload() inexplicably throws a ThreadAbortException. Due to the exception 
being a ThreadAbortException, handling is practically impossible.

What version of the product are you using? 1.8.1.31685
What is your operating system? 7
What is your IDE? VS2010
What is the .NET framework version? 4

Omitting a logger should have zero side effect aside from a lack of logs.

Original issue reported on code.google.com by TERMINAT...@ogilvy.com on 18 Apr 2014 at 3:25

GoogleCodeExporter commented 9 years ago
Additionally, there's no indication the lack of logger is the cause of the 
exception.

Original comment by TERMINAT...@ogilvy.com on 18 Apr 2014 at 3:26

GoogleCodeExporter commented 9 years ago
Can you please attach the stacktrace?

Original comment by pele...@google.com on 20 Apr 2014 at 8:37

GoogleCodeExporter commented 9 years ago
As I hinted to in the report, the nature of the exception crushes any hopes to 
handle the exception. I've attached a screenshot of the exception object's 
quick watch. This is from the first line of the catch block. The project was 
just rebuilt as DEBUG. This was happening all the time for us until we attached 
the logger. Now I was only able to reproduce this once. Sorry I don't have more 
information.

Original comment by TERMINAT...@ogilvy.com on 21 Apr 2014 at 3:31

Attachments:

GoogleCodeExporter commented 9 years ago
If you remove the logger, you are able to reproduce it?
I'll be happy to see the full stacktrace.

Thanks!
Eyal

Original comment by pele...@google.com on 21 Apr 2014 at 5:29

GoogleCodeExporter commented 9 years ago
Only once today. =(

Original comment by TERMINAT...@ogilvy.com on 21 Apr 2014 at 5:53

GoogleCodeExporter commented 9 years ago
Let's keep that issue open, and update it whenever you see that error again.
Thanks!

Original comment by pele...@google.com on 21 Apr 2014 at 6:30