<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/gridkit/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/gridkit/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/gridkit/bugs/</id><updated>2007-12-16T12:40:11Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>Thread visualisation</title><link href="https://sourceforge.net/p/gridkit/bugs/11/" rel="alternate"/><published>2007-12-16T12:40:11Z</published><updated>2007-12-16T12:40:11Z</updated><author><name>Thomas Pareaud</name><uri>https://sourceforge.net/u/tpareaud/</uri></author><id>https://sourceforge.netca0a8e219926a0232195b0a7d7e0ba5bc564c350</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am dealing with a thread issue in OpenCOMJ v1.3.3&lt;/p&gt;
&lt;p&gt;In the visualition package, the VisualGraph.GraphPanel implements the Runnable interface.&lt;/p&gt;
&lt;p&gt;When a GraphPanel object is created, a thread is launched.&lt;/p&gt;
&lt;p&gt;This thread is never stopped. &lt;/p&gt;
&lt;p&gt;When the visualisation package is used for several debug visualisation, this leads to a big overhead.&lt;/p&gt;
&lt;p&gt;I propose to stop the thread when it positioningCounter &amp;gt;= MAX_POSITION_TIME, an relaunch it when necessary (for instance, new component created or old-one removed).&lt;/p&gt;
&lt;p&gt;If doing that, when mouse is "grabbing" a component, a repaint action should be necessary.&lt;/p&gt;
&lt;p&gt;I have not verified that this problem also occurs in laster versions.&lt;/p&gt;
&lt;p&gt;--&lt;br /&gt;
Thomas Pareaud&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>UDPTransport.Close()</title><link href="https://sourceforge.net/p/gridkit/bugs/10/" rel="alternate"/><published>2007-11-29T14:36:51Z</published><updated>2007-11-29T14:36:51Z</updated><author><name>CarlosFlores</name><uri>https://sourceforge.net/u/carlosf75/</uri></author><id>https://sourceforge.net9581ba2d3cea31d7e672013cd10fafb09b6c9280</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The close method of the UDPTransport component, closes the socket but does not remove listeners(EvHandlers). &lt;/p&gt;
&lt;p&gt;Additionally, since individual sockets can be shared by different components closing a socket affects other components when various listeners are in place.&lt;/p&gt;
&lt;p&gt;Hence, It might be necessary to change the implementation of the close() mehtod,  so when this is called individual instances remove only their listeners (EvHandlers). The socket will be closed  automatically when no more listeners for this socket extist.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>UDPTransport, NotifyMsgHandlers</title><link href="https://sourceforge.net/p/gridkit/bugs/9/" rel="alternate"/><published>2007-10-22T18:54:24Z</published><updated>2007-10-22T18:54:24Z</updated><author><name>CarlosFlores</name><uri>https://sourceforge.net/u/carlosf75/</uri></author><id>https://sourceforge.net4577b77b4e4653ca9a78ae1d5a884ee7775e2f67</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The method NotifyMsgHandlers forwards notifications to all available MsgHandlers. This is incorrect since notifications should only be sent to interested MsgHandlers. A Possible solution to this could be:&lt;/p&gt;
&lt;p&gt;protected  void NotifyMsgHandlers(String id, byte[] data, Object from){&lt;br /&gt;
for(int i=0; i&amp;lt;EvHandlers.size();i++){&lt;br /&gt;
MsgListener a = EvHandlers.get(i);&lt;br /&gt;
try{             &lt;br /&gt;
if(a.ElementIdenetifier.equalsIgnoreCase(id))                     &lt;br /&gt;
a.ElementListener.Deliver(a.ElementIdenetifier, &lt;br /&gt;
data,data.length,from);&lt;br /&gt;
}&lt;br /&gt;
catch(Exception e){&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Block and non-blocking</title><link href="https://sourceforge.net/p/gridkit/bugs/8/" rel="alternate"/><published>2007-05-31T15:28:21Z</published><updated>2007-05-31T15:28:21Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net8d70fdb3a05b3206343e50900e6be4a4f729daf4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The IForward implementations of EventReceive() and Receive() are incomplete for certain components i.e only the one in use is implemented.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>File Locations</title><link href="https://sourceforge.net/p/gridkit/bugs/7/" rel="alternate"/><published>2007-03-04T22:07:41Z</published><updated>2007-03-04T22:07:41Z</updated><author><name>Paul Grace</name><uri>https://sourceforge.net/u/userid-1199038/</uri></author><id>https://sourceforge.net4d8cc5baeb3f316219f91a1a74532473e90ff050</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;File reads from locations not linked to Gridkit environment variable; hence, won't work in certain installations&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Receptacle Attributes</title><link href="https://sourceforge.net/p/gridkit/bugs/6/" rel="alternate"/><published>2007-01-11T15:54:51Z</published><updated>2007-01-11T15:54:51Z</updated><author><name>Paul Grace</name><uri>https://sourceforge.net/u/userid-1199038/</uri></author><id>https://sourceforge.net54b8f43bb4f50908756ba9fff146b7d15f7266a0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Cannot attach meta data attributes to multireceptacles with dynamic context - missing from metainterface.java should have the following:&lt;/p&gt;
&lt;p&gt;if((type.equalsIgnoreCase("OpenCOM.OCM_SingleReceptacle"))||(type.equalsIgnoreCase("OpenCOM.OCM_MultiReceptacle"))||(type.equalsIgnoreCase("OpenCOM.OCM_MultiReceptacleDynamicContext"))&lt;br /&gt;
||(type.equalsIgnoreCase("OpenCOM.OCM_MultiReceptacleContext"))||(type.equalsIgnoreCase("OpenCOM.OCM_MultiReceptacleParallel"))){&lt;/p&gt;
&lt;p&gt;Will be fixed in next release            &lt;br /&gt;
&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>GridKit - SOAPToMulticast::ExtractEndpoint</title><link href="https://sourceforge.net/p/gridkit/bugs/5/" rel="alternate"/><published>2006-12-03T11:50:21Z</published><updated>2006-12-03T11:50:21Z</updated><author><name>Thomas Pareaud</name><uri>https://sourceforge.net/u/tpareaud/</uri></author><id>https://sourceforge.netd1b90cb0d48dd8cef4cab8684533ebf57ca78da9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;to my mind, the method SOAPToMulticast::ExtractEndpoint may not work in at least one case:&lt;/p&gt;
&lt;p&gt;if the substring before "://" is less than 3 of length, then the third index will return a bad value...&lt;/p&gt;
&lt;p&gt;I would change the code of this method to:&lt;/p&gt;
&lt;p&gt;private String ExtractEndpoint(String URL){&lt;br /&gt;
// Extract the IP &amp;amp; port from the passed URL String  to_URL = URL;&lt;br /&gt;
int port = -1;&lt;br /&gt;
int index=0; &lt;br /&gt;
if(to_URL.contains("://")){&lt;br /&gt;
index = to_URL.indexOf("://")+3;&lt;br /&gt;
}&lt;br /&gt;
to_URL = to_URL.substring(index);&lt;br /&gt;
// never used&lt;br /&gt;
//int secondIndex = to_URL.indexOf(":");&lt;br /&gt;
int thirdIndex = to_URL.indexOf("/");&lt;br /&gt;
String a_URL = to_URL.substring(0, thirdIndex);&lt;br /&gt;
return a_URL;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;A more convenient way to do so should be to use a StringTokenizer objet. But it may be as using a tank to kill a fly :) (French Joke)&lt;/p&gt;
&lt;p&gt;Thomas Pareaud&lt;br /&gt;
Phd studient at Laas-Cnrs&lt;br /&gt;
Toulouse/France&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Resource Overload during visualisation</title><link href="https://sourceforge.net/p/gridkit/bugs/4/" rel="alternate"/><published>2006-11-10T14:23:23Z</published><updated>2006-11-10T14:23:23Z</updated><author><name>Paul Grace</name><uri>https://sourceforge.net/u/userid-1199038/</uri></author><id>https://sourceforge.net2484705b3f639c439216eb47fcc6c05583c16e01</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;On call of visualisation() significant resource&lt;br /&gt;
overload encountered.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>OCM_MultiReceptacleContext</title><link href="https://sourceforge.net/p/gridkit/bugs/3/" rel="alternate"/><published>2006-11-10T14:22:12Z</published><updated>2006-11-10T14:22:12Z</updated><author><name>Paul Grace</name><uri>https://sourceforge.net/u/userid-1199038/</uri></author><id>https://sourceforge.netdc0d05af5027d4e81c5808b150bc1474433a8c52</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The OCM_MultiReceptacleContext is unusable after first&lt;br /&gt;
round of disconnections&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Delete Component</title><link href="https://sourceforge.net/p/gridkit/bugs/2/" rel="alternate"/><published>2006-11-10T14:12:45Z</published><updated>2006-11-10T14:12:45Z</updated><author><name>Paul Grace</name><uri>https://sourceforge.net/u/userid-1199038/</uri></author><id>https://sourceforge.net2af8263fb495d86e2f04e612af89195b039d8f66</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The delete component operation throws null pointer&lt;br /&gt;
exceptions in some situations&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>