Source Code Export process aborts with a fatal error

Task 1 (Application Source Code Export) is aborted with a fatal error "The memory cannot be "read"", or "Failure in exporting XML file".

Cause: The fatal error occurs when the PowerBuilder source code contains corrupt object(s) that cannot be opened in PowerBuilder, or object(s) that are not fully upgraded to PowerBuilder 9 or later format.

Solution: Remove or modify the problematic object(s) from the PowerBuilder application by following the instructions in How to locate problematic objects in an application, and perform the Application Source Code Export again.