FileInfo parameter error

I ran into an error message and I did not find anything in the forum:

FileInfo parameter error
Offset + image size > file length

I’m trying to run a jython script from an ImageJ macro. I wondered if this problem was due to some incompatibilities between a plugin (Register_Virtual_Stack_MT) and batch mode.
Could someone explain to me what is the offset? Is there a way to avoid this issue?