ns2 失败并显示“调用类 $cls 时出错:$args”$...”

问题描述

我正在尝试模拟黑洞攻击,但它总是失败并出现以下错误。 但是,它可以在默认的 aodv tcl 文件上成功运行。

我尝试查看其他答案,但它们似乎有更长、更有意义的回溯。什么可能导致这种情况?

INITIALIZE THE LIST xListHead
ns: _o171 blackhole: 
    (_o171 cmd line 1)
    invoked from within
"_o171 cmd blackhole"
    invoked from within
"catch "$self cmd $args" ret"
    invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
    (procedure "_o171" line 2)
    (SplitObject unknown line 2)
    invoked from within
"_o171 blackhole"```



解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)