Topic by Lage Antony
Content
Hi guys,
I am new to Java.
I'm trying to use Java to create a custom object record and attach a file to it. i have given the code in the below section. I was able to create the custom object record, but when i tried to attach a csv file, its giving me an error like below
file Attach:
Database Statistics
Database | Metric | Select | Insert | Update | Delete | Other |
----------+----------+--------------+--------------+--------------+--------------+--------------+
Primary | Queries | | | | | | | Rows |0 | | |
Replica | Queries | | | | | | | Rows |0 | | |
OutOfBand| Queries | | | | | | | Rows |0 | | |
Production| Queries | | | | | | | Rows |0 | | |
*******************************************************************************
Fatal signal '11' received, current errno=11
-- Call Stack ----------------------------------------
#0 in validateFileAttachment at CustomUtil.cpp:183
#1 in PropertyFileAttachmentData::iapiCopyTo at v1_3/FileAttachmentData_v1_3.cpp:124
#2 in ConnectObject::iapi_copy_to at ConnectObject.cpp:772
#3 in ConnectObject::property_walk at ConnectObject.cpp:543
#4 in ConnectObject::propertyWalk at ConnectObject.cpp:620
#5 in ConnectObject::iapiCopyTo at ConnectObject.cpp:999
#6 in FileAttachment::iapiCopyTo at v1_3/FileAttachment_v1_3.cpp:276
#7 in PropertyObjectDeltaList::iapiCopyTo at PropertyArray.cpp:1221
#8 in ConnectObject::iapi_copy_to at ConnectObject.cpp:772
#9 in ConnectObject::property_walk at ConnectObject.cpp:543
#10 in ConnectObject::propertyWalk at ConnectObject.cpp:620
#11 in ConnectObject::iapiCopyTo at ConnectObject.cpp:999
#12 in CBOPrimary::iapiCopyTo at v1_3/CBO_v1_3.cpp:247
#13 in ObjectStore::add at ObjectStore.cpp:511
#14 in RNONamedID::save at RNONamedID.cpp:273
#15 in RNObject::save at v1_3/RNObject_v1_3.cpp:415
#16 in process_Post at crest_Post.cpp:37
#17 in process_Property at crest_rest.cpp:149
#18 in connect_papi at crest_rest.cpp:728
*******************************************************************************
Thanks