Re: [Tinyos-help] why tinyviz flash and disappear

2006-08-28 Thread Zhao Stephen

Thanks for your reply. Now I can see the tinyviz GUI.
But I met another strange problem. I perform DBG=usr1, tinyviz -run
main 30 as lesson 5. After I click play button, nothing can be seen
in Debug messages tab. Why?

2006/8/25, Firat TARAKTAS [EMAIL PROTECTED]:

just open task manager and end main.exe task . Then restart tinyviz. It is
the problem that i faced and i encountered by doing that.



Firat TaraktasFirat TARAKTAS GENETLAB BILGI TEKNOLOJILERI A.S. Kayisdagi
Caddesi Kar Plaza D Blok Kat:3 34752 Içerenköy / Istanbul Tel: +90 (216) 573
00 85 | 354 Fax:+90 (216) 469 85 07 [EMAIL PROTECTED]
www.genetlab.com
- Original Message -
From: Zhao Stephen [EMAIL PROTECTED]
To: tinyos-help@Millennium.Berkeley.EDU
Sent: Friday, August 25, 2006 12:09 PM
Subject: [Tinyos-help] why tinyviz flash and disappear


 Dear all,
 I perform tinyviz for tossim according to lesson 5 in TOS tutorial.
 But the GUI of tinyviz disappear soon after a flash. I am puzzled.
 the following is the screen output.

 [EMAIL PROTECTED] /opt/tinyos-1.x/apps/blink/build/pc
 $ tinyviz -run main 1
 java -Dpython.cachedir=/tmp/jython.cache -DDBG= -DSIMDBG= -jar
 C:/Progra~1/cygwi
 n/opt/tinyos-1.x/tools/java/net/tinyos/sim/simdriver.jar -gui -run main 1
 Starting SimDriver...
 Simulation random seed 1445117131
 Initializing simulator objects...
 Could not find a platform specific version of TOSMsg
 java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
 java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
at java.net.URLClassLoader+1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:279)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:155)
at
 net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.ja
 va:122)
at
 net.tinyos.message.MessageFactory.createTOSMsg(MessageFactory.java:44
 )
at net.tinyos.sim.SimCommands.init(SimCommands.java:64)
at net.tinyos.sim.SimDriver.init(SimDriver.java:244)
at net.tinyos.sim.SimDriver.main(SimDriver.java:539)
 Loading simulator plugins...
 Creating TinyViz GUI...
 Could not find a platform specific version of TOSMsg
 java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
 java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
at java.net.URLClassLoader+1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:279)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:155)
at
 net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.ja
 va:122)SF enabled, 0 clients, 0 packets read, 0 packets written
at
 net.tinyos.message.MessageFactory.createTOSMsg(MessageFactory.java:36

at
 net.tinyos.packet.BrokenPacketizer.init(BrokenPacketizer.java:58)
at
 net.tinyos.sim.packet.TossimSource.init(TossimSource.java:44)SF ena
 bled, 0 clients, 0 packets read, 0 packets written
at
 net.tinyos.sim.packet.TossimSerialSource.init(TossimSerialSource.ja
 va:32)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)

at
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
 orAccessorImpl.java:39)
at
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
 onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:415)
at
 net.tinyos.packet.BuildSource.makeTossimSource(BuildSource.java:509)
at
 net.tinyos.packet.BuildSource.makeTossimSerial(BuildSource.java:478)
at
 net.tinyos.packet.BuildSource.makeArgsTossimSerial(BuildSource.java:4
 69)
at
 net.tinyos.packet.BuildSource.makePacketSource(BuildSource.java:151)
at net.tinyos.packet.BuildSource.makePhoenix(BuildSource.java:87)
at net.tinyos.sf.SFListen.run(SFListen.java:83)
 Could not find a platform specific version of TOSMsg
 java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
 java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
at java.net.URLClassLoader+1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native

Re: [Tinyos-help] why tinyviz flash and disappear

2006-08-28 Thread Firat TARAKTAS
Just observe the status bar while opening tinyviz. It can give connection 
to simulator failed error. If it is like that,  add three lines in 
net/tinyos/sim/MakeFile. It may be helpful.



# This is ugly. The only way to embed a jar file inside another is to
# unpack it and repack them together into a single flat file.
jarfile: plugins/plugins.list
@echo Creating simdriver.jar...
(cd $(ROOT); \
 jar cmf net/tinyos/sim/simdriver.manifest \
 net/tinyos/sim/simdriver-tmp.jar \
 net/tinyos/sim/*.class  \
 net/tinyos/sim/event/*.class\
 net/tinyos/sim/lossy/*.class\
 net/tinyos/sim/msg/*.class  \
 net/tinyos/sim/packet/*.class   \
 net/tinyos/sim/plugins/*.class  \
 net/tinyos/sim/script/*.class   \
   net/tinyos/sim/script/reflect/*.class   \
   net/tinyos/sim/ui   \
   net/tinyos/sim/plugins/plugins.list \
   net/tinyos/sf/*.class   \
   net/tinyos/util/*.class \
   net/tinyos/packet/*.class   \
   net/tinyos/packet/avrmote/*.class   \ # ADD THESE 
LINES
   net/tinyos/packet/micaz/*.class \  #   ADD THESE 
LINES
   net/tinyos/packet/telos/*.class \  #   ADD THESE 
LINES

   net/tinyos/message/*.class  \
   org/apache/oro/text/regex/*.class   \
   org/python/compiler/*.class \
   org/python/core/*.class \
   org/python/modules/*.class  \

FIRAT TARAKTAŞ


- Original Message - 
From: Munaretto, Daniel [EMAIL PROTECTED]
To: Zhao Stephen [EMAIL PROTECTED]; Firat TARAKTAS 
[EMAIL PROTECTED]

Cc: tinyos-help@Millennium.Berkeley.EDU
Sent: Monday, August 28, 2006 10:26 AM
Subject: RE: [Tinyos-help] why tinyviz flash and disappear



Have you defined something by DBG_usr1 ? in your main program?
check it, if there is nothing written with DBG, obviously you cannot see 
anything.


dbg(DBG_USR1, TestTinyVizM: number neighbors %i\n, num_neighbors);

for example, to print the value of num_neighbors (a variable in your 
program).

cheers
Daniele

-Original Message- 
From: Zhao Stephen [mailto:[EMAIL PROTECTED]

Sent: Mon 8/28/2006 9:19 AM
To: Firat TARAKTAS
Cc: tinyos-help@Millennium.Berkeley.EDU
Subject: Re: [Tinyos-help] why tinyviz flash and disappear



Thanks for your reply. Now I can see the tinyviz GUI.
But I met another strange problem. I perform DBG=usr1, tinyviz -run
main 30 as lesson 5. After I click play button, nothing can be seen
in Debug messages tab. Why?

2006/8/25, Firat TARAKTAS [EMAIL PROTECTED]:
 just open task manager and end main.exe task . Then restart tinyviz. It 
 is

 the problem that i faced and i encountered by doing that.



 Firat TaraktasFirat TARAKTAS GENETLAB BILGI TEKNOLOJILERI A.S. Kayisdagi
 Caddesi Kar Plaza D Blok Kat:3 34752 Içerenköy / Istanbul Tel: +90 (216) 
 573

 00 85 | 354 Fax:+90 (216) 469 85 07 [EMAIL PROTECTED]
 www.genetlab.com
 - Original Message -
 From: Zhao Stephen [EMAIL PROTECTED]
 To: tinyos-help@Millennium.Berkeley.EDU
 Sent: Friday, August 25, 2006 12:09 PM
 Subject: [Tinyos-help] why tinyviz flash and disappear


  Dear all,
  I perform tinyviz for tossim according to lesson 5 in TOS tutorial.
  But the GUI of tinyviz disappear soon after a flash. I am puzzled.
  the following is the screen output.
 
  [EMAIL PROTECTED] /opt/tinyos-1.x/apps/blink/build/pc
  $ tinyviz -run main 1
  java -Dpython.cachedir=/tmp/jython.cache -DDBG= -DSIMDBG= -jar
  C:/Progra~1/cygwi
  n/opt/tinyos-1.x/tools/java/net/tinyos/sim/simdriver.jar -gui -run 
  main 1

  Starting SimDriver...
  Simulation random seed 1445117131
  Initializing simulator objects...
  Could not find a platform specific version of TOSMsg
  java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
  java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
 at java.net.URLClassLoader+1.run(URLClassLoader.java:200)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
 at 
  sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:279)

 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
 at 
  java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:155)
 at
  net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.ja
  va:122)
 at
  net.tinyos.message.MessageFactory.createTOSMsg(MessageFactory.java:44
  )
 at net.tinyos.sim.SimCommands.init(SimCommands.java:64)
 at net.tinyos.sim.SimDriver.init(SimDriver.java:244

Fw: [Tinyos-help] why tinyviz flash and disappear

2006-08-28 Thread Firat TARAKTAS


Firat TaraktasFirat TARAKTAŞ GENETLAB BILGI TEKNOLOJILERI A.Ş. Kayişdagi 
Caddesi Kar Plaza D Blok Kat:3 34752 Içerenköy / Istanbul Tel: +90 (216) 573 
00 85 | 354 Fax:+90 (216) 469 85 07 [EMAIL PROTECTED] 
www.genetlab.com
- Original Message - 
From: Firat TARAKTAS [EMAIL PROTECTED]

To: Zhao Stephen [EMAIL PROTECTED]
Sent: Monday, August 28, 2006 12:55 PM
Subject: Re: [Tinyos-help] why tinyviz flash and disappear



sorry it is not packet, it is message. So;

net/tinyos/message/avrmote/*.class   \ # ADD THESE

LINES
net/tinyos/message/micaz/*.class \  #   ADD 
THESE

LINES
net/tinyos/message/telos/*.class \  #   ADD 
THESE

LINES




- Original Message - 
From: Zhao Stephen [EMAIL PROTECTED]

To: Firat TARAKTAS [EMAIL PROTECTED]
Sent: Monday, August 28, 2006 12:25 PM
Subject: Re: [Tinyos-help] why tinyviz flash and disappear



Dear Firat,
I modify makefile according to your notes. but when I make it, some
errors appear as following.
-
net/tinyos/packet/avrmote/*.class: No such file or directory
Error adding net/tinyos/packet/avrmote/*.class to jar archive!
make: *** [jarfile] Error 1

I enter the diretory net/tinyos/packet and I can not find the dirs
like avrmote, micaz and telos at all. What is the matter.

Thanks.

2006/8/28, Firat TARAKTAS [EMAIL PROTECTED]:
Just observe the status bar while opening tinyviz. It can give 
connection

to simulator failed error. If it is like that,  add three lines in
net/tinyos/sim/MakeFile. It may be helpful.


# This is ugly. The only way to embed a jar file inside another is to
# unpack it and repack them together into a single flat file.
jarfile: plugins/plugins.list
 @echo Creating simdriver.jar...
 (cd $(ROOT); \
  jar cmf net/tinyos/sim/simdriver.manifest \
  net/tinyos/sim/simdriver-tmp.jar \
  net/tinyos/sim/*.class  \
  net/tinyos/sim/event/*.class\
  net/tinyos/sim/lossy/*.class\
  net/tinyos/sim/msg/*.class  \
  net/tinyos/sim/packet/*.class   \
  net/tinyos/sim/plugins/*.class  \
  net/tinyos/sim/script/*.class   \
net/tinyos/sim/script/reflect/*.class   \
net/tinyos/sim/ui   \
net/tinyos/sim/plugins/plugins.list \
net/tinyos/sf/*.class   \
net/tinyos/util/*.class \
net/tinyos/packet/*.class   \
net/tinyos/packet/avrmote/*.class   \ # ADD 
THESE

LINES
net/tinyos/packet/micaz/*.class \  #   ADD 
THESE

LINES
net/tinyos/packet/telos/*.class \  #   ADD 
THESE

LINES
net/tinyos/message/*.class  \
org/apache/oro/text/regex/*.class   \
org/python/compiler/*.class \
org/python/core/*.class \
org/python/modules/*.class  \

FIRAT TARAKTAŞ


- Original Message -
From: Munaretto, Daniel [EMAIL PROTECTED]
To: Zhao Stephen [EMAIL PROTECTED]; Firat TARAKTAS
[EMAIL PROTECTED]
Cc: tinyos-help@Millennium.Berkeley.EDU
Sent: Monday, August 28, 2006 10:26 AM
Subject: RE: [Tinyos-help] why tinyviz flash and disappear


 Have you defined something by DBG_usr1 ? in your main program?
 check it, if there is nothing written with DBG, obviously you cannot 
 see

 anything.

 dbg(DBG_USR1, TestTinyVizM: number neighbors %i\n, num_neighbors);

 for example, to print the value of num_neighbors (a variable in your
 program).
 cheers
 Daniele

 -Original Message-
 From: Zhao Stephen [mailto:[EMAIL PROTECTED]
 Sent: Mon 8/28/2006 9:19 AM
 To: Firat TARAKTAS
 Cc: tinyos-help@Millennium.Berkeley.EDU
 Subject: Re: [Tinyos-help] why tinyviz flash and disappear



 Thanks for your reply. Now I can see the tinyviz GUI.
 But I met another strange problem. I perform DBG=usr1, tinyviz -run
 main 30 as lesson 5. After I click play button, nothing can be seen
 in Debug messages tab. Why?

 2006/8/25, Firat TARAKTAS [EMAIL PROTECTED]:
  just open task manager and end main.exe task . Then restart tinyviz. 
  It

  is
  the problem that i faced and i encountered by doing that.
 
 
 
  Firat TaraktasFirat TARAKTAS GENETLAB BILGI TEKNOLOJILERI A.S. 
  Kayisdagi
  Caddesi Kar Plaza D Blok Kat:3 34752 Içerenköy / Istanbul Tel: +90 
  (216)

  573
  00 85 | 354 Fax:+90 (216) 469 85 07 [EMAIL PROTECTED]
  www.genetlab.com
  - Original Message -
  From: Zhao Stephen [EMAIL PROTECTED]
  To: tinyos-help@Millennium.Berkeley.EDU
  Sent: Friday, August 25, 2006 12:09 PM
  Subject: [Tinyos-help] why tinyviz flash and disappear
 
 
   Dear all,
   I perform tinyviz for tossim

[Tinyos-help] why tinyviz flash and disappear

2006-08-25 Thread Zhao Stephen

Dear all,
I perform tinyviz for tossim according to lesson 5 in TOS tutorial.
But the GUI of tinyviz disappear soon after a flash. I am puzzled.
the following is the screen output.

[EMAIL PROTECTED] /opt/tinyos-1.x/apps/blink/build/pc
$ tinyviz -run main 1
java -Dpython.cachedir=/tmp/jython.cache -DDBG= -DSIMDBG= -jar C:/Progra~1/cygwi
n/opt/tinyos-1.x/tools/java/net/tinyos/sim/simdriver.jar -gui -run main 1
Starting SimDriver...
Simulation random seed 1445117131
Initializing simulator objects...
Could not find a platform specific version of TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
   at java.net.URLClassLoader+1.run(URLClassLoader.java:200)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:279)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:155)
   at net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.ja
va:122)
   at net.tinyos.message.MessageFactory.createTOSMsg(MessageFactory.java:44
)
   at net.tinyos.sim.SimCommands.init(SimCommands.java:64)
   at net.tinyos.sim.SimDriver.init(SimDriver.java:244)
   at net.tinyos.sim.SimDriver.main(SimDriver.java:539)
Loading simulator plugins...
Creating TinyViz GUI...
Could not find a platform specific version of TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
   at java.net.URLClassLoader+1.run(URLClassLoader.java:200)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:279)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:155)
   at net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.ja
va:122)SF enabled, 0 clients, 0 packets read, 0 packets written
   at net.tinyos.message.MessageFactory.createTOSMsg(MessageFactory.java:36

   at net.tinyos.packet.BrokenPacketizer.init(BrokenPacketizer.java:58)
   at net.tinyos.sim.packet.TossimSource.init(TossimSource.java:44)SF ena
bled, 0 clients, 0 packets read, 0 packets written
   at net.tinyos.sim.packet.TossimSerialSource.init(TossimSerialSource.ja
va:32)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:415)
   at net.tinyos.packet.BuildSource.makeTossimSource(BuildSource.java:509)
   at net.tinyos.packet.BuildSource.makeTossimSerial(BuildSource.java:478)
   at net.tinyos.packet.BuildSource.makeArgsTossimSerial(BuildSource.java:4
69)
   at net.tinyos.packet.BuildSource.makePacketSource(BuildSource.java:151)
   at net.tinyos.packet.BuildSource.makePhoenix(BuildSource.java:87)
   at net.tinyos.sf.SFListen.run(SFListen.java:83)
Could not find a platform specific version of TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
   at java.net.URLClassLoader+1.run(URLClassLoader.java:200)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:279)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:155)
   at net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.ja
va:118)
   at net.tinyos.message.MessageFactory.createTOSMsg(MessageFactory.java:44
)
   at net.tinyos.packet.AbstractSource.open(AbstractSource.java:81)
   at net.tinyos.packet.PhoenixSource.run(PhoenixSource.java:167)
java.lang.NullPointerException
   at net.tinyos.packet.AbstractSource.open(AbstractSource.java:82)
   at 

Re: [Tinyos-help] why tinyviz flash and disappear

2006-08-25 Thread Firat TARAKTAS
just open task manager and end main.exe task . Then restart tinyviz. It is 
the problem that i faced and i encountered by doing that.




Firat TaraktasFirat TARAKTAS GENETLAB BILGI TEKNOLOJILERI A.S. Kayisdagi 
Caddesi Kar Plaza D Blok Kat:3 34752 Içerenköy / Istanbul Tel: +90 (216) 573 
00 85 | 354 Fax:+90 (216) 469 85 07 [EMAIL PROTECTED] 
www.genetlab.com
- Original Message - 
From: Zhao Stephen [EMAIL PROTECTED]

To: tinyos-help@Millennium.Berkeley.EDU
Sent: Friday, August 25, 2006 12:09 PM
Subject: [Tinyos-help] why tinyviz flash and disappear



Dear all,
I perform tinyviz for tossim according to lesson 5 in TOS tutorial.
But the GUI of tinyviz disappear soon after a flash. I am puzzled.
the following is the screen output.

[EMAIL PROTECTED] /opt/tinyos-1.x/apps/blink/build/pc
$ tinyviz -run main 1
java -Dpython.cachedir=/tmp/jython.cache -DDBG= -DSIMDBG= -jar 
C:/Progra~1/cygwi

n/opt/tinyos-1.x/tools/java/net/tinyos/sim/simdriver.jar -gui -run main 1
Starting SimDriver...
Simulation random seed 1445117131
Initializing simulator objects...
Could not find a platform specific version of TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
   at java.net.URLClassLoader+1.run(URLClassLoader.java:200)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:279)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:155)
   at 
net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.ja

va:122)
   at 
net.tinyos.message.MessageFactory.createTOSMsg(MessageFactory.java:44

)
   at net.tinyos.sim.SimCommands.init(SimCommands.java:64)
   at net.tinyos.sim.SimDriver.init(SimDriver.java:244)
   at net.tinyos.sim.SimDriver.main(SimDriver.java:539)
Loading simulator plugins...
Creating TinyViz GUI...
Could not find a platform specific version of TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
   at java.net.URLClassLoader+1.run(URLClassLoader.java:200)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:279)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:155)
   at 
net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.ja

va:122)SF enabled, 0 clients, 0 packets read, 0 packets written
   at 
net.tinyos.message.MessageFactory.createTOSMsg(MessageFactory.java:36


   at 
net.tinyos.packet.BrokenPacketizer.init(BrokenPacketizer.java:58)
   at 
net.tinyos.sim.packet.TossimSource.init(TossimSource.java:44)SF ena

bled, 0 clients, 0 packets read, 0 packets written
   at 
net.tinyos.sim.packet.TossimSerialSource.init(TossimSerialSource.ja

va:32)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Method)


   at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct

orAccessorImpl.java:39)
   at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC

onstructorAccessorImpl.java:27)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:415)
   at 
net.tinyos.packet.BuildSource.makeTossimSource(BuildSource.java:509)
   at 
net.tinyos.packet.BuildSource.makeTossimSerial(BuildSource.java:478)
   at 
net.tinyos.packet.BuildSource.makeArgsTossimSerial(BuildSource.java:4

69)
   at 
net.tinyos.packet.BuildSource.makePacketSource(BuildSource.java:151)

   at net.tinyos.packet.BuildSource.makePhoenix(BuildSource.java:87)
   at net.tinyos.sf.SFListen.run(SFListen.java:83)
Could not find a platform specific version of TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
   at java.net.URLClassLoader+1.run(URLClassLoader.java:200)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:279)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:235