Sonar codesmells issue

Hi All,
As you have seen in the attachment when i click on 20 codesmells it shows no major and minor issues.The page is completely blank instead of showing those 20 major and minor issues.
After deleting some rows from snapshots table of sonar database ,it started showing all major and minor issues whatever i had.Can anyone please guide me why this is happening and how i should avoid it.

!