fixed possible NPE
fixed getHash() call with closed DB
Merge branch 'master' into beta
Merge branch 'beta' into beta-ics
Merge branch 'master' into ice-cream-sandwich
Merge branch 'ice-cream-sandwich' into beta-ics
Merge branch 'ice-cream-sandwich' into yota2
Merge branch 'beta-ics' into yotabeta
Merge branch 'yota2' into yotabeta