artsy / energy-legacy

LEGACY - Artsy Folio, The Partner iPhone / iPad app.
https://folio.artsy.net
MIT License
210 stars 45 forks source link

Fix NSGenericException in - [Artist firstArtwork], line 163 #310

Open artsyit opened 5 years ago

artsyit commented 5 years ago

Version: 2.6.0 (2018.04.07.06) | sy.art.folio

Stacktrace

Artist;firstArtwork;Artist.m;163
Artist;gridThumbnailImage;Artist.m;136
Artist;gridThumbnailPath:;Artist.m;151
ARSpotlightExporter;itemForArtist:;ARSpotlightExporter.m;110
NSArray(ObjectiveSugar);map:;NSArray+ObjectiveSugar.m;99
ARSpotlightExporter;artistResults;ARSpotlightExporter.m;98
ARSpotlightExporter;updateCache;ARSpotlightExporter.m;42

Reason

Terminating app due to uncaught exception 'NSGenericException', reason: ' Collection <__NSCFSet: 0x1c00586f0> was mutated while being enumerated.'

Link to HockeyApp