The judge in the Derrick Rose rape trail just warned that he may declare a mistrial in the case -- over allegations the accuser's team did NOT turn over text messages that could help the NBA star.
The judge just ripped the accuser's attorney in court -- demanding the accuser prove she made an effort to turn over ALL of the text messages that were relevant to the case.
Rose's lawyer claims she purposefully withheld certain texts that may prove the sex in question was consensual ... and not rape.
The judge warned the accuser, "This is not a trivial matter.