Hi all,

(this is a reply to a question on this list sent in June)

Problem: Trawler works fine but hangs after a longer time of operation:
All nodes disappear, no sensor data / link qualities are received
anymore. Basestation tmote shows constant red led. SerialForwarder does
not receive any more messages from the mote.

I am running Delta on a multi-hop network of TMoteSky modules together
with Boomerang's Trawler GUI.

My HACK: Disable the UartDetect Thread in Trawler.java 

        [...]
                
                mif = new MoteInterface(g, Trawler.GROUPID, layout);
                /*
                uartDetect = new UartDetect(mif.getMoteIF());
                Thread th = new Thread(uartDetect);
                th.start(); */

(the network seems to work fine without it, the basestation mote never
seemed to have replied to the UartDetect messages anyway). This needs
some additional (straightforward) adaptations in the Trawler code. Since
then, the error did not occur. Does this make sense at all? Can an
expert comment on this?

Only a side note: In addition, one must allow for enough java heap (java
-Xmx700M) when starting Trawler and press "clear dataset" every morning
;)

Greets,
Christian


>> Hello everybody,
>>
>>
>> We ran delta application with trawler for a few hours and we received
>> the following exception from the GUI several times:
>>
>>
>>
>> Exception in thread "AWT-EventQueue-0"
>> java.lang.IllegalArgumentException: Orpha
>>
>> ned edges may not be indexed.
>>
>> at
> edu.uci.ics.jung.utils.ParallelEdgeIndexSingleton.getIndex(ParallelEd
>>
>>
>> geIndexSingleton.java:60)
>>
>> at
> edu.uci.ics.jung.graph.decorators.EdgeShape$QuadCurve.getShape(EdgeSh
>>
>>
>> ape.java:144)
>>
>> at
> com.moteiv.trawler.Trawler$myPluggableRenderer.labelEdge(Trawler.java
>>
>>
>> :659)
>>
>> at
> edu.uci.ics.jung.visualization.PluggableRenderer.drawSimpleEdge(Plugg
>>
>>
>> ableRenderer.java:789)
>>
>> at
> edu.uci.ics.jung.visualization.PluggableRenderer.paintEdge(PluggableR
>>
>>
>> enderer.java:660)
>>
>> at
> edu.uci.ics.jung.visualization.VisualizationViewer.renderGraph(Visual
>>
>>
>> izationViewer.java:778)
>>
>> at
> edu.uci.ics.jung.visualization.VisualizationViewer.paintComponent(Vis
>>
>>
>> ualizationViewer.java:715)
>>        at javax.swing.JComponent.paint(JComponent.java:1005)
>>
>> at
> javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4963)
>>
>>
>>
>>        at
>> javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4916)
>>        at
> javax.swing.JComponent._paintImmediately(JComponent.java:4859)
>>        at
> javax.swing.JComponent.paintImmediately(JComponent.java:4666)
>>
>> at
> javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451)
>>
>>
>>
>>
>> at
> javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(System
>>
>>
>> EventQueueUtilities.java:114)
>>        at
>> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
>>        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
>>
>> at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
>>
>>
>> read.java:242)
>>
>> at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
>>
>>
>> ad.java:163)
>>
>> at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
>>
>>
>>
>>
>> at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
>>
>>
>>
>>        at
> java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
>>
>>
>> Since everything seemed to be functional we ignored the problem and
> left
>> the network running for sometime more. Yet after a few hours we faced
>> the following exception and the graph disappeared though the network
> was
>> functional:
>>
>>
>> Exception in thread "Thread-4" java.lang.OutOfMemoryError: Java heap
>> space
>>
>>
>> has anybody have the same problem with the trawler's gui? We have no
>> clue about what's going on. We do appreciate any help.
>>
>>
>>
>> P.S. We are using delta application on tmote sky WITHOUT having low
>> power option.
>>
>>
>>
>> thanks.
>>
>>
>>
>>
>
>
> --
>
>
>


-- 


_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to