LOS ANGELES — A man arrested inside Sandra Bullock’s home has pleaded not guilty to stalking the Oscar-winning actress.

Joshua Corbett entered the plea Wednesday in a Los Angeles courtroom in his first court appearance after a judge determined last month that he should stand trial in the case.

The 39-year-old was arrested inside Bullock’s residence in June 2014. The “Gravity” star was forced to hide in her closet and directed police through her home in a 15-minute 911 call.

Authorities later found a cache of illegal weapons, including machine guns and an assault weapon at Corbett’s home.