-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Problem
We were contacted by a customer who was experiencing an issue whereby their application failed to start.
Investigation
From the error trace log received from the customer, the root cause is clearly indicated here:
Caused by: java.lang.Exception: The data was not in the correct format. Check the data file is uncompressed.
The library (device-detection.hash.engine.on-premise) is failing because the file provided is not in the correct format, most likely because:
- The file is still compressed (e.g.,
.zip,.gz), but the pipeline expects the raw/uncompressed.hashfile. - The wrong type of file is being used.
- The file path is misconfigured, and the pipeline is trying to load something invalid.
Troubleshooting Checklist
To help troubleshoot, could you please confirm the following:
- File path and access – Is the path to the data file correct, and does the engine have permission to read it?
- File format – Are you using a binary HashV41 file (
.hash) or a CSV file? The engine requires a binary file, so please ensure you’re using one. - Package version – Which version of the device-detection Maven package are you using?
- Pipeline configuration – Could you share your Pipeline configuration?
- We’d like to try downloading the same data file and running an on-premise test using your setup.
- This example may be particularly relevant: 51Degrees On-Premise Example
- Runtime environment – What environment is your application running in?
- Please include OS version and Java version.
- If you’re using a Docker image, sharing details would also help us reproduce the issue more accurately.
Metadata
Metadata
Assignees
Labels
No labels