The Buffer tool fails and returns "Error 999999" if the End Type and Side Type parameters are set to FLAT and FULL respectively, when the input data is made up of certain curved features with certain angles.
Generate the buffer using the RIGHT and LEFT side types of the features separately rather than using the FULL side type. Then, merge and dissolve the two outputs to create FULL buffers.