Crash on many Android devices

Hi ,
After collecting more crash reports, I’ve seen that many devices are crashing because of my GetDeviceID function. It looks like Unreal or OS gives a null value from a function that I used in this.

Apparently a null check will be enough here, but by doing so I won’t be able to get unique device id. I think this I should open a topic in java forums instead of here. But, a valid device ID getter would be very fine in Unreal Engine, such as blueprint node or C++ function.

Crash report: ZeroBin.net

Relative code inside MyBlueprintFunctionLibrary.cpp ZeroBin.net

Relative code inside MyBlueprintFunctionLibrary.cpp, as a picture: