This issue may be caused by a code conflict issue. Sometimes it can happen in environment basis, for this case please talk to a developer to debug and know the root cause. Please provide more information to help us better answer your questions, such as the business scenario of the code in your question, and if there are any errors when compiling the code.
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.