Dear sir:
  When I input the command:tinyviz -run build/pc/main.exe 30 in the directory /opt/tinyos-1.x/apps/TestTinyViz.I get these output information in the following:
 
[EMAIL PROTECTED] /opt/tinyos-1.x/apps/TestTinyViz
$ tinyviz -run build/pc/main.exe 30
java -Dpython.cachedir=/tmp/jython.cache -DDBG= -DSIMDBG= -jar C:/tinyos/cygwin/
opt/tinyos-1.x/tools/java/net/tinyos/sim/simdriver.jar -gui -run build/pc/main.e
xe 30
Starting SimDriver...
Simulation random seed 625953024
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:198)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:140)
        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...
SF enabled, 0 clients, 0 packets read, 0 packets written Could not find a platfo
rm 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:198)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:140)
        at net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.ja
va:122)
        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)
        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:274)
        at net.tinyos.packet.BuildSource.makeTossimSource(BuildSource.java:503)
        at net.tinyos.packet.BuildSource.makeTossimSerial(BuildSource.java:472)
        at net.tinyos.packet.BuildSource.makeArgsTossimSerial(BuildSource.java:4
63)
        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:84)
SimComm: TossimInitEvent received (30 motes)... initializing system.
SimComm: Pausing system for TossimInitEvent
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:198)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:140)
        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 net.tinyos.packet.PhoenixSource.run(PhoenixSource.java:167)
DRIVER: Can't use AutoRun when SimComm already connected
Welcome to Tython. Type 'quit' to exit.
ESC on a line by itself will pause/resume the simulator.
>>>
(check for stale main.exe processes)
 
 
 
   my tinyos version is 1.1.7.I remenber that I haven't any problem in the version 1.1.0.But
when I updata my tinyos, why I always get the information:Could not find a platform specific version of TOSMsg?anybody can tell me why?
    thank you for your any suggestion.
 







你 不 想 试 试 今 夏 最 “酷” 的 邮 箱 吗 ?
蕴 涵 中 华 传 统 文 化 于 世 界 一 流 科 技 之 中,创 新 Ajax 技 术,126 “D 计 划”火 热 体 验 中 !
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to