TheHive-Project / TheHive

TheHive: a Scalable, Open Source and Free Security Incident Response Platform
https://thehive-project.org
GNU Affero General Public License v3.0
3.28k stars 605 forks source link

[Bug]: Index Repair Job failing continously on The Hive 4.1.18 #2407

Open viverma5 opened 1 year ago

viverma5 commented 1 year ago

Request Type

Bug

Work Environment

Question Answer
OS version (server) RedHat 8
OS version (client) RHEL 8
Virtualized Env. True
Dedicated RAM 16 GB
vCPU 8
TheHive version / git hash 4.x, hash of the commit 4.1.18
Package Type RPM,
Database Cassandra
Index type Lucene
Attachments storage Local

Problem Description

When we try to restore The Hive database to a new server [for migration purpose], during reindexing the job fails with error message as attached and also mentioned as below-

image

Steps to Reproduce

  1. Try to reindex the data on a new server [by setting forceDropAndRebuildIndex: true]
  2. Reindex job fails as Null pointer exception

Complementary information

viverma5 commented 1 year ago

application.log Attaching the log file...