ES /docs

Cannot read properties of undefined (reading 'Levels')

Service
cupixworks-any-room-agent
Occurrences
17
Status
Reported
Confidence
80%
Actionability
52%
Cluster ID
4e9889fa-2c85-41fe-98e5-bec5a498ec55
First Seen
2026-06-29 14:12 UTC
Last Seen
2026-08-01 13:24 UTC
Actions

Cannot read properties of undefined (reading 'Levels')

What Happened#

2026-06-29 23:12 KST, cupixworks-any-room-agent (Cupix Tesla Room Agent) 가 BIM id 20418 메시지를 처리하던 중 자식 프로세스(RoomExtractorProcess)에서 Cannot read properties of undefined (reading 'Levels') TypeError 가 발생했다. SQS 메시지는 정상적으로 삭제되었지만 BIM 의 room/level 추출이 실패하여 BaseService::handlingMessageErrors로 "undefined response" 가 기록되었다. 단발성 1건이며 같은 큐의 직전(20417) / 직후(20419, 20420) BIM 은 모두 정상 처리되었다.

Quick Facts#

Field Value
exception.class TypeError
exception.message Cannot read properties of undefined (reading 'Levels')
top_frame /tmp/agent/dist/app.cjs:5367:26 (bundled ChildProcessManager.handleMessage rethrow site)
origin packages/cupix-tesla-room-agent/src/process/room-extractor.process.ts:58-62 (child process)
env production, us-west-2
affected bim_id 20418

Affected Teams#

Team / Domain Error Count Impact
gilbaneco (tenant: cupix) 1 1 BIM (id 20418) 의 room/level extraction 실패. BIM 의 room_stateExtracted 로 업데이트되지 못함 (코드 흐름이 runRoomExtractor 에서 throw 되어 후속 updateBimRoomState(...Extracted) 가 실행되지 않음).

Timeline#

  1. 2026-06-29 23:12:26 KSTBaseService::runByMessage | id: 20418 — BIM 20418 처리 시작 (RoomService::run).
  2. 2026-06-29 23:12:26 KSTCupixAuth::setSession | session_id: be789844db7da3a2eb3c1b42f86116929d1ee5fe — 세션 설정 완료, 이후 roomExtractManager.execute 호출.
  3. 2026-06-29 23:12:29 KST — 자식 프로세스에서 extract 가 undefined 인 상태로 extract.Levels 접근 → TypeError. 부모 프로세스 ChildProcessManager.handleMessagepending.reject(new Error(response.error)) 로 rethrow.
  4. 2026-06-29 23:12:29 KSTCupixAuth::handleError | Undefined response: { stack: "Error: Cannot read properties of undefined (reading 'Levels')..." } — axios response 가 없는 일반 Error 로 warn 로깅.
  5. 2026-06-29 23:12:29 KSTBaseService::handlingMessageErrors | Error and message object - {"error":"undefined response","sqsMessage":{"MessageId":"005426f3-..."}} — error 로깅 및 SQS 메시지 삭제 처리.
  6. 2026-06-29 23:30:12 KST — 다음 메시지 (BIM 20419) 정상 처리 (bim level size: 50, room size: 0).

Scoring#

Confidence 80% · Actionability 52%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 22 code refs, 4 log queries
Code path explicitness 3/3 22 file:line refs
Log evidence 2/3 section, query
RCA structure 3/3 3/3 sections
Revision history 0/3 0 revision(s)
Agent execution 3/3 success

Actionability#

Dimension Score Detail
Fix complexity 5/5 trivial
Affected files 1/5 19 file(s)
Single repo 1/3 10 service(s)
Immediate actions 0/3 absent
Testability 0/3 no test info
External dependency 3/3 no external deps
Data migration 3/3 no migration