A NullReferenceException can occur when evaluating views if a test is not found in the cache

Fixed in

EPiServer.Marketing.Testing 2.5.6

Created

Feb 13, 2019

Updated

Apr 15, 2019

State

Closed, Fixed and tested


Description

If a test does not yet appear in the test cache, attempts to retrieve it when evaluating views will fail with a NullReferenceException. This results in exception messages appearing in the site's log.

Steps to reproduce

  • This is not an issue that we've been able to reproduce in development/testing environments. However, we were able to visually review the code to find potential areas where this issue could occur.