-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not run the 'getMediaStream' when indexing #69
Comments
That's an interesting one, it seems to be trying to read the image data during indexing. Would you be able to see if you have any custom computed index fields, such as a custom PDF indexer for example? |
We do have a computed field that reads PDF files with PDF box and returns the content. |
Can you give me some steps to reproduce? I'll probably need code for the computed field. |
Hi @markgibbons25 ,
16324 09:14:51 ERROR Could not run the 'getMediaStream' pipeline for '/sitecore/media library/Files/Data Sheet Source/EN/Linear Actuator-Baselift-Data Sheet-Eng'. Original media data will be used. If i download the file from Sitecore it opens with no problems, so i imagine it's not caused by corrupt files. |
This is about the last thing i need to fix for our clients upgrade process to 9.3, i hope you can give a clue of to why this happens, i would like to use this cool module for the images. |
Thanks for the steps to reproduce, I was able to do so and find and fix the issue. |
Could you tell us the solution you found? |
Sitecore 9.3 / Dianoga version 5.0, getting a bunch of these errors when indexing:
564 12:24:52 ERROR Could not run the 'getMediaStream' pipeline for ''. Original media data will be used.
Exception: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: Dianoga
at Dianoga.Invokers.GetMediaStreamSync.OptimizeImage.Process(GetMediaStreamPipelineArgs args)
at (Object , Object )
at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)
at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)
at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)
at Sitecore.Resources.Media.Media.GetStreamFromPipeline(MediaOptions options, Boolean& canBeCached)
Any suggestions?
The text was updated successfully, but these errors were encountered: