Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

libc++abi.dylib: terminating with uncaught exception of type NSException #47

Open
liujieyuu opened this issue Oct 17, 2018 · 0 comments

Comments

@liujieyuu
Copy link

执行./GenerateSpamCode \

/Users/xxx/Documents/work/XXX
-deleteComments
提示:*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSRegularExpression enumerateMatchesInString:options:range:usingBlock:]: nil argument'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff51ec9571 __exceptionPreprocess + 256
1 libobjc.A.dylib 0x00007fff7de7aefb objc_exception_throw + 48
2 CoreFoundation 0x00007fff51ec93a3 +[NSException raise:format:] + 193
3 Foundation 0x00007fff541e50dc -[NSRegularExpression(NSMatching) enumerateMatchesInString:options:range:usingBlock:] + 223
4 Foundation 0x00007fff541e4feb -[NSRegularExpression(NSMatching) matchesInString:options:range:] + 146
5 GenerateSpamCode 0x00000001082eae56 regularReplacement + 502
6 GenerateSpamCode 0x00000001082ed8ba deleteComments + 794
7 GenerateSpamCode 0x00000001082ed7b0 deleteComments + 528
8 GenerateSpamCode 0x00000001082ed7b0 deleteComments + 528
9 GenerateSpamCode 0x00000001082ed7b0 deleteComments + 528
10 GenerateSpamCode 0x00000001082ed7b0 deleteComments + 528
11 GenerateSpamCode 0x00000001082ed7b0 deleteComments + 528
12 GenerateSpamCode 0x00000001082ed7b0 deleteComments + 528
13 GenerateSpamCode 0x00000001082ec2ef main + 3695
14 libdyld.dylib 0x00007fff7ef41085 start + 1
15 ??? 0x0000000000000003 0x0 + 3
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant