Fixes ArrayIndexOutOfBoundsException in the dashboard when the dashboardWidgets user setting is corrupted and is empty.
Merge branch 'release/2.2'