Description
When importing a CSV file using the CSV Import connector, the process crashes with the following error:
TypeError: Cannot read properties of undefined (reading 'getTracer')
at telemetry (tracing.ts:123)
at getEntitiesFromCache (cache.ts:167)
at getEntitiesListFromCache (cache.ts:177)
at getEntitySettingFromCache (entitySetting-utils.ts:137)
at validateCsvMapper (csvmapper-utils.ts:130)
at processCsvForWorkers (importcsv-connector.ts:74)
Environment
- OS (where OpenCTI server runs): { e.g. Mac OS 10, Windows 10, Ubuntu 16.4, etc. }
- OpenCTI version: { e.g. OpenCTI 1.0.2 }
- OpenCTI client: { e.g. frontend or python }
- Other environment details:
Reproducible Steps
Steps to create the smallest reproducible scenario:
1.Create a CSV Mapper with at least one entity representation
2.Trigger a CSV import via the Import CSV connector
3.Observe the crash during the mapper validation phase
Expected Output
CSV import processes normally (or fails with a meaningful validation error).
Actual Output
Connector crashes with TypeError before any data is processed.
Additional information
Screenshots (optional)
Description
When importing a CSV file using the CSV Import connector, the process crashes with the following error:
TypeError: Cannot read properties of undefined (reading 'getTracer')
at telemetry (tracing.ts:123)
at getEntitiesFromCache (cache.ts:167)
at getEntitiesListFromCache (cache.ts:177)
at getEntitySettingFromCache (entitySetting-utils.ts:137)
at validateCsvMapper (csvmapper-utils.ts:130)
at processCsvForWorkers (importcsv-connector.ts:74)
Environment
Reproducible Steps
Steps to create the smallest reproducible scenario:
1.Create a CSV Mapper with at least one entity representation
2.Trigger a CSV import via the Import CSV connector
3.Observe the crash during the mapper validation phase
Expected Output
CSV import processes normally (or fails with a meaningful validation error).
Actual Output
Connector crashes with TypeError before any data is processed.
Additional information
Screenshots (optional)