The former barrister sued the state for at least $800,000 in damages over claims she was groomed by police to become a human source in late 2005.
Also known as 'Lawyer X', she claimed police exploited her vulnerabilities and distress due to close ties to gangland figures, including Tony Mokbel, by offering her protection, support and promises to protect her identity in exchange for information on her gangland clients.
But her cover was blown in March 2019 when she was exposed as 'Informer 3838' and 'Lawyer X'.
Justice Melinda Richards on Friday dismissed Ms Gobbo's lawsuit as she handed down her judgment in Victoria's Supreme Court.
She said once Ms Gobbo decided to become an informer "exposure was an inherent risk".
"So the state can't be held liable.Therefore it is unnecessary to assess damages," she said.
Ms Gobbo was registered three times as a police informer in the 1990s to mid-2000s, when she gave handlers information about underworld figures.
During the judge-alone trial, her lawyers said their client suffered psychological injury since her double identity was exposed.
She was forced into the witness protection program with her two children and her depression worsened as they moved overseas for their safety.
The state has fought each of Ms Gobbo's claims, arguing she voluntarily became an informer and she could have left the role at any time.
During the trial, Ms Gobbo gave evidence by video live stream from a secret location with her image hidden inside the court to protect her new identity.
Ms Gobbo signed the bar roll at 25, becoming the youngest woman in the state to do so, and quickly found herself representing gangland clients, including the Mokbel family and Carl Williams' clan.
A royal commission found her position as both an informer and a barrister could have affected more than 1000 convictions.
Former clients Tony Mokbel, Faruk Orman and Zlate Cvetanovski have successfully had convictions overturned since her role was uncovered in March 2019.
Ms Gobbo has been ordered to pay the costs for the state.
In 2010, Ms Gobbo sued Victoria Police, claiming they failed to protect her as a witness and settled out of court for almost $3 million.