[NSCountedSet addObject]: attempt to insert nil

Issue #345 closed
necktwi created an issue

when tried to add a set file get the below crash dialogue

0   CoreFoundation                      0x00007fff7d20a11b __exceptionPreprocess + 171
1   libobjc.A.dylib                     0x00007fffa3935c76 objc_exception_throw + 48
2   CoreFoundation                      0x00007fff7d29970d +[NSException raise:format:] + 205
3   Foundation                          0x00007fff7f24d84b -[NSCountedSet addObject:] + 81
4   Foundation                          0x00007fff7f2d7db3 -[NSString enumerateSubstringsInRange:options:usingBlock:] + 1887
5   Foundation                          0x00007fff7f402c0f -[NSString enumerateLinesUsingBlock:] + 113
6   MP42Foundation                      0x00000001076be042 -[MP42SrtImporter initWithURL:error:] + 546
7   MP42Foundation                      0x00000001076b5f08 -[MP42FileImporter initWithURL:error:] + 359
8   Subler                              0x0000000106bec0b9 -[SBFileImport initWithURLs:delegate:error:] + 585
9   Subler                              0x0000000106bfd3fa -[SBDocument showImportSheet:] + 96
10  Subler                              0x0000000106bfd24f __25-[SBDocument selectFile:]_block_invoke + 231
11  AppKit                              0x00007fff7aec903b -[NSSavePanel _didEndSheet:returnCode:contextInfo:] + 96
12  AppKit                              0x00007fff7b096a6a NSWindowEndWindowModalSession + 341
13  AppKit                              0x00007fff7aa154b6 -[NSWindow _endWindowBlockingModalSession:returnCode:] + 76
14  AppKit                              0x00007fff7aecb800 -[NSSavePanel ok:] + 382
15  AppKit                              0x00007fff7af56ac2 -[NSApplication(NSResponder) sendAction:to:from:] + 312
16  AppKit                              0x00007fff7aa069c7 -[NSControl sendAction:to:] + 86
17  AppKit                              0x00007fff7aa068ef __26-[NSCell _sendActionFrom:]_block_invoke + 136
18  AppKit                              0x00007fff7aa067f5 -[NSCell _sendActionFrom:] + 183
19  AppKit                              0x00007fff7aa47898 -[NSButtonCell _sendActionFrom:] + 97
20  AppKit                              0x00007fff7aa05053 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2438
21  AppKit                              0x00007fff7aa475e2 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 777
22  AppKit                              0x00007fff7aa03aee -[NSControl mouseDown:] + 965
23  AppKit                              0x00007fff7b0f4821 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 5891
24  AppKit                              0x00007fff7b0f1478 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 2359
25  AppKit                              0x00007fff7b0f0724 -[NSWindow(NSEventRouting) sendEvent:] + 497
26  AppKit                              0x00007fff7af5299b -[NSApplication(NSEvent) sendEvent:] + 307
27  AppKit                              0x00007fff7a7be409 -[NSApplication run] + 812
28  AppKit                              0x00007fff7a78d901 NSApplicationMain + 804
29  libdyld.dylib                       0x00007fffa4523639 start + 1
30  ???                                 0x0000000000000001 0x0 + 1

Comments (6)

  1. necktwi reporter

    almost with any srt but I remember I succeeded with one few weeks ago but I don't remember with which one exactly. I think its the issue with mp4 files rather with srt because I remember the one with which I succeeded is an old, small mp4. issue started when I recently downloaded latest subler.app

  2. Damiano Galassi repo owner

    I can't reproduce it, anyway I added some more checks that will be in the next version.

  3. Log in to comment