Unable to set property 'getRootMenu' of 'MenuBar'
I am getting this exception from sap's MenuBar.js line 6.
Any idea how to solve it?
I found that if you use a MenuItem
but do not put anything in its <submenu></submenu>
you get this error.
Therefore, at least while developing, please put
a dummy menu inside.