Access violation error on publish service
I am writeing a publish service and am getting the following error sometimes when in the process of making the images and uploading to the server.
(2144.212c): Access violation - code c0000005 (first chance)
All of lightroom locks up and I have to close the program with the task manager.
this happens while running the .processRenderedPhotos function
Here some sudocode of what I am doing
Contact Server and setup remote collection
Loop for each rendition
Start Task to process 4 different file sizes for server
Wait for task to finnish
Upload images to server
Add image to database on server
Next Image
Clean up
I am also getting the following error every time I use the "Success, ErrorMessage = Rendition:waitForRender()" function
(20b4.23bc): C++ EH exception - code e06d7363 (first chance)
The file makes ok, but I don't know if it is a problem?