天蓬老师2017-04-18 10:15:41
You try not to save the file and directly use ParseFromString to see if it can be parsed successfully. Could it be that the binary data changed during the transmission process, but the Java parsing was successful, which is strange. You can also ask the server to write files, and then compare the size with the file you wrote. See if it's the same.
I googled this exception, please refer to https://groups.google.com/for...