[Tinyos-help] Compile Error
Michael Schippling
schip at santafe.edu
Tue Oct 3 19:29:25 PDT 2006
I believe you got warnings from a TOS compile,
but the error is from a Java program that seems
to be at a much higher level. Just my opinion...
Can you look at line 77 of PluginManager.java?
MS
Anuradha Eragani wrote:
> 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
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
More information about the Tinyos-help
mailing list