アーティクル - CS302119
リソースSearchFunctionsのThingWorxスニペットサービスSearchThingsByTemplatefailsは、パラメーターmaxItemsが2500を超え、クエリが指定されている場合、エラー「実装するものをクエリできません:null」で失敗します
修正日: 07-Aug-2021
適用対象
- ThingWorx Platform 8.2 to 8.4
説明
- リソースSearchFunctionsのThingWorxスニペットサービスSearchThingsByTemplatefailsを実行できません
- SearchThingsByTemplateサービスは、パラメーターmaxItemsが2500を超え、クエリが指定されている場合にエラーを返します
- SearchThingsByTemplateサービスは、次のエラーで失敗します
- UIで
- 実装するものを照会できません:null] java.lang.Exception:実装するものを照会できません:null
- ErrorLog.logには次のことが記載されています。
- [DATE_TIME] [L:エラー] [O:EctwBaseService] [I:] [U:[ユーザー名]] [S:] [T:https-jsse-nio-443-exec-126] [コンテキスト:com.thingworx。 webservices.context.HttpExecutionContext@5009757e] [メッセージ:SearchFunctionsでサービスSearchThingsByTemplateを呼び出すことができません:実装するものをクエリできません:null] java.lang.Exception:実装するものをクエリできません:null
com.thingworx.entities.utils.ThingTemplateUtilities.rawQueryImplementingThings(ThingTemplateUtilities.java:202)で
com.thingworx.thingtemplates.ThingTemplate.QueryImplementingThingsWithData(ThingTemplate.java:2806)で
com.thingworx.resources.queries.Searcher.SearchThingsByTemplate(Searcher.java:2398)で
sun.reflect.GeneratedMethodAccessor149.invoke(不明なソース)で
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)で
java.lang.reflect.Method.invoke(Method.java:498)で
com.thingworx.common.processors.ReflectionProcessor.processService(ReflectionProcessor.java:261)で
com.thingworx.handlers.ReflectionServiceHandler.processService(ReflectionServiceHandler.java:50)で
com.thingworx.entities.helpers.InternalServiceHelper.processServiceRequestDirect(InternalServiceHelper.java:117)で
com.thingworx.entities.helpers.InternalServiceHelper.processAPIServiceRequest(InternalServiceHelper.java:88)で
com.thingworx.entities.ServiceProviderEntity.processAPIServiceRequest(ServiceProviderEntity.java:61)で
com.thingworx.webservices.BaseService.handleInvoke(BaseService.java:3031)で
... 49の共通フレームが省略されています
ラップ:com.thingworx.common.exceptions.InvalidRequestException:SearchFunctionsでサービスSearchThingsByTemplateを呼び出すことができません:実装するものをクエリできません:null
com.thingworx.webservices.BaseService.handleInvoke(BaseService.java:3082)で
com.thingworx.webservices.BaseService.service(BaseService.java:354)で
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)で
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)で
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)で
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)で
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)で
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)で
com.thingworx.security.contenttype.ContentTypeFilter.doFilter(ContentTypeFilter.java:138)で
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)で
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)で
com.thingworx.security.filter.ValidationFilter.doFilter(ValidationFilter.java:22)で
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)で
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)で
com.thingworx.security.authentication.AuthenticationFilter.propagateRequest(AuthenticationFilter.java:506)で
..。
- [DATE_TIME] [L:エラー] [O:EctwBaseService] [I:] [U:[ユーザー名]] [S:] [T:https-jsse-nio-443-exec-126] [コンテキスト:com.thingworx。 webservices.context.HttpExecutionContext@5009757e] [メッセージ:SearchFunctionsでサービスSearchThingsByTemplateを呼び出すことができません:実装するものをクエリできません:null] java.lang.Exception:実装するものをクエリできません:null
- UIで
最新バージョンはこちらを参照ください CS302119