Copied to clipboard

Flag this post as spam?

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


  • Chris Wilson 100 posts 377 karma points
    Aug 12, 2015 @ 15:30
    Chris Wilson
    0

    Errors when using regex

    We have been happily using URL Tracker for a while now however we have finally had cause to use a regex redirect; this is producing some issues for us.

    Whenever we apply the following regex:

    ^.*\/section\/subsection.*$
    

    The whole site then errors. Removing this regex returns the site to normal.

    Upon checking the trace log it is flooded with the following:

    ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 79] An unhandled exception occurred System.NullReferenceException: Object reference not set to an instance of an object. at InfoCaster.Umbraco.UrlTracker.Modules.UrlTrackerModule.<>cDisplayClass19.14(UrlTrackerModel x) in d:\kipusoep\Documents\GitHub\UrlTracker\Modules\UrlTrackerModule.cs:line 491 at System.Linq.Enumerable.WhereListIterator1.MoveNext() at System.Linq.Buffer1..ctor(IEnumerable1 source) at System.Linq.OrderedEnumerable1.

    The error is rather nondescript; what should I be looking for?

    Kind regards, Chris

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Aug 13, 2015 @ 06:13
    Stefan Kip
    0

    Please use Github for bug reports etc.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies