This is a product error. My recommendations:
- Ensure you have the latest hotfix release for your product installed. If not, install it, then try again.
- If that doesn't fix the problem, you should update to the current product release (2.3 Update 2).
- If necessary, raise a support incident with Micro Focus Customer Care. I recommend trying the two previous steps first, though, since this issue may well already have been resolved. (There have been numerous fixes to managed-code generation since the initial release of 2.2.)