Probably 0 or -1 or -32000 was written as page number to database for given file.
It is bug, if it is so. But is it that big problem to modify the file name or move it to different location? Untill it is fixed.
One could probably fix it by hand, but you would have to know where is the database and what is the structure of it.