cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Media not found exception while triggering email

4,091

We are upgrading from hybris 6.x version to 1811, and observe that i get these media related exceptions thrown everytime there is a mail that needs to be triggered as part of process.

 ERROR () () [ActionNode] Error executing
 de.hybris.platform.servicelayer.media.NoDataAvailableException: de.hybris.platform.media.exceptions.MediaNotFoundException: Media not found (requested media location: h76/h76/8796189130782.bin)
         at de.hybris.platform.servicelayer.media.impl.DefaultMediaService.getStreamFromMedia(DefaultMediaService.java:282) ~[coreserver.jar:?]
         at de.hybris.platform.commons.renderer.impl.VelocityTemplateRenderer.render(VelocityTemplateRenderer.java:71) ~[classes/:?]
         at de.hybris.platform.commons.renderer.impl.DefaultRendererService.render(DefaultRendererService.java:46) ~[classes/:?]
         at de.hybris.platform.commons.renderer.impl.DefaultRendererService.render(DefaultRendererService.java:75) ~[classes/:?]
         at de.hybris.platform.acceleratorservices.document.factory.impl.AbstractHybrisVelocityContextFactory.renderTemplate(AbstractHybrisVelocityContextFactory.java:149) ~[classes/:?]
         
         Caused by: java.io.FileNotFoundException: D:\1811\hybris\data\media\sys_master\h76\h76\8796189130782.bin (The system cannot find the path specified)

During migration, media folder needs to be copied to the newer version. But even after trying this I was consistently getting these errors. Could you please guide me on the right track. Any help will be appreciated !

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Please check the impexes related to this email , run those impexes , it will refresh vm. so that media will be available which it is trying to find.

Former Member
0 Kudos

Hi Anoop,

Already I loaded those email Impex through HAC but still, i'm facing the same issue. Is there any alternate way to fix this issue.