Copied to clipboard

Flag this post as spam?

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


  • Sheppe Pharis 43 posts 139 karma points
    Feb 04, 2013 @ 19:00
    Sheppe Pharis
    0

    PDCalendar GenerateDates exception as of February 2013

    Hello,

    I updated the binaries, per http://our.umbraco.org/projects/website-utilities/pdcalendar/pdcalendar/28435-Start-date-in-February-2012-causing-Error-parsing-XSLT, and that fixed the problem for a couple of days, but now I'm receiving the following exception again:

    Object reference not set to an instance of an object.
      at System.Xml.XmlNode.RemoveChild(XmlNode oldChild)
      at System.Xml.XmlNode.RemoveAll()
      at System.Xml.XmlDocument.Load(XmlReader reader)
      at System.Xml.XmlDocument.LoadXml(String xml)
      at PDCalendar.library.(String , String )  at PDCalendar.library.GenerateDates(String _start, String _end, String _alias)

    I hope we'll see a patch for this very soon.

    Thanks,

    -Sheppe

  • Sheppe Pharis 43 posts 139 karma points
    Feb 04, 2013 @ 23:17
    Sheppe Pharis
    0

    And now the error has stopped with no changes being made. Not sure what's going on....

  • Sheppe Pharis 43 posts 139 karma points
    Feb 07, 2013 @ 00:01
    Sheppe Pharis
    0

    Well, it seems to have fixed itself, so this can be disregarded for now.

  • Pete Naylor 21 posts 39 karma points
    Mar 26, 2013 @ 15:43
    Pete Naylor
    0

    I'm also getting this same error. It seems to occur randomly every few weeks. Recycling the app pool or touching the web.config seems to fix the problem. I wish I knew what was causing it.

  • Digby 23 posts 43 karma points
    Mar 28, 2014 @ 11:10
    Digby
    0

    We are getting the same error on occassion which clears sometimes.

    With some testing we have found 

    This works

    <xsl:variable name="messages" select="pdcalendar:GenerateDates('2014-03-13T00:00:00','2014-08-00T00:00:00','event')" />

    Note the end date day is set to 00

    It also works if you change this to the number of days of the month + 1 ! i.e. 2014-08-32

    This is using the latest dll

    Thank you for any help with this. 

  • Digby 23 posts 43 karma points
    Mar 28, 2014 @ 11:22
    Digby
    0

    Update

    end dates for

    Jan 2014-01-31

    Feb 2014-02-28

    Mar 2014-03-31

    Apr 2014-04-30

    work correctly

    May to December crash with the correct end day

    How ever if you only generate dates for 1 month.. seems ok. 

     

     

     

     

     

Please Sign in or register to post replies

Write your reply to:

Draft