Note that there are some explanatory texts on larger screens.

plurals
  1. PONSInternalInconsistency Exception - findPlaylistByID is Invalid - What does that mean?
    primarykey
    data
    text
    <p>I am catching an error in XCode 4 without making any changes.  A screen shot of the error is attached and here is the code that I am suspecting is causing the issue.  Please help me out if you can, I am not sure why I am getting this error:  </p> <pre><code>e- (void)fetchVideoInfoForPlaylist:(id)aDict { BrightcoveDemoAppDelegate *delegate = (BrightcoveDemoAppDelegate *)[[UIApplication sharedApplication] delegate]; BCMediaAPI *bc = delegate.bcServices; PlaylistCacheObject *playlistCacheObj; BCPlaylist *playlist = (BCPlaylist *)[aDict objectForKey:PLAYLIST_DICT_KEY]; UITableViewCell *cell = (UITableViewCell *)[aDict objectForKey:CELL_DICT_KEY]; NSNumber *key = [NSNumber numberWithLong:playlist.playlistId]; if ([playlistCache objectForKey:key]) { playlistCacheObj = [playlistCache objectForKey:key]; } else { // request, stash in cache NSError *err; playlist = [bc findPlaylistById:playlist.playlistId videoFields:[NSArray arrayWithObjects:@"thumbnailURL",nil] playlistFields:[NSArray arrayWithObjects:@"videos", @"thumbnailURL",nil] customFields:nil error:&amp;err]; if (!playlist) { [[ErrorHandlerService sharedInstance] logMediaAPIError:err]; } else if (playlist.videos &amp;&amp; [playlist.videos count] &gt; 0) { [playlist.videos objectAtIndex:0]; // fetch the thumbnai for the first video NSString *imageURL = [playlist thumbnailURL]; UIImage *image = [UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:imageURL]]]; playlistCacheObj = [[[PlaylistCacheObject alloc] initWithData:playlist image:image] autorelease]; [playlistCache setObject:playlistCacheObj forKey:key]; ; } } </code></pre> <p><img src="https://i.stack.imgur.com/JsgI5.png" alt="CRASH LOG SCREENCAP"></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload