Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I get this error in our applications:
ERROR Lecoati.LeBlender.Extension.Helper - [Thread 16] Could not read Expriration datas
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Lecoati.LeBlender.Extension.Helper.GetCacheExpiration(String LeBlenderEditorAlias)
I think the problem might be if the "Cache period" field is empty.
You are right, there is an issue about the cache period reading and a terrible tipo as well :). I will fixed that !
I have just uploaded LeBlender 1.0.6 with this bug fixed.
Thanks for your feedback.
Thank you, but error is still logged :-(.
I deleted the umbraco.config and saved all LeBlender Editors.
Is it because the DLL has still version 1.0.5?
Hi Calvin, ok I will check that again.Thanks
This time, I fixed it for real :), check v1.0.7
It works! Thank you :-).
Happy to hear that :)
Can it be that this problem is back?
We are using version 220.127.116.11 and our logs are full of the same error:
"Message": "Object reference not set to an instance of an object.",
"StackTrace": " at Lecoati.LeBlender.Extension.Helper.GetCacheExpiration(String LeBlenderEditorAlias)",
Edit: This seems to be a problem on our end. We have our frontservers set up as virtualapplications under another site and to get leblender to work with this we have added a "~" before the leblender views that are automatically set for grideditors. This means that when GetCacheExpiration in leblender trys to find only leblender grideditors it find nothing(due to exact match against /App_Plugins/LeBlender/editors/leblendereditor/LeBlendereditor.htm) and that makes the method go BOOM.
We are getting same issue as we virtual applications as well with ~ like you.
Did you ever fix this?
Yes we took the project source and built our own binaries. If i dont remeber incorrectly there is a method that check if a editor is a leblendereditor by matching it against a path. We just changed it to look for the path with or without the ~ in the beginning. And while we were at it I thing we also changed so that all new editors created with leblender are crated with ~in the beginning so we dont have to change it manully in the grideditor config for each new editor.
Im just thinking in our grid.editors.config.js where we have ~ if we were to replace it with /cms/App_Plugins/ and ~/views with /cms/views that would solve the problem?
Problably not, the View would still be treated as a "non"leblender editor and the error will still persist as leblender cant identify it as one of it own.
You can se what i mean here(Look at method GetLeblenderEditors and line 119-120):
Ah yes. I have just updated that so using custom leblender hopefully that should fix up the issue.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted