I dug deep and I find out that this is because I have some bad object_id and your algorithm marked them for new IDs. And there was a problem in function verifyObjectIds:
The problem is that you are using underscore prefix to mark IDs as invalid and pass them to rewrite new IDs. But you also use underscore to identify that it is not ID, but position of object in file:
Hi, I have a lot of maps and objects there. I have used nagvis for some years in version 1.6
I have recently upgraded to 1.9.24 and just when I view maps and do the first refrest I get this error:
I dug deep and I find out that this is because I have some bad object_id and your algorithm marked them for new IDs. And there was a problem in function verifyObjectIds:
original code:
new code:
The problem is that you are using underscore prefix to mark IDs as invalid and pass them to rewrite new IDs. But you also use underscore to identify that it is not ID, but position of object in file:
So this case definitely end up as corrupted maps file.