Problem in standart script methods

by Mr. Dmytro Petryk (2012-01-27) in group We Love BPM

Hello!

In my script, I need to remove objects from model and database, which are connected to specified objects(start and end events in BPMN) . For this I use standart metods getConnectedObjs () and Delete() and i receive following error 

Anyone knows how to fix it? Thanks in advance