Inspite of this compile error, (since they r a bunch of warnings) I went ahead and ran the application in the TOSSIM simulator using TinyViz and I’m getting NullPointerException. Does the warnings have anything to do with this exception??

 

SIM: Random seed is 125000

java -Dpython.cachedir=/tmp/jython.cache -DDBG=temp,usr1,am,led -DSIMDBG= net.tinyos.sim.SimDriver -gui

Starting SimDriver...

Simulation random seed 571874632

Initializing simulator objects...

Loading simulator plugins...

Exception in thread "main" java.lang.NullPointerException

        at net.tinyos.sim.PluginManager.register(PluginManager.java:77)

        at net.tinyos.sim.SimDriver.<init>(SimDriver.java:258)

        at net.tinyos.sim.SimDriver.main(SimDriver.java:539)

 

Commands used to run the application in TOSSIM:

 

export DBG=temp,usr1,am,led

/home/Anu/research/SendReceive/build/pc/main.exe -t=60 -gui 2 &

./tinyviz

 

 

Any idea why I would be getting this exception?? I looked at the PluginManager class but don’t know what is going on internally…..

 

Thanks

Anu

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to