[ndnSIM] Error getting node index (GetContext)

Mateus Sousa mateus.aluufc at gmail.com
Thu Oct 5 09:25:34 PDT 2017

Hi all,

I'm facing a problem to retrieve the current node index in forwarding
class. Sometimes it works, sometimes it doesn't and returns the following
error message:

assert failed. cond="n < m_nodes.size ()", msg="Node index 4294967295 is
out of range (only have 4 nodes).", file=../src/network/model/node-list.cc,
terminate called without an active exception

I'm calling this function in 'MulticastStrategy::afterReceiveInterest'
(ns3::Simulator::GetContext()). Can someone explain this?

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20171005/e7d95584/attachment.html>

More information about the ndnSIM mailing list