×
Back to ITRS Internal Only FAQ
Internal documentation only
This page has been marked as draft.
Gateway Hub - Unhandled Error 500
If you encounter the web page error below:
-
Check the
apid.logunder the/logs/apid/directory. -
Look for the unhandled error message:
2020-11-12 11:51:20.390Z ERROR [DefaultExceptionHandler ] - Unhandled error
java.lang.ClassCastException: [B cannot be cast to java.lang.Comparable
- Review the API Daemon startup log.
2020-11-12 11:59:03.423Z WARN [FileUtils$ReleasableFileLock ] - Lock file [/app/kafka/hub-2.2.0-GA/tmp/apid-kafka-kvs/hub-keyValueStore-entitySnapshots/checkpoint/.lock] already exists, which indicates that this application exited abruptly
2020-11-12 11:59:03.423Z INFO [FileUtils$ReleasableFileLock ] - Acquired file lock on [/app/kafka/hub-2.2.0-GA/tmp/apid-kafka-kvs/hub-keyValueStore-entitySnapshots/checkpoint/.lock]
2020-11-12 11:59:03.429Z ERROR [KafkaBasedReadOnlyEntitySnapshotKeyValueStoreProvider] - Could not initialize Kafka-based key-value store using topic hub-keyValueStore-entitySnapshots: com.itrsgroup.hub.kafka.kvs.KafkaBasedKeyValueStoreInitializationException: Failed to read checkpoint data: java.io.EOFException
java.io.EOFException: null
This indicates that the application exited abruptly. The stack trace shows the apid reports failed to read the checkpoint data.
- Follow the steps below to fix the issue:
- Stop the Hub.
- Make sure the
apiddid shut down usingjpsorpsand stop the process, if necessary. - Manually delete the checkpoint directory
/app/kafka/hub-2.2.x-GA/tmp/apid-kafka-kvs/hub-keyValueStore-entitySnapshots/checkpoint/. - Restart the Hub and ensure that there are no errors after the
apidstartup.
["Geneos"]
["FAQ"]