The problem is with a uid or flags which is NULL - the strings passed in are 0x0 pointers, and the parsing code appears to barf.
The problem is with a uid or flags which is NULL - the strings passed in are 0x0 pointers, and the parsing code appears to barf.