After opening a ticket for this issue:
In our case there was the problem of invalid network masks in 'tbl_subnet' and 'tbl_dev table' (both in databse config_db).
For example, our database contained network mask values of 0.0.80.242 (which is not a valid netmask of course).
You can check that by executing a sql query on the config_db database like this one:
select * from tbl_dev where dev_ip_mask like '0.%';
If this query lists any devices, then you should delete these devices and rediscover them.
(You could also manipulate the wrong entries direct via sql, but beware of side-effects)
Also check tbl_subnet for wrong entries:
select * from tbl_subnet where subnet_mask like '0.%';
there is a change that these or another bad entries will eventually reappear after deleting them: This issue seems to be related with uncomplete/corrupted SNMP-queries to these devices...
Hope this will help you...
Regards,
Helmut