[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ANTS DANTE



Hi, Timothy.

I am a graduate student at ISI. I have been trying the
Dante application in ants 2.0.3 for a couple of days
and had problems when running the "dante.start" under the
"scripts" directory of the release. It looks that Dante
is not stable: sometimes it worked for around 1 minute;
sometimes it died soon after being launched. The followings
are sample exceptions when running Dante:

1. server's exceptions

DanteServer: Allocated address: 18.31.12.1
Exception in thread Thread[Packet Processor for
ants.dante.DanteServer,5,main] (runnable = ants.core.AppBooster$1@20cc)
Thread blew up with:null
java.lang.NullPointerException
        at ants.core.NeighborOutChannel.setNeighbor(NeighborOutChannel.java:74)
        at ants.core.NeighborOutChannel.<init>(NeighborOutChannel.java:61)
        at ants.core.Node.getOutChannel(Node.java:314)
        at ants.core.Node.getOutChannel(Node.java:289)
        at ants.core.Node.sendToNeighbor(Node.java:576)
        at ants.dante.DanteServer.receive(DanteServer.java:163)
        at ants.core.AppBooster.processPacket(AppBooster.java:194)
        at ants.core.AppBooster.access$000(AppBooster.java:54)
        at ants.core.AppBooster$1.run(AppBooster.java:143)
        at edu.utah.janos.nodeos.pj_Thread$ThreadWrapper.run(pj_Thread.java:87
DanteServer: Edge node returning: 18.31.12.1
Exception in thread Thread[Another Underappreciated Thread,5,main]
(runnable = ants.dante.DanteServer[node=Node[a=18.31.12.255]; ttl=64;
port=14])
Thread blew up with:null
java.lang.NullPointerException
        at ants.core.Node.remOutChannel(Node.java:334)
        at ants.core.NeighborTable.removeNeighbor(NeighborTable.java:425)
        at ants.dante.DanteServer.returnAddress(DanteServer.java:252)
        at ants.dante.DanteServer.run(DanteServer.java:280)
        at edu.utah.janos.nodeos.pj_Thread$ThreadWrapper.run(pj_Thread.java:87)


2. client's exception

Staring DANTE client thread: core node: 18.31.12.255 (if/ipv4/udp ;
*:18004:localhost)
   Client node physical address is  (if/ipv4/udp ; *:18007:localhost)
Sending DANTE 'join' message
DANTE response received; setting address: 18.31.12.1
Sending DANTE 'refresh' message
Sending DANTE 'refresh' message
Sending DANTE 'refresh' message
Sending DANTE 'refresh' message
Sending DANTE 'refresh' message
Sending DANTE 'refresh' message
Sending DANTE 'refresh' message
Sending DANTE 'refresh' message
Sending DANTE 'refresh' message
Sending DANTE 'refresh' message
Sending DANTE 'refresh' message
Sending DANTE 'refresh' message
Sending DANTE 'refresh' message
Sending DANTE 'refresh' message
Sending DANTE 'refresh' message
Sending DANTE 'refresh' message
Exception in thread Thread[Dante Client Thread,5,main] (runnable =
ants.dante.DanteClient[node=Node[a=18.31.12.1]; ttl=64; port=15])
Thread blew up with:null
java.lang.NullPointerException
        at ants.core.NeighborOutChannel.setNeighbor(NeighborOutChannel.java:74)
        at ants.core.Node.getOutChannel(Node.java:316)
        at ants.core.Node.getOutChannel(Node.java:289)
        at ants.core.Node.sendToNeighbor(Node.java:576)
        at ants.dante.DanteCapsule.evaluate(DanteCapsule.java:107)
        at ants.core.Node.send(Node.java:401)
        at ants.dante.DanteClient.run(DanteClient.java:348)
        at edu.utah.janos.nodeos.pj_Thread$ThreadWrapper.run(pj_Thread.java:87)


3. another example of client exception

DanteClient adding tunnel to: 18.31.12.255 (via if/ipv4/udp ;
*:18004:localhost)
Staring DANTE client thread: core node: 18.31.12.255 (if/ipv4/udp ;
*:18004:localhost)
   Client node physical address is  (if/ipv4/udp ; *:18006:localhost)
Sending DANTE 'join' message
DANTE response received; setting address: 18.31.12.2
Sending DANTE 'refresh' message
Sending DANTE 'refresh' message
Sending DANTE 'refresh' message
Exception in thread Thread[Dante Client Thread,5,main] (runnable =
ants.dante.DanteClient[node=Node[a=18.31.12.2]; ttl=64; port=15])
Thread blew up with:null
java.lang.NullPointerException
        at ants.core.NeighborOutChannel.setNeighbor(NeighborOutChannel.java:74)
        at ants.core.Node.getOutChannel(Node.java:316)
        at ants.core.Node.getOutChannel(Node.java:289)
        at ants.core.Node.sendToNeighbor(Node.java:576)
        at ants.dante.DanteCapsule.evaluate(DanteCapsule.java:107)
        at ants.core.Node.send(Node.java:401)
        at ants.dante.DanteClient.run(DanteClient.java:348)
        at edu.utah.janos.nodeos.pj_Thread$ThreadWrapper.run(pj_Thread.java:87)
Exception starting new mid in Domain[name=Protocol
ants.route.DynamicRouteProtocol;objid=0x76c74b]: null
java.lang.NullPointerException
        at ants.core.NeighborOutChannel.setNeighbor(NeighborOutChannel.java:74)
        at ants.core.Node.getOutChannel(Node.java:316)
        at ants.core.Node.getOutChannel(Node.java:289)
        at ants.core.Node.sendToNeighbor(Node.java:576)
        at ants.route.DynamicRouteCapsule.evaluate(DynamicRouteCapsule.java:160)
        at ants.core.ProtocolBooster.dispatch(ProtocolBooster.java:271)
        at ants.core.ProtocolBooster.msgLoop(ProtocolBooster.java:163)
        at ants.core.ProtocolBooster.access$000(ProtocolBooster.java:58)
        at ants.core.ProtocolBooster$1.run(ProtocolBooster.java:142)
        at edu.utah.janos.nodeos.pj_Thread$ThreadWrapper.run(pj_Thread.java:87)

I also tried the ants version in the ants CVS repository and the
excpetions insists.


Regards,

--Yu




[ Janos ] [ OSKit ] [ Network Testbed ] [ Flick ] [ Fluke ]
Flux Research Group / Department of Computer Science / University of Utah