[Tinyos-help] Compile Error

Anuradha Eragani aeragani at uno.edu
Tue Oct 3 17:46:33 PDT 2006


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20061003/8ea66831/attachment.html


More information about the Tinyos-help mailing list