Article - CS327994

java.lang.ExceptionInInitializerError is received when creating a dataset in ThingWorx Analytics Server

Modified: 23-Jul-2020   


Applies To

  • ThingWorx Analytics 8.5

Description

  • Following error is reported when creating a new dataset
java.lang.ExceptionInInitializerError
  • <ThingWorxAnalyticsServer>/data/logs/worker.log has
java.lang.RuntimeException: java.lang.ExceptionInInitializerError
    at com.thingworx.analytics.data.service.AbstractDataServiceJob.run(AbstractDataServiceJob.java:79)
    at com.thingworx.analytics.ccc.job.dempsy.DempsyClusterJobExecutor$DempsyPersistentClusterWatcher.runJobUploadResultsAndCleanup(DempsyClusterJobExecutor.java:433)
    at com.thingworx.analytics.ccc.job.dempsy.DempsyClusterJobExecutor$DempsyPersistentClusterWatcher.execute(DempsyClusterJobExecutor.java:600)
    at com.thingworx.analytics.ccc.executor.PersistentTask.executeUntilWorks(PersistentTask.java:94)
    at com.thingworx.analytics.ccc.executor.PersistentTask.process(PersistentTask.java:60)
    at net.dempsy.cluster.zookeeper.ZookeeperSession$WatcherProxy.process(ZookeeperSession.java:232)
    at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:533)
    at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:508)
Caused by: java.lang.ExceptionInInitializerError: null
    at java.lang.J9VMInternals.ensureError(J9VMInternals.java:146)
    at java.lang.J9VMInternals.recordInitializationFailure(J9VMInternals.java:135)
 
  • <ThingWorxAnalyticsServer>/data/logs/async.log has
 io.dropwizard.jersey.errors.LoggingExceptionMapper: Error handling a request: 865951d9144ac204
! java.lang.NullPointerException: null
! at org.apache.commons.lang3.SerializationUtils$ClassLoaderAwareObjectInputStream.<init>(SerializationUtils.java:299)
! at org.apache.commons.lang3.SerializationUtils.clone(SerializationUtils.java:88)
...
Causing: java.lang.NoClassDefFoundError: org.apache.hadoop.fs.FileSystem$Statistics (initialization failure)
! at java.lang.J9VMInternals.initializationAlreadyFailed(J9VMInternals.java:96)
! at org.apache.hadoop.fs.FileSystem.getStatistics(FileSystem.java:3343)
! at org.apache.hadoop.fs.FileSystem.initialize(FileSystem.java:204)
! at org.apache.hadoop.fs.RawLocalFileSystem.initialize(RawLocalFileSystem.java:94)
! at org.apache.hadoop.fs.LocalFileSystem.initialize(LocalFileSystem.java:47)
This is a printer-friendly version of Article 327994 and may be out of date. For the latest version click CS327994