VISTA, Calif. (AP) -- An actor who appeared in "The 40-Year-Old Virgin" has been ordered to stand trial in the stabbing of his ex-girlfriend. A Superior Court judge ruled Wednesday that enough evidence exists to try Shelley Malil on premeditated attempted murder and other charges. Malil is accused of stabbing Kendra Beebe 23 times last August in her backyard in San Diego County. A district attorney's investigator says Beebe told her she knew Malil for about a year but ended the relationship when he became "very possessive and jealous." Prosecutors say Malil could face life in prison if convicted of all charges. Malil played a co-worker, Haziz, to comedian Steve Carell's title character in "The 40-Year-Old Virgin."