SAP Knowledge Base Article - Preview

3196149 - Failed to Upload CSV via Backoffice - DefaultFileUploadEditor

Symptom

When uploading CSV file via Backoffice DefaultFileUploadEditor, it fails with "Internal Server Error".

Below error logs are observed: 

ERROR [hybrisHTTP24] [UiEngineImpl]
java.lang.IllegalStateException: Use getStringData() instead
at org.zkoss.util.media.AMedia.newIllegalStateException(AMedia.java:358) ~[zcommon-8.6.3.jar:8.6.3]
at org.zkoss.util.media.AMedia.getByteData(AMedia.java:313) ~[zcommon-8.6.3.jar:8.6.3]
at com.hybris.cockpitng.editor.defaultfileupload.DefaultFileUploadEditor$1.onEvent(DefaultFileUploadEditor.java:78) ~[cockpit-standard-editors-21.05.3-RC3.jar:?]
at com.hybris.cockpitng.editor.defaultfileupload.DefaultFileUploadEditor$1.onEvent(DefaultFileUploadEditor.java:67) ~[cockpit-standard-editors-21.05.3-RC3.jar:?]

 "Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


Read more...

Environment

  • SAP COMMERCE CLOUD 1905.0 - 1905.41
  • SAP COMMERCE CLOUD 2005.0 - 2005.25
  • SAP COMMERCE CLOUD 2011.0 - 2011.20
  • SAP COMMERCE CLOUD 2105.0 - 2105.10

Product

SAP Commerce Cloud 1905 ; SAP Commerce Cloud 2005 ; SAP Commerce Cloud 2011 ; SAP Commerce Cloud 2105

Keywords

upload csv file, upload file, defaultfileupload, dndfileupload, bakcoffice, internal server error, IllegalStateException , KBA , CEC-SCC-CDM-BO-FRW , Framework , CEC-COM-ADM-BO , Backoffice , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.