Applications Menu Missing

Today, I was experimenting with Ubuntu, when I noticed that my Applications menu in my panel had no contents, only Places and System. To restore it back, issue the following commands in the terminal.

1
rm /home/<your username>/.config/menus/applications.menu

This will remove your current configuration, and reset a new config. After that, your Applications menu should be restored back to default.