Skip to content
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

unable to register action for SCS Editing Context #66

Open
markgibbons25 opened this issue Nov 19, 2020 · 1 comment
Open

unable to register action for SCS Editing Context #66

markgibbons25 opened this issue Nov 19, 2020 · 1 comment

Comments

@markgibbons25
Copy link

Seeing this a fair bit in the CM logs

9968 05:55:06 WARN unable to register action for SCS Editing Context
Exception: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: Rainbow.Storage.Sc
at Rainbow.Storage.Sc.ItemData.get_DatabaseName()
at SitecoreSidekick.ContentTree.ContentTreeNode.Initialize(IItemData item, Boolean open)
at ScsEditingContext.TypeContentTreeNode..ctor(IItemData item)
at ScsEditingContext.Pipelines.HttpRequestBegin.RegisterEvent.<>c.b__2_0(IItemData x)
at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() at System.Linq.Buffer1..ctor(IEnumerable1 source) at System.Linq.OrderedEnumerable1.d__1.MoveNext()
at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at ScsEditingContext.Pipelines.HttpRequestBegin.RegisterEvent.Process(HttpRequestArgs args)

Would be good to know what causes this and if there is a problem?
If there's no problem then can we change the log level or disable this warning somehow?

@JeffDarchuk
Copy link
Owner

looking at the stack trace, I'd guess it happens in the rare occurrence of the pipeline running without a valid context database. It's certainly not a serious problem, but should be taken care of none-the-less. Thanks for reporting it, i'll make sure the fix is in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants