[openrtm-commit:02008] r828 - trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC
openrtm @ openrtm.org
openrtm @ openrtm.org
2016年 10月 5日 (水) 08:43:54 JST
Author: win-ei
Date: 2016-10-05 08:43:53 +0900 (Wed, 05 Oct 2016)
New Revision: 828
Modified:
trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/Manager.java
Log:
Fiexd bugs. refs #3389
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-04 12:25:48 UTC (rev 827)
+++ trunk/OpenRTM-aist-Java/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/Manager.java 2016-10-04 23:43:53 UTC (rev 828)
@@ -1162,7 +1162,7 @@
}
else {
RTC.RTObject[] rtcs = m_namingManager.string_to_component(comps[ic]);
- if(rtcs.length == 0) {
+ if(rtcs == null || rtcs.length == 0) {
rtcout.println(Logbuf.ERROR, comps[ic] + " not found.");
continue;
}
@@ -1241,7 +1241,7 @@
}
else {
RTC.RTObject[] rtcs = m_namingManager.string_to_component(comp0_name);
- if(rtcs.length == 0) {
+ if(rtcs == null || rtcs.length == 0) {
rtcout.println(Logbuf.ERROR, comp0_name + " not found.");
continue;
}
@@ -1272,7 +1272,7 @@
}
else{
RTC.RTObject[] rtcs = m_namingManager.string_to_component(comp1_name);
- if(rtcs.length == 0) {
+ if(rtcs == null || rtcs.length == 0) {
rtcout.println(Logbuf.ERROR, comp1_name + " not found.");
continue;
}
More information about the openrtm-commit
mailing list