Loadrunner Flex Protocol code generation error

I am using Flex protocol for one of my application.I added necessary jar files for parsing and chosen flex and web protocol in vugen recording options.The application has 25 screens which will take almost 30 mins for recording.After I done with my recording am getting "Failed to parse xml error::Flex remoting Object" pop-up.Due to this my code generation has aborted and am not able to see any script.
Please help me with your inputs to resolve this error.