Skip to content

Commit ca45a9b

Browse files
committed
Merged PR 5925461: Fixes testcase.LogUri is null before run cases
Fixes testcase.LogUri is null before run cases
1 parent 711c1e8 commit ca45a9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ProtocolTestManager/UI/RunPage.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ private void SelectedCaseChanged()
564564
{
565565
// testcase could be null because logger.RunningTestCase could be null.
566566
// So add check here to avoid null reference exception.
567-
if (testcase != null)
567+
if (testcase != null && testcase.LogUri != null)
568568
{
569569
var logUri = testcase.LogUri;
570570
if (logUri.AbsolutePath.Length >= 255)

0 commit comments

Comments
 (0)