2

I am working on Sitecore JSS and created a sample application. When I am trying access with the new hostname, configured in the app patch file, I got below error.

35472 12:00:27 ERROR Failed to render rendering
Exception: System.MissingMethodException
Message: Method not found: 'System.String Sitecore.JavaScriptServices.ViewEngine.Pipelines.GetRenderEngineFactory.GetRenderEngineFactoryArgs.get_RenderEngineType()'.
Source: Sitecore.JavaScriptServices.ViewEngine.Http
   at Sitecore.JavaScriptServices.ViewEngine.Http.Pipelines.GetRenderEngineFactory.GetHttpEngineFactory.Process(GetRenderEngineFactoryArgs 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.JavaScriptServices.ViewEngine.Pipelines.GetRenderEngineFactory.GetRenderEngineFactoryPipeline.GetFactory(GetRenderEngineFactoryArgs args)
   at Sitecore.JavaScriptServices.ViewEngine.Presentation.JssRenderer.ResolveRenderEngine()
   at Sitecore.JavaScriptServices.ViewEngine.Presentation.JssRenderer.Render(TextWriter writer)
   at Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args)

Method name prefixed with "get_" is something not common. I decompiled the dll Sitecore.JavaScriptServices.ViewEngine and Sitecore.JavaScriptServices.ViewEngine.Http and I do find where it is being called but not found the implementation of this method. Not sure, from where this method request is coming from.

Any clue?

  • When you see get_RenderEngineType, it means that RenderEngineType { get { ... } } property is called – Marek Musielak Nov 21 at 15:27
  • Thanks for the quick response, but i even didn't find the said method in class GetRenderEngineFactoryArgs and even in base class PipelineArgs. – Arvind Gehlot Nov 21 at 15:35
  • Can you share the app config? – Hishaam Namooya Nov 21 at 16:33
  • Its a default app config what we are getting from nuget package for jss react native. – Arvind Gehlot Nov 22 at 11:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.