Listen to Jennifer Lopez on iHeartRadio

She didn't know it, but Jennifer Lopez had a house guest for a week while she was away from her Southampton, New York home. 

Police say 49-year old John Dubis of Rhode Island was apparently living in the star's pool house. 

"Newsday" reports that Lopez had a restraining order against Dubis, but he went undetected until workers noticed a suspicious man on the property earlier this month and called police. 

Dubis was charged with second-degree burglary, first-degree criminal contempt, fourth-degree stalking and possession of burglar tools. 

He's due back in court on August 28th. 

Photo Credit Getty Images & Splash News