Skip to content
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

Fatal Exception: NSInvalidArgumentException #39

Closed
daylen opened this issue Jan 5, 2018 · 3 comments
Closed

Fatal Exception: NSInvalidArgumentException #39

daylen opened this issue Jan 5, 2018 · 3 comments
Labels

Comments

@daylen
Copy link
Owner

daylen commented Jan 5, 2018

http://crashes.to/s/621a2458908

We are getting the following exception:

Fatal Exception: NSInvalidArgumentException
*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil

with the following stack trace

Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0x7fff361feff3 (Missing)
1  libobjc.A.dylib                0x7fff5cdd9c76 (Missing)
2  CoreFoundation                 0x7fff36240514 (Missing)
3  CoreFoundation                 0x7fff3611d200 (Missing)
4  Stockfish                      0x10f78550a +[SFMParser parseToken:fromNode:position:] (SFMParser.m:87)
5  Stockfish                      0x10f78520b +[SFMParser parseString:fromNode:position:] (SFMParser.m:71)
6  Stockfish                      0x10f785077 +[SFMParser parseMoveText:position:] (SFMParser.m:63)
7  Stockfish                      0x10f774b02 -[SFMChessGame parseMoveText:] (SFMChessGame.m:77)
8  Stockfish                      0x10f777ebe -[SFMWindowController loadGameAtIndex:] (SFMWindowController.m:217)
9  Stockfish                      0x10f777c33 -[SFMWindowController windowDidLoad] (SFMWindowController.m:201)

Seems to be related to the new variations support.

@daylen daylen added the bug label Jan 5, 2018
@daylen
Copy link
Owner Author

daylen commented Jan 5, 2018

cc @adriang133

@adriang133
Copy link
Contributor

There was an issue with move annotation offsetting some ranges, see #44

@daylen
Copy link
Owner Author

daylen commented Jan 9, 2018

Closing because #44 is merged.

@daylen daylen closed this as completed Jan 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants