Either of the following should fix the immediate problem:
set aRev to first revision of activeDoc
or
set theRevs to the revisions of activeDoc
set aRev to the first item of theRevs
(I thought that the following should work, but right now I have forgotten why not)
set aRev to the first item of (revisions of activeDoc)