Hi,

I encountered an error while running the following command. Has anyone 
experienced the same issue, and how did you resolve it? Thank you in 
advance for your help.  

Command:
/dspace/bin/dspace dsrun org.dspace.app.batch.ItemImportMainOA -E 
<admin@email>

Error:
main==> Tue Nov 25 11:12:11 HKT 2025 - Start IMP_RECORD Framework

main==> LEGENDA:
 -a to build item
 -r to update (add also the metadata list with the option
 -m it will contains the list of metadata to clean, by default delete all 
metadata otherwise specifying only the dc.title it will obtain an append on 
the other metadata)
 -b to invert the management of deletion or append of the bitstream (by 
default append on the item standard and remove on the update)
 -d to delete item.
 Status change:
 -p send submission back to workspace
 -w send submission through collection's workflow
 -g set item in withdrawn state
 -i to verbose the script
 -z reinstate a withdrawn item

main==> --> Record: pj00001 ...
parameters: -o item_id operation_flag -e submitter -c collection -i id 
record change_status_flag -E batchjob -I imp_id -m clear metadata
main==> values: -a -e 7a87e31d-80f3-40a9-ae0b-99b7d5be09dd -c 
c9b5dde7-c8b3-487a-960c-72824ca50be3 -i pj00001 -R null -z -E 
[email protected] -I 1
Destination collections:
Owning  Collection: null
main==> ID: 1 Record id: pj00001 imported: ERROR 
:org.hibernate.exception.DataException: Could not extract column [17] from 
JDBC ResultSet [Bad value for type long : pj00001] [n/a]
main==> --> Record: pj00002 ...
parameters: -o item_id operation_flag -e submitter -c collection -i id 
record change_status_flag -E batchjob -I imp_id -m clear metadata
main==> values: -a -e 7a87e31d-80f3-40a9-ae0b-99b7d5be09dd -c 
c9b5dde7-c8b3-487a-960c-72824ca50be3 -i pj00002 -R null -z -E 
[email protected] -I 2
Destination collections:
Owning  Collection: null
main==> ID: 2 Record id: pj00002 imported: ERROR 
:org.hibernate.exception.DataException: Could not extract column [17] from 
JDBC ResultSet [Bad value for type long : pj00002] [n/a]
main==> --> Record: pj00004 ...
parameters: -o item_id operation_flag -e submitter -c collection -i id 
record change_status_flag -E batchjob -I imp_id -m clear metadata
main==> values: -a -e 7a87e31d-80f3-40a9-ae0b-99b7d5be09dd -c 
c9b5dde7-c8b3-487a-960c-72824ca50be3 -i pj00004 -R INTERNAL-SUBMISSION -z 
-E [email protected] -I 3
Destination collections:
Owning  Collection: null
main==> ID: 3 Record id: pj00004 imported: ERROR 
:org.hibernate.exception.DataException: Could not extract column [17] from 
JDBC ResultSet [Bad value for type long : Contextual Analysis of Chinese 
Language Teachers' Judgment On Student Writing and Exploratory Study in 
Hong Kong] [n/a]

Regards,
Cyrus

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/dspace-tech/9b28a112-d798-4871-8c42-49e723395e27n%40googlegroups.com.

Reply via email to