Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Calvin Frei 106 posts 314 karma points
    May 22, 2015 @ 11:20
    Calvin Frei
    0

    Could not read Expriration datas

    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.

  • Antoine 176 posts 1494 karma points
    May 25, 2015 @ 09:27
    Antoine
    0

    Hi Calvin, 

    You are right, there is an issue about the cache period reading and a terrible tipo as well :). I will fixed that !

    Thanks

  • Antoine 176 posts 1494 karma points
    May 26, 2015 @ 10:35
    Antoine
    0

    Hello Calvin, 

    I have just uploaded LeBlender 1.0.6 with this bug fixed.

    Thanks for your feedback.

     

  • Calvin Frei 106 posts 314 karma points
    May 27, 2015 @ 10:06
    Calvin Frei
    0

    Hi Antoine

    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?

    Thank you

  • Antoine 176 posts 1494 karma points
    May 27, 2015 @ 20:56
    Antoine
    0

    Hi Calvin, ok I will check that again.Thanks

  • Antoine 176 posts 1494 karma points
    May 28, 2015 @ 10:33
    Antoine
    100

    Hello Calvin, 

    This time, I fixed it for real :), check v1.0.7

  • Calvin Frei 106 posts 314 karma points
    May 28, 2015 @ 15:29
    Calvin Frei
    0

    Hi Antoine

    It works! Thank you :-).

  • Antoine 176 posts 1494 karma points
    May 28, 2015 @ 16:05
    Antoine
    0

    Happy to hear that :)

  • Andreas Fallman 8 posts 88 karma points
    Feb 17, 2016 @ 14:25
    Andreas Fallman
    0

    Can it be that this problem is back?

    We are using version 1.0.8.3 and our logs are full of the same error:

    "exception": { "Type": "System.NullReferenceException", "Message": "Object reference not set to an instance of an object.", "HelpLink": null, "Source": "Lecoati.LeBlender.Extension", "HResult": -2147467261, "StackTrace": " at Lecoati.LeBlender.Extension.Helper.GetCacheExpiration(String LeBlenderEditorAlias)", "Data": {}, "InnerException": null }

    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.

  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Apr 08, 2016 @ 11:11
    Ismail Mayat
    0

    Andreas,

    We are getting same issue as we virtual applications as well with ~ like you.

    Did you ever fix this?

    Regards

    Ismail

  • Andreas Fallman 8 posts 88 karma points
    Apr 11, 2016 @ 06:34
    Andreas Fallman
    0

    Hi Ismail,

    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.

    best regards Andreas

  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Apr 11, 2016 @ 09:56
    Ismail Mayat
    0

    Andreas,

    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?

    Regards

    Ismail

  • Andreas Fallman 8 posts 88 karma points
    Apr 11, 2016 @ 11:13
    Andreas Fallman
    0

    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): https://github.com/Lecoati/LeBlender/blob/master/Src/Lecoati.LeBlender.Extension/LeBlenderHelper.cs

  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Apr 11, 2016 @ 11:40
    Ismail Mayat
    0

    Andreas,

    Ah yes. I have just updated that so using custom leblender hopefully that should fix up the issue.

    Regards

    Ismail

Please Sign in or register to post replies

Write your reply to:

Draft