Some times jasperstarter returns and the file size is 0 bytes. It seems that some process is running at background and finished the write process?
We have fixed this problem in our software by waiting 100ms after return of jasperstarter call.
linux / apache / php