Blank Page is displaying while running particular content itemSystem XML exception for rendering after upgradeCreateCyclePreventer throwing NullReferenceException with final rendering detailsThe model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel' but this dictionary requires a model item of type
Is there any difference between Т34ВМ1 and КМ1858ВМ1/3?
Can White Castle?
`-` in tar xzf -
How would modern naval warfare have to have developed differently for battleships to still be relevant in the 21st century?
How can I get my left hand to sound legato when I'm leaping?
Trainee keeps passing deadlines for independent learning
How can lift be less than thrust that is less than weight?
Primes and SemiPrimes in Binary
Helping ease my back pain by studying 13 hours everyday , even weekends
Loss of power when I remove item from the outlet
Music theory behind A chord in the key of G
Hit the Bulls Eye with T in the Center
Why does cooking oatmeal starting with cold milk make it creamy?
Can a rogue use Sneak Attack in a Darkness spell cast by another player?
What can I do with a research project that is my university’s intellectual property?
Why haven't Cardassians taken DS9 (Terok Nor) with them while withdrawing from Bajor?
Am I legally required to provide a (GPL licensed) source code even after a project is abandoned?
Shooting someone's past self using special relativity
What is the highest voltage from the power supply a Raspberry Pi 3 B can handle without getting damaged?
Number of solutions mod p and Betti numbers
UK - Working without a contract. I resign and guy wants to sue me
Is "Busen" just the area between the breasts?
How to maintain a closed environment for one person for a long period of time
Count All Possible Unique Combinations of Letters in a Word
Blank Page is displaying while running particular content item
System XML exception for rendering after upgradeCreateCyclePreventer throwing NullReferenceException with final rendering detailsThe model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel' but this dictionary requires a model item of type
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
One specific content item is not rendering, showing blank page.
When we check log found below exception:
Exception: System.InvalidOperationException
Message: The Sitecore.Client.ContentDatabase is null.
Source: Sitecore.Kernel
at Sitecore.Client.get_ContentDatabase()
at Sitecore.Layouts.RenderingReference.ParseRules(XmlNode configNode, RenderingItem renderingItem)
at Sitecore.Layouts.RenderingReference.ParseSettings(XmlNode configNode)
at Sitecore.Mvc.Analytics.Pipelines.Response.CustomizeRendering.CustomizeRenderingProcessor.GetRenderingReference(Rendering rendering, Language language, Database database)
at Sitecore.Mvc.Analytics.Pipelines.Response.CustomizeRendering.Personalize.Evaluate(CustomizeRenderingArgs args)
at (Object , Object[] )
at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)
at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)
at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs,TResult](String pipelineName, TArgs args, Func `2 resultGetter)
at Sitecore.Mvc.Analytics.Pipelines.Response.GetRenderer.CustomizeRendering.Process(GetRendererArgs args)
at (Object , Object[] )
at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)
at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)
at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs,TResult](String pipelineName, TArgs args, Func`2 resultGetter)
at Sitecore.Mvc.Presentation.Rendering.GetRenderer()
at Sitecore.Mvc.Presentation.Rendering.get_Renderer()
at Sitecore.Mvc.Presentation.Rendering.ToString()
at Sitecore.Mvc.Pipelines.Response.RenderRendering.InitializeProfiling.StartProfiling(RenderRenderingArgs args)
at Sitecore.Mvc.Pipelines.Response.RenderRendering.InitializeProfiling.Process(RenderRenderingArgs args)
at (Object , Object[] )
at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)
at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)
at Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args)
at (Object , Object[] )
at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)
at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)
at Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName)
Any suggestion to figure out this issue.
presentation
add a comment |
One specific content item is not rendering, showing blank page.
When we check log found below exception:
Exception: System.InvalidOperationException
Message: The Sitecore.Client.ContentDatabase is null.
Source: Sitecore.Kernel
at Sitecore.Client.get_ContentDatabase()
at Sitecore.Layouts.RenderingReference.ParseRules(XmlNode configNode, RenderingItem renderingItem)
at Sitecore.Layouts.RenderingReference.ParseSettings(XmlNode configNode)
at Sitecore.Mvc.Analytics.Pipelines.Response.CustomizeRendering.CustomizeRenderingProcessor.GetRenderingReference(Rendering rendering, Language language, Database database)
at Sitecore.Mvc.Analytics.Pipelines.Response.CustomizeRendering.Personalize.Evaluate(CustomizeRenderingArgs args)
at (Object , Object[] )
at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)
at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)
at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs,TResult](String pipelineName, TArgs args, Func `2 resultGetter)
at Sitecore.Mvc.Analytics.Pipelines.Response.GetRenderer.CustomizeRendering.Process(GetRendererArgs args)
at (Object , Object[] )
at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)
at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)
at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs,TResult](String pipelineName, TArgs args, Func`2 resultGetter)
at Sitecore.Mvc.Presentation.Rendering.GetRenderer()
at Sitecore.Mvc.Presentation.Rendering.get_Renderer()
at Sitecore.Mvc.Presentation.Rendering.ToString()
at Sitecore.Mvc.Pipelines.Response.RenderRendering.InitializeProfiling.StartProfiling(RenderRenderingArgs args)
at Sitecore.Mvc.Pipelines.Response.RenderRendering.InitializeProfiling.Process(RenderRenderingArgs args)
at (Object , Object[] )
at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)
at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)
at Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args)
at (Object , Object[] )
at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)
at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)
at Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName)
Any suggestion to figure out this issue.
presentation
There seems to be something wrong with one of your renderings (or a rule on a rendering). Try removing them one by one to figure out which one..
– Gatogordo
Jun 4 at 9:10
add a comment |
One specific content item is not rendering, showing blank page.
When we check log found below exception:
Exception: System.InvalidOperationException
Message: The Sitecore.Client.ContentDatabase is null.
Source: Sitecore.Kernel
at Sitecore.Client.get_ContentDatabase()
at Sitecore.Layouts.RenderingReference.ParseRules(XmlNode configNode, RenderingItem renderingItem)
at Sitecore.Layouts.RenderingReference.ParseSettings(XmlNode configNode)
at Sitecore.Mvc.Analytics.Pipelines.Response.CustomizeRendering.CustomizeRenderingProcessor.GetRenderingReference(Rendering rendering, Language language, Database database)
at Sitecore.Mvc.Analytics.Pipelines.Response.CustomizeRendering.Personalize.Evaluate(CustomizeRenderingArgs args)
at (Object , Object[] )
at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)
at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)
at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs,TResult](String pipelineName, TArgs args, Func `2 resultGetter)
at Sitecore.Mvc.Analytics.Pipelines.Response.GetRenderer.CustomizeRendering.Process(GetRendererArgs args)
at (Object , Object[] )
at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)
at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)
at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs,TResult](String pipelineName, TArgs args, Func`2 resultGetter)
at Sitecore.Mvc.Presentation.Rendering.GetRenderer()
at Sitecore.Mvc.Presentation.Rendering.get_Renderer()
at Sitecore.Mvc.Presentation.Rendering.ToString()
at Sitecore.Mvc.Pipelines.Response.RenderRendering.InitializeProfiling.StartProfiling(RenderRenderingArgs args)
at Sitecore.Mvc.Pipelines.Response.RenderRendering.InitializeProfiling.Process(RenderRenderingArgs args)
at (Object , Object[] )
at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)
at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)
at Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args)
at (Object , Object[] )
at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)
at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)
at Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName)
Any suggestion to figure out this issue.
presentation
One specific content item is not rendering, showing blank page.
When we check log found below exception:
Exception: System.InvalidOperationException
Message: The Sitecore.Client.ContentDatabase is null.
Source: Sitecore.Kernel
at Sitecore.Client.get_ContentDatabase()
at Sitecore.Layouts.RenderingReference.ParseRules(XmlNode configNode, RenderingItem renderingItem)
at Sitecore.Layouts.RenderingReference.ParseSettings(XmlNode configNode)
at Sitecore.Mvc.Analytics.Pipelines.Response.CustomizeRendering.CustomizeRenderingProcessor.GetRenderingReference(Rendering rendering, Language language, Database database)
at Sitecore.Mvc.Analytics.Pipelines.Response.CustomizeRendering.Personalize.Evaluate(CustomizeRenderingArgs args)
at (Object , Object[] )
at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)
at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)
at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs,TResult](String pipelineName, TArgs args, Func `2 resultGetter)
at Sitecore.Mvc.Analytics.Pipelines.Response.GetRenderer.CustomizeRendering.Process(GetRendererArgs args)
at (Object , Object[] )
at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)
at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)
at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs,TResult](String pipelineName, TArgs args, Func`2 resultGetter)
at Sitecore.Mvc.Presentation.Rendering.GetRenderer()
at Sitecore.Mvc.Presentation.Rendering.get_Renderer()
at Sitecore.Mvc.Presentation.Rendering.ToString()
at Sitecore.Mvc.Pipelines.Response.RenderRendering.InitializeProfiling.StartProfiling(RenderRenderingArgs args)
at Sitecore.Mvc.Pipelines.Response.RenderRendering.InitializeProfiling.Process(RenderRenderingArgs args)
at (Object , Object[] )
at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)
at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)
at Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args)
at (Object , Object[] )
at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)
at Sitecore.Mvc.Pipelines.PipelineService.RunPipeline[TArgs](String pipelineName, TArgs args)
at Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName)
Any suggestion to figure out this issue.
presentation
presentation
edited Jun 4 at 9:06
Marek Musielak
12.9k11338
12.9k11338
asked Jun 4 at 9:05
Abhishek MalaviyaAbhishek Malaviya
9011217
9011217
There seems to be something wrong with one of your renderings (or a rule on a rendering). Try removing them one by one to figure out which one..
– Gatogordo
Jun 4 at 9:10
add a comment |
There seems to be something wrong with one of your renderings (or a rule on a rendering). Try removing them one by one to figure out which one..
– Gatogordo
Jun 4 at 9:10
There seems to be something wrong with one of your renderings (or a rule on a rendering). Try removing them one by one to figure out which one..
– Gatogordo
Jun 4 at 9:10
There seems to be something wrong with one of your renderings (or a rule on a rendering). Try removing them one by one to figure out which one..
– Gatogordo
Jun 4 at 9:10
add a comment |
2 Answers
2
active
oldest
votes
ParseRules
method uses this code to pass proper database to RuleFactory
:
renderingItem != null ? renderingItem.Database : Client.ContentDatabase
If it tries to pass Client.ContentDatabase
(that's in your exception stack trace) it means that renderingItem
is null.
So it looks like either one of the renderings which was added to presentation details of that page no longer exists or maybe it was not published to web
database yet.
Check the presentation details of the page in master
database first. See which of the renderings has some rules assigned. Then switch to web
database. Check if that rendering is also in the web
database.
If none of the components has rules assigned, check all the renderings if all of their definitions are present in web
database.
add a comment |
Just for explaining exact fix. This issue was due to newly added renderings were not published to web
DB.
Once publish required renderings, content item started showing proper content.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "664"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsitecore.stackexchange.com%2fquestions%2f19150%2fblank-page-is-displaying-while-running-particular-content-item%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
ParseRules
method uses this code to pass proper database to RuleFactory
:
renderingItem != null ? renderingItem.Database : Client.ContentDatabase
If it tries to pass Client.ContentDatabase
(that's in your exception stack trace) it means that renderingItem
is null.
So it looks like either one of the renderings which was added to presentation details of that page no longer exists or maybe it was not published to web
database yet.
Check the presentation details of the page in master
database first. See which of the renderings has some rules assigned. Then switch to web
database. Check if that rendering is also in the web
database.
If none of the components has rules assigned, check all the renderings if all of their definitions are present in web
database.
add a comment |
ParseRules
method uses this code to pass proper database to RuleFactory
:
renderingItem != null ? renderingItem.Database : Client.ContentDatabase
If it tries to pass Client.ContentDatabase
(that's in your exception stack trace) it means that renderingItem
is null.
So it looks like either one of the renderings which was added to presentation details of that page no longer exists or maybe it was not published to web
database yet.
Check the presentation details of the page in master
database first. See which of the renderings has some rules assigned. Then switch to web
database. Check if that rendering is also in the web
database.
If none of the components has rules assigned, check all the renderings if all of their definitions are present in web
database.
add a comment |
ParseRules
method uses this code to pass proper database to RuleFactory
:
renderingItem != null ? renderingItem.Database : Client.ContentDatabase
If it tries to pass Client.ContentDatabase
(that's in your exception stack trace) it means that renderingItem
is null.
So it looks like either one of the renderings which was added to presentation details of that page no longer exists or maybe it was not published to web
database yet.
Check the presentation details of the page in master
database first. See which of the renderings has some rules assigned. Then switch to web
database. Check if that rendering is also in the web
database.
If none of the components has rules assigned, check all the renderings if all of their definitions are present in web
database.
ParseRules
method uses this code to pass proper database to RuleFactory
:
renderingItem != null ? renderingItem.Database : Client.ContentDatabase
If it tries to pass Client.ContentDatabase
(that's in your exception stack trace) it means that renderingItem
is null.
So it looks like either one of the renderings which was added to presentation details of that page no longer exists or maybe it was not published to web
database yet.
Check the presentation details of the page in master
database first. See which of the renderings has some rules assigned. Then switch to web
database. Check if that rendering is also in the web
database.
If none of the components has rules assigned, check all the renderings if all of their definitions are present in web
database.
answered Jun 4 at 9:12
Marek MusielakMarek Musielak
12.9k11338
12.9k11338
add a comment |
add a comment |
Just for explaining exact fix. This issue was due to newly added renderings were not published to web
DB.
Once publish required renderings, content item started showing proper content.
add a comment |
Just for explaining exact fix. This issue was due to newly added renderings were not published to web
DB.
Once publish required renderings, content item started showing proper content.
add a comment |
Just for explaining exact fix. This issue was due to newly added renderings were not published to web
DB.
Once publish required renderings, content item started showing proper content.
Just for explaining exact fix. This issue was due to newly added renderings were not published to web
DB.
Once publish required renderings, content item started showing proper content.
answered Jun 4 at 9:27
Abhishek MalaviyaAbhishek Malaviya
9011217
9011217
add a comment |
add a comment |
Thanks for contributing an answer to Sitecore Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsitecore.stackexchange.com%2fquestions%2f19150%2fblank-page-is-displaying-while-running-particular-content-item%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
There seems to be something wrong with one of your renderings (or a rule on a rendering). Try removing them one by one to figure out which one..
– Gatogordo
Jun 4 at 9:10