The XmpArray constructor expects one of the constant values.
Not the literal string "UNORDERED".
Change your instantiation code from this
subject =
CreateObject("java","com.lowagie.text.xml.xmp.XmpArray").init("UNORDERED");
To this
XmpArray =
CreateObject("java","com.lowagie.text.xml.xmp.XmpArray");
subject = XmpArray.init(XmpArray.UNORDERED);