In recent cases, the appellate courts have granted habeas actions for misleading information in plea negotiations. However, if the public defender told you the probation period was 2 years, you were standing in front of the judge as he/she pronounced sentence and might have been able to withdraw the plea. In addition, even if a jury found you not guilty, you would always have an arrest on your record. It can't hurt to file a habeas action, however, they are very difficult to win. Some questions such as the length of time between the plea and the present are important to determine whether or not to spend the money to re-open the case. Good luck.