Thomas,
The problem of UID invalid is always the same one: a null pointer.
You must debug your program with Eclipse.
Ask google for Eclipse + debug + ns-2.
You will find some tutorials to debug an ns-2 protocol on Eclipse.
Okay, you must know for now:
if you is sending a packet to transport
Hi NS-2 people,
This is a useful FAQ about NS-2:
http://web.syr.edu/~dchen02/FAQ.txt
I propose to include all Q&A in the NS-2 Wiki.
--
Sidney Doria
Redes ad hoc móveis
Mestrado em Computação
UFCG
Brasil
"Nessa jornada, o conhecimento será o seu escudo..."
(Mestre dos Magos no episódio do grim