From e953590f6fbe180866b31f4468ae7cf37907eb56 Mon Sep 17 00:00:00 2001
From: terry-norbraten <tnorb@comcast.net>
Date: Sat, 25 Sep 2021 16:34:06 -0700
Subject: [PATCH] [Terry N.] fix NPE after PduRecorder refactoring

---
 test/edu/nps/moves/dis7/AllPduRoundTripTest.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/edu/nps/moves/dis7/AllPduRoundTripTest.java b/test/edu/nps/moves/dis7/AllPduRoundTripTest.java
index a98057ecdf..a4e34f37fc 100644
--- a/test/edu/nps/moves/dis7/AllPduRoundTripTest.java
+++ b/test/edu/nps/moves/dis7/AllPduRoundTripTest.java
@@ -177,6 +177,8 @@ public class AllPduRoundTripTest
   
     private void setupSenderRecorder() throws Exception {
         pduRecorder = new PduRecorder(); // default network address, port, logfile dir
+        pduRecorder.setDescriptor(this.getClass().getName() + "unit test");
+        pduRecorder.start();
         disNetworkInterface = pduRecorder.getDisThreadedNetworkInterface();
 
         // When the DisThreadedNetworkInterface receives a pdu, a call is made to the
-- 
GitLab