技术文章 - CS327994

在 ThingWorx Analytics Server 中创建数据集时收到 java.lang.ExceptionInInitializerError

已修改: 22-Dec-2022   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • ThingWorx Analytics 8.5

说明

  • 新建数据集报如下错误
java.lang.ExceptionInInitializerError 异常
  • <ThingWorxAnalyticsServer>/data/logs/worker.log
java.lang.RuntimeException: java.lang.ExceptionInInitializerError 错误
在 com.thingworx.analytics.data.service.AbstractDataServiceJob.run(AbstractDataServiceJob.java:79)
在 com.thingworx.analytics.ccc.job.dempsy.DempsyClusterJobExecutor$DempsyPersistentClusterWatcher.runJobUploadResultsAndCleanup(DempsyClusterJobExecutor.java:433)
在 com.thingworx.analytics.ccc.job.dempsy.DempsyClusterJobExecutor$DempsyPersistentClusterWatcher.execute(DempsyClusterJobExecutor.java:600)
在 com.thingworx.analytics.ccc.executor.PersistentTask.executeUntilWorks(PersistentTask.java:94)
在 com.thingworx.analytics.ccc.executor.PersistentTask.process(PersistentTask.java:60)
在 net.dempsy.cluster.zookeeper.ZookeeperSession$WatcherProxy.process(ZookeeperSession.java:232)
在 org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:533)
在 org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:508)
引起:java.lang.ExceptionInInitializerError: null
在 java.lang.J9VMInternals.ensureError (J9VMInternals.java:146)
在 java.lang.J9VMInternals.recordInitializationFailure(J9VMInternals.java:135)
  • <ThingWorxAnalyticsServer>/data/logs/async.log
io.dropwizard.jersey.errors.LoggingExceptionMapper:处理请求时出错:865951d9144ac204
! java.lang.NullPointerException: 空
!在 org.apache.commons.lang3.SerializationUtils$ClassLoaderAwareObjectInputStream.<init>(SerializationUtils.java:299)
!在 org.apache.commons.lang3.SerializationUtils.clone(SerializationUtils.java:88)
...
导致:java.lang.NoClassDefFoundError:org.apache.hadoop.fs.FileSystem$Statistics(初始化失败)
!在 java.lang.J9VMInternals.initializationAlreadyFailed(J9VMInternals.java:96)
!在 org.apache.hadoop.fs.FileSystem.getStatistics(FileSystem.java:3343)
!在 org.apache.hadoop.fs.FileSystem.initialize(FileSystem.java:204)
!在 org.apache.hadoop.fs.RawLocalFileSystem.initialize(RawLocalFileSystem.java:94)
!在 org.apache.hadoop.fs.LocalFileSystem.initialize(LocalFileSystem.java:47)
这是文章 327994 的 PDF 版本,可能已过期。最新版本 CS327994