Dec 19 12:20:55 RiMac.local xa EEIOS.debug[52239]: Runtime Error
Please report what caused this error along with the information below.
Common/ObjectGlue.cpp: 168
Failure Condition: mClassPtr
Xojo.Core.BadDataException
Well the Feedback case was rejected with the explanation that there was no image in the database field.
Good! So it ok to get a dataexception.
Anyway my solution is:
Dim data As MemoryBlock
data = vehicleRS.Field("pic").NativeValue
if data.size <> 0 then
c.pic = iOSImage.FromData(vehicleRS.Field("pic").NativeValue)
end if