You need to sign in to do that
Don't have an account?
Matthew VanderMeer 10
System.NullPointerException: Attempt to de-reference a null object: (CHANNEL_ORDERS)
Hello,
Our users are not able to set up MFA because they cannot modify their user profile to add a mobile phone number. As a system admin, I am able to modify users and my own profile, when the users login they are prompted to add their mobile phone number to configure MFA but when they try to do so they get an error. They also get an error when clicking their avatar and attempt to update their setting. They are getting a System.NullPointerException from a userTrigger in the Channel_Orders name space. Since the trigger is managed I cannot do any further debugging since the logs do not provide me any additional detail.
I have been able to capture the following error:
Error: Invalid Data.
Review all error messages below to correct your data.
Apex trigger CHANNEL_ORDERS.UsersTrigger caused an unexpected exception, contact your administrator: CHANNEL_ORDERS.UsersTrigger: execution of BeforeUpdatecaused by: System.NullPointerException: Attempt to de-reference a null object: (CHANNEL_ORDERS)
Has any other ISV Partner encountered this?
Our users are not able to set up MFA because they cannot modify their user profile to add a mobile phone number. As a system admin, I am able to modify users and my own profile, when the users login they are prompted to add their mobile phone number to configure MFA but when they try to do so they get an error. They also get an error when clicking their avatar and attempt to update their setting. They are getting a System.NullPointerException from a userTrigger in the Channel_Orders name space. Since the trigger is managed I cannot do any further debugging since the logs do not provide me any additional detail.
I have been able to capture the following error:
Error: Invalid Data.
Review all error messages below to correct your data.
Apex trigger CHANNEL_ORDERS.UsersTrigger caused an unexpected exception, contact your administrator: CHANNEL_ORDERS.UsersTrigger: execution of BeforeUpdatecaused by: System.NullPointerException: Attempt to de-reference a null object: (CHANNEL_ORDERS)
Has any other ISV Partner encountered this?
Big thanks from me to Martin at Salesforce support, I have been fighting with both the org configuration and Salesforce support over the last several weeks until we found the right person to help.
All Answers
Get in touch with your ISV Partner and they can help you to enable debug logs on managed package and fixing the issue.
Thanks,
Big thanks from me to Martin at Salesforce support, I have been fighting with both the org configuration and Salesforce support over the last several weeks until we found the right person to help.