This defect is closed as non-reproducible as the steps/data needed to reproduce this issue are no longer available. If your client has a reproducible case on a supported configuration, please work with a Tech Assist to reopen and edit this defect.
解决办法
Add custom logic and error handling to detect when this operation throws the exception and, therefore, detect that the layer is invalid.