アーティクル - CS327994
ThingWorx Analytics Server でデータセットを作成するときに java.lang.ExceptionInInitializerError を受け取る
修正日: 22-Dec-2022
適用対象
- 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) で
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: null
! 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) で
! java.lang.NullPointerException: null
! 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) で
最新バージョンはこちらを参照ください CS327994