cancel
Showing results for 
Search instead for 
Did you mean: 

Product-cockpit editorArea/listView XML files not found

Former Member
0 Kudos

In our custom productcockpit extension we define a couple of XML files for displaying a custom view for one of our user groups. This configuration takes effect and is visible but after a while these XML files (not the media object just the file) disappears from our drive. My log file does not contain any useful information before the event, the error itself you can see below. Is there someone who had a similar problem or who knows where to start looking?

 ERROR [Thread-738] [DefaultUIConfigurationService] Cannot create ui component configuration with code listViewContentBrowser: de.hybris.platform.media.exceptions.MediaNotFoundException: Media not found (requested media location: hf6/h78/8807681785886.xml)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 | de.hybris.platform.servicelayer.media.NoDataAvailableException: de.hybris.platform.media.exceptions.MediaNotFoundException: Media not found (requested media location: hf6/h78/8807681785886.xml)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at de.hybris.platform.servicelayer.media.impl.DefaultMediaService.getStreamFromMedia(DefaultMediaService.java:263)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at de.hybris.platform.cockpit.services.config.impl.DefaultUIConfigurationService.createComponentConfiguration(DefaultUIConfigurationService.java:448)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at de.hybris.platform.cockpit.services.config.impl.DefaultUIConfigurationService.getComponentConfiguration(DefaultUIConfigurationService.java:277)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at de.hybris.platform.cockpit.services.config.impl.DefaultUIConfigurationService.getComponentConfiguration(DefaultUIConfigurationService.java:357)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at de.hybris.platform.cockpit.model.listview.ListViewHelper.getListViewConfiguration(ListViewHelper.java:318)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at de.hybris.platform.cockpit.model.listview.ListViewHelper.loadListView(ListViewHelper.java:232)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at de.hybris.platform.cockpit.model.listview.ListViewHelper.loadListView(ListViewHelper.java:131)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at de.hybris.platform.cockpit.components.contentbrowser.MainAreaListviewBrowserComponent.loadListView(MainAreaListviewBrowserComponent.java:172)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at de.hybris.platform.cockpit.components.contentbrowser.MainAreaListviewBrowserComponent.createMainArea(MainAreaListviewBrowserComponent.java:133)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at de.hybris.platform.cockpit.components.contentbrowser.AbstractMainAreaBrowserComponent.initialize(AbstractMainAreaBrowserComponent.java:106)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at de.hybris.platform.cockpit.components.contentbrowser.DefaultAdvancedContentBrowser.initialize(DefaultAdvancedContentBrowser.java:258)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at de.hybris.platform.cockpit.components.contentbrowser.AbstractContentBrowser.setModel(AbstractContentBrowser.java:152)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at de.hybris.platform.cockpit.components.contentbrowser.DefaultAdvancedContentBrowser.setModel(DefaultAdvancedContentBrowser.java:79)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at de.hybris.platform.cockpit.components.contentbrowser.DefaultSearchContentBrowser.setModel(DefaultSearchContentBrowser.java:48)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at de.hybris.platform.cockpit.session.impl.AbstractBrowserArea.createBrowserView(AbstractBrowserArea.java:979)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at de.hybris.platform.cockpit.session.impl.AbstractBrowserArea.update(AbstractBrowserArea.java:557)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at de.hybris.platform.cockpit.session.impl.AbstractBrowserArea.initBrowsers(AbstractBrowserArea.java:419)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at de.hybris.platform.cockpit.components.contentbrowser.CenterAreaContainer$1.onEvent(CenterAreaContainer.java:42)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:197)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:141)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(EventProcessingThreadImpl.java:519)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.run(EventProcessingThreadImpl.java:446)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 | Caused by: de.hybris.platform.media.exceptions.MediaNotFoundException: Media not found (requested media location: hf6/h78/8807681785886.xml)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at de.hybris.platform.media.storage.impl.LocalFileMediaStorageStrategy.getAsStream(LocalFileMediaStorageStrategy.java:219)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at de.hybris.platform.jalo.media.MediaManager$1.getStream(MediaManager.java:154)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at de.hybris.platform.jalo.media.MediaManager.getMediaAsStream(MediaManager.java:370)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at de.hybris.platform.jalo.media.MediaManager.getMediaAsStream(MediaManager.java:386)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at de.hybris.platform.servicelayer.media.impl.DefaultMediaService.getStreamFromMedia(DefaultMediaService.java:259)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     ... 21 more
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 | Caused by: java.io.FileNotFoundException: /hybris/hybris/data/media/sys_master/hf6/h78/8807681785886.xml (No such file or directory)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at java.io.FileInputStream.open0(Native Method)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at java.io.FileInputStream.open(FileInputStream.java:195)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at java.io.FileInputStream.<init>(FileInputStream.java:138)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     at de.hybris.platform.media.storage.impl.LocalFileMediaStorageStrategy.getAsStream(LocalFileMediaStorageStrategy.java:215)
 INFO   | jvm 1    | main    | 2015/10/07 14:52:58.073 |     ... 25 more

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

We had a similar problem and we followed answer from this thread https://answers.sap.com/questions/12750579/change-in-image-folder-storage-strategy-from-defau.html , and the problem seems to be fixed.

Former Member
0 Kudos

i have the same problem, did you get any solution?

Former Member
0 Kudos

Nope, we still do a Hybris update everytime this error occurs.

former_member807427
Discoverer
0 Kudos

Thijs, still nothing?