[openrtm-commit:02019] r836 - trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC
openrtm @ openrtm.org
openrtm @ openrtm.org
2016年 10月 6日 (木) 18:49:09 JST
Author: win-ei
Date: 2016-10-06 18:49:09 +0900 (Thu, 06 Oct 2016)
New Revision: 836
Modified:
trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/Manager.java
Log:
Fixed bugs. refs #3391
Modified: trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/Manager.java
===================================================================
--- trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/Manager.java 2016-10-06 07:46:04 UTC (rev 835)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/Manager.java 2016-10-06 09:49:09 UTC (rev 836)
@@ -577,6 +577,8 @@
* PortServiceList_var getPortsOnNameServers(std::string nsname,std::string kind)
*/
public PortService[] getPortsOnNameServers(String nsname, String kind){
+ rtcout.println(Logbuf.PARANOID,
+ "getPortsOnNameServers("+nsname+","+kind+")");
ArrayList<PortService> ports = new ArrayList<PortService>();
//PortService[] ports = new ;
Vector<NamingService> ns = m_namingManager.getNameServices();
@@ -594,6 +596,9 @@
BindingListHolder bl = new BindingListHolder();
cns.listByKind(nsname,kind,bl);
for(int ic=0;ic<bl.value.length;++ic){
+ if(bl.value[ic] == null){
+ continue;
+ }
if(bl.value[ic].binding_type != BindingType.nobject){
continue;
}
More information about the openrtm-commit
mailing list