Hi,
I have a problem about running Mviz on the tinyOS-2.x in Cygwin. I
stalled the Mviz application to Micaz motes. The problem is as follows.
I'll appreciate it if you can tell me what should I do.
 
--------------------------------------------------------------------------------------------------
$ tos-mviz -comm ser...@com2:micaz MVizMsg
C:\tinyos_xbow\cygwin\opt\tinyos-2.x\support\sdk\java\tinyos.jar
Making MVizMsg
Unable to find message type MVizMsg: please check your CLASSPATH.
./mote.gif
java.lang.ClassNotFoundException: MVizMsg
Exception in thread "AWT-EventQueue-0"
java.lang.ArrayIndexOutOfBoundsException:
 -1
        at java.util.ArrayList.get(Unknown Source)
        at
net.tinyos.mviz.DNavigate.redrawAllLayers(DNavigate.java:194)
        at
net.tinyos.mviz.DDocument$DPanel.paintComponent(DDocument.java:455)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JLayeredPane.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paintToOffscreen(Unknown Source)
        at javax.swing.BufferStrategyPaintManager.paint(Unknown
Source)
        at javax.swing.RepaintManager.paint(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
        at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
        at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
        at java.awt.Container.paint(Unknown Source)
        at javax.swing.RepaintManager.paintDirtyRegions(Unknown
Source)
        at javax.swing.RepaintManager.paintDirtyRegions(Unknown
Source)
        at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown
Source)
        at
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknow
n Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
ser...@com2:57600: resynchronising
 
-------------------------------------------------------------------------------------------------------------------------
 
Regards,
Wei Shen
Jönköping, Sweden
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to