I created a menu for a deployed dashboard. When I click on it, I get this error: “Object reference not set to an instance of an object” .
I tried to clear the client cache from the settings (and from ProgramData\Epicor) but that did not help. I also tried to completely delete the dashboard and re-install it. Any ideas on how to solve that problem?
It errors first on the method “registerEvents”. The message is “Object reference not set to an instance of an object”. The second error is “Cannot access this menu item … Object reference not set to an instance of an object”.
Just to make the issue clear, there are no problems with the dashboard itself; I can run it in a test mode and I can also open it from the webaccess link.
if you launch the deployment test from the dashboard screen any errors there? Is there any tracker customization in the dashboard? Have you cleared personalizations for yourself?
Nothing special about the parent menu id. The security is set to the default one “SEC000”.
The dashboard’s menu was working before. It started erroring all of the sudden.
Normally when I get this error that means the menu is unable to locate the dashboard’s dll and it just needs to be deployed or the client cache needs to be cleaned up. This time it did not work.
We’ve run into similar issues in the past and the only solution was to make a copy of the dashboard with a new name (ie, UnpostedDemandsV2). It can be a bit painful when you have a customization tied to the old dashboard but thankfully you don’t
Changing the dashboard name bothers me but at least making a copy is a working solution. However, this issue will comeback as soon as you modify the dashboard again.