技术文章 - CS285204
在 ThingWorx Analytics 构建器8.2 中创建模型时,未找到用于媒体类型 = text/html 的错误 "MessageBodyReader
已修改: 11-May-2018
适用于
- ThingWorx Analytics 8.2
说明
- 在培训新模型时,在训练文件中报告了以下错误
thingworx ccc 的 AsynchronousUriResultsJobExecutor:调用 TrainingJob [XXXX] 失败,原因如下:
glassfish 新泽西的 MessageBodyProviderNotFoundException: MessageBodyReader 未找到媒体类型 = text/html,类型 = class .com. thingworx,,,ValidationRequestResponse = class .com. genericType.....。
在 glassfish 新泽西. ReaderInterceptorExecutor $ TerminalReaderInterceptor. aroundReadFrom (ReaderInterceptorExecutor .java:231)
在 glassfish 新泽西. 执行 ReaderInterceptorExecutor。继续(ReaderInterceptorExecutor .java:155)
...
在 java lang.ini 中。调用(方法 .java:498)
在 thingworx 中 TrainingJob 运行时(TrainingJob .java:74)。
在 thingworx 中 ccc。 AsynchronousUriResultsJobExecutor $ local. call (AsynchronousUriResultsJobExecutor java:68)
在 thingworx 中 ccc。 AsynchronousUriResultsJobExecutor $ local. call (AsynchronousUriResultsJobExecutor java:60)
在工具中 FutureTask 运行(FutureTask .java:
在工具 ThreadPoolExecutor runWorker (ThreadPoolExecutor:1142)
在工具 ThreadPoolExecutor $ Worker。运行(ThreadPoolExecutor .java:617)
在 .java. run (Thread:748)
glassfish 新泽西的 MessageBodyProviderNotFoundException: MessageBodyReader 未找到媒体类型 = text/html,类型 = class .com. thingworx,,,ValidationRequestResponse = class .com. genericType.....。
在 glassfish 新泽西. ReaderInterceptorExecutor $ TerminalReaderInterceptor. aroundReadFrom (ReaderInterceptorExecutor .java:231)
在 glassfish 新泽西. 执行 ReaderInterceptorExecutor。继续(ReaderInterceptorExecutor .java:155)
...
在 java lang.ini 中。调用(方法 .java:498)
在 thingworx 中 TrainingJob 运行时(TrainingJob .java:74)。
在 thingworx 中 ccc。 AsynchronousUriResultsJobExecutor $ local. call (AsynchronousUriResultsJobExecutor java:68)
在 thingworx 中 ccc。 AsynchronousUriResultsJobExecutor $ local. call (AsynchronousUriResultsJobExecutor java:60)
在工具中 FutureTask 运行(FutureTask .java:
在工具 ThreadPoolExecutor runWorker (ThreadPoolExecutor:1142)
在工具 ThreadPoolExecutor $ Worker。运行(ThreadPoolExecutor .java:617)
在 .java. run (Thread:748)
- 验证日志文件显示
ConnectionPool:不能创建池的初始连接,请重做。
EOFException: null
在 mvstore DataUtils readFully (DataUtils:431)
...47公用框架被忽略
导致: IllegalStateException:从缓存读取: nio:/opt/ThingWorxAnalyticsServer/data/db/evaluation.mv.db 失败;在 YYYY [1.4.192/1] 处的文件长度 XXXX 读取长度 ZZZZ
在 mvstore DataUtils newIllegalStateException (DataUtils:773)
在 mvstore DataUtils readFully (DataUtils:443)
在 mvstore readFully ("时间%. java: 98")
在 mvstore。读取(第 java 页:190)
在 mvstore MVStore readPage (MVStore:1944)
EOFException: null
在 mvstore DataUtils readFully (DataUtils:431)
...47公用框架被忽略
导致: IllegalStateException:从缓存读取: nio:/opt/ThingWorxAnalyticsServer/data/db/evaluation.mv.db 失败;在 YYYY [1.4.192/1] 处的文件长度 XXXX 读取长度 ZZZZ
在 mvstore DataUtils newIllegalStateException (DataUtils:773)
在 mvstore DataUtils readFully (DataUtils:443)
在 mvstore readFully ("时间%. java: 98")
在 mvstore。读取(第 java 页:190)
在 mvstore MVStore readPage (MVStore:1944)
- 验证微服务未运行
这是文章 285204 的 PDF 版本,可能已过期。最新版本 CS285204