I believe this means that jasper complains that the two reports where compiled as different versions. Be sure that you compile all reports with the same compiler.
How did you tell the main report the full path of the subreport?
(I'm having a problem here myself: how to tell jasper where to take the subreports from when it fills a report)
Cheers, Lukas