-
Notifications
You must be signed in to change notification settings - Fork 28
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
Crash when accessing URLSessionDataTask #74
Comments
Hi @Nonouf do you have a failed canned response? Thank you. |
HI @jane-austin. Sorry, this is quite old now and I changed company since so I don't even have this code anymore. From my description, I think you'd be able to reproduce it quite easily. If you can't, feel free to close the issue. |
@dmcrodrigues @Kastet @ '2019-09-11 21:44:57.844374-0500 weatherForecastApp[35561:4074155] -[Vinyl.URLSessionDataTask originalRequest]: unrecognized selector sent to instance 0x60400024af20 This happens when I call any method from its super class (URLSessionTask) Calling either currentRequest or originalRequest or any super class member results in a crash. |
I'm currently testing purposely a failure on a request and when accessing the request on the URLSessionDataTask, it results in a unrecognized selector sent.
Step to reproduce:
task.currentRequest
-[Vinyl.URLSessionDataTask currentRequest]: unrecognized selector sent to instance 0x608000058f90
I haven't looked deeply in the problem, but my first thought was that it is really odd as
Vinyl.URLSessionDataTask
is a subclass ofFoundation.URLSessionDataTask
and so it shouldn't be a problem to accesscurrentRequest
. Any thought on that?The text was updated successfully, but these errors were encountered: