sonos-objc icon indicating copy to clipboard operation
sonos-objc copied to clipboard

Crash in SonosController.m

Open MartinMoizard opened this issue 11 years ago • 1 comments

Hello,

I am facing a crash on line 401 of SonosController.m. I am not doing anything special to get this crash. I guess it comes directly from the sharedInstance that initializes the devices.

So it crashes on: NSDictionary *returnData = @{@"CurrentTransportState" : response[@"s:Envelope"][@"s:Body"][@"u:GetTransportInfoResponse"][@"CurrentTransportState"][@"text"]};

It crashes because 'response' is nil.

Martin

MartinMoizard avatar Oct 12 '14 15:10 MartinMoizard

This now fixed here: https://github.com/getsenic/sonos-objc/commit/3701e5e7a151b2e5b8f2159cf3451b85fb67cfaa

larsblumberg avatar Dec 08 '15 16:12 larsblumberg