The value returned by the Java™ access function cannot be assigned to the return item because of a type mismatch.
Change the program logic to use a return item of an appropriate type.