BOSTON (AP) — An investigation has found a rash of problems at a Massachusetts drug lab that was closed after a chemist admitted faking test results in criminal cases, throwing the state's legal system into turmoil.

The report released Tuesday by Massachusetts' inspector general found that although chemist Annie Dookhan was the "sole bad actor" at the lab, management failures, "wholly inadequate training," and a lack of uniform protocols contributed to her ability to commit "acts of malfeasance."

Dookhan is serving a prison term of up to five years after pleading guilty to charges including obstruction of justice.

In 2012, state police shut down the Department of Public Health lab where Dookhan worked after discovering the extent of her misconduct.

Courts have been flooded by thousands of requests for new trials and dismissals.