Just got a crash from one of my customers:
2014-12-14, 23:38:15 --------------------------
2014-12-14, 23:38:15 An error happened:
2014-12-14, 23:38:15 Class/Method: V4RBPictureViewer.DrawAttachment
2014-12-14, 23:38:15 Time: Sunday, 14 December 2014 23:38:15 2585712
2014-12-14, 23:38:15 Type of Error: NSExceptionMBS
2014-12-14, 23:38:15 --------------------------
2014-12-14, 23:38:15 Stack:
2014-12-14, 23:38:15
Function PDFPageMBS.Render(double, int32, NSColorMBS) as NSImageMBS
The code isn't that complicated:
'some other code
ElseIf Right(DataName, 3) = "pdf" then
dim thePDF as new PDFDocumentMBS(data)
if thePDF <> nil then
dim thePDFPage as PDFPageMBS = thePDF.pageAtIndex(0)
dim theColor as NSColorMBS = NSColorMBS.whiteColor
if thePDFPage <> nil then
dim theImage as NSImageMBS = thePDFPage.Render(72.0, 0, theColor)
if theImage <> nil then DataPicture = theImage.CopyPicture
end if
end if
'and more code
Do you have any idea what might cause this?
Mit freundlichen Grüßen/Regards
Trixi Willius
http://www.mothsoftware.com
Mail Archiver X: The email archiving solution for professionals
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info