NPE fixes
Merge branch 'ricadi' of https://github.com/smartcampuslab/comuneintasca into ricadi