This project has moved and is read-only. For the latest updates, please go here.

When x12parser fails, it crashes

Jun 4, 2012 at 4:39 PM

Thanks for this amazing project!

I am currently calling x12parser via command line and when it hits a malformed file it fails, as would be expected.

However, it crashes and I get a 'OopFactory.X12.X12Parser has stopped working' error and am forced to select the 'Close the program' button.

I am currently trying to build out an automated solution and so this is requiring manual intervention.

Using Win7.

Don't suppose anyone has any thoughts?

Jun 4, 2012 at 5:29 PM

Put the relevant code that's in the console app inside your code and put exception handling around it.

 

Jun 4, 2012 at 5:39 PM

Thanks, that's a thought. 

I was able to work around it by forcing it to run as hidden window with a defined timeout period.


Thanks!