Judge Hugh O'Donnell ordered Lawless to donate €600 to the Laura Lynn Hospice and he struck out the charges, leaving the defendant without a conviction.
The defendant, of Weaver's Hall in Clonsilla, admitted before Blanchardstown District Court to public drunkenness and threatening and abusive behaviour.
The incident took place at Main Street in Blanchardstown shortly after 2am on December 9 last.
Garda Sergeant Maria Callaghan said gardai were flagged down by a taxi driver who couldn't wake up a passenger.
Sgt Callaghan said Lawless was woken up by gardai.
He was drunk and verbally abusive and he tried to assault an officer.
The court heard he has never been in trouble before.
Defence lawyer Jennifer Jackson said Lawless was absolutely mortified by his behaviour, and he has no recollection of the incident.
Ms Jackson said Lawless is a qualified accountant and he also lectures part-time at the Dublin Business School.
She said he wished to apologise to the gardai for his behaviour, adding that it will not happen again.
Judge McDonnell ordered Lawless to donate €600 to the Laura Lynn Hospice and he struck out the charges.