How can I map the owner attribute for Entitlement in IdentityIQ using rule editor in Bean shell?

Here is my scripting:

> import sailpoint.object.QueryOptions;
> import sailpoint.object.Identity;
> import java.util.*;
> import sailpoint.api.*;
> import java.util.ArrayList;
> import java.util.Iterator;
> import java.util.List;
> import sailpoint.object.*
> 
> //Find the owner with null
> 
> identify owner = null;
> 
> // Set/declare the "spadmin" Identity's owner attribute 
> 
> String ownerAttribute  = " ";
> 
> //When all of the owner info in the subgroup are null, default to spadmin.
> 
> if (owner == null) {
>    log.info("onwer")  
>    return "spadmin";
> 
> }

Get the error of exception

Exception during aggregation of CN=Active Directory Engineering,OU=Privileged,OU=Groups,DC=DOD,DC=CIC,DC=HOV. Reason: BeanShell script error: bsh.ParseException: Parse error at line 11, column 1. Encountered: String BSF info: AdminOwnerRule at line: 0 column: columnNo