The commission is nearing the end of a year-long investigation into what caused the financial crisis , and how to prevent a future one .