2344964 - CSS Uploaded via CMSCOCKPIT Can't Be Recognized as Media | SAP Knowledge Base Article

SAP Knowledge Base Articles - preview

2344964 - CSS Uploaded via CMSCOCKPIT Can't Be Recognized as Media


In CMS cockpit , when try to uplpload a CSS with CMSImageComponent, the url is not generated. 

Console log shows following error:

ERROR [Thread-47] [UploadMediaSecondPageController] Could not execute 'finalizeWizard', reason:
java.lang.IllegalStateException: Use getStringData() instead
at org.zkoss.util.media.AMedia.newIllegalStateException(AMedia.java:319) ~[zcommon-3.6.4.jar:3.6.4]
at org.zkoss.util.media.AMedia.getStreamData(AMedia.java:303) ~[zcommon-3.6.4.jar:3.6.4]
at de.hybris.platform.cockpit.wizards.media.UploadMediaSecondPageController.createNewMedia(UploadMediaSecondPageController.java:96) ~[cockpitserver.jar:?]
at de.hybris.platform.cockpit.wizards.media.UploadMediaSecondPageController.done(UploadMediaSecondPageController.java:49) [cockpitserver.jar:?]
at de.hybris.platform.cockpit.wizards.Wizard.doDone(Wizard.java:530) [cockpitserver.jar:?]
at de.hybris.platform.cockpit.wizards.generic.GenericItemWizard.doDone(GenericItemWizard.java:680) [cockpitserver.jar:?]



SAP Hybris Commerce All Versions


SAP Hybris Commerce all versions


  • CSS upload
  • CMSImageComponent
  • StringData
  • StreamData
, KBA , CEC-COM-CPS-CKP , CPS Cockpits & hMC (SAP Hybris) , Problem

About this page

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

Search for additional results

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