<blockquote type="cite" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><div>Hi~</div><div><br></div><div>I want to use the custom app "hijacker" in ndnSIM, so I modify the code of ndn-tree-app-delay-tracer.cc.</div>
<div><br></div><div>Basically I replace codes:</div><div><div> ndn::AppHelper producerHelper ("ns3::ndn::Producer");</div><div> producerHelper.SetAttribute ("PayloadSize", StringValue("1024")); </div>
<div><br></div><div>using: </div><div> ndn::AppHelper producerHelper ("Hijacker");</div></div><div><br></div><div><br></div><div>However, when I run ndn-tree-app-delay-trace, it prompts the error messages:</div>
<div><br></div><div><b>assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName: Hijacker not found", file=../src/core/model/type-id.cc, line=419</b></div><div><b>terminate called without an active exception</b></div>
<div><b><br></b></div><div><b>Command ['/home/chengyu/ndnSIM/ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-tree-app-delay-tracer-debug', '100'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").</b></div>
<div><br></div><div>Does anybody know what the problem is?</div><div><br></div><div>Thanks,</div><div>Chengyu</div></blockquote>