Skip to content

NullPointerException: Cannot invoke "cloud.shareddesk.deskfinder.entity.equipment.Equipment.getId()" because the return...

Created by: shareddesk-sentry-integration[bot]

Sentry Issue: DESK-FINDER-BACKEND-1C

NullPointerException: Cannot invoke "cloud.shareddesk.deskfinder.entity.equipment.Equipment.getId()" because the return value of "cloud.shareddesk.deskfinder.entity.deskEquipment.DeskEquipment.getEquipment()" is null
    at cloud.shareddesk.deskfinder.entity.desk.dto.DeskResponseDTO.lambda$fromDesk$0(DeskResponseDTO.java:44)
    at cloud.shareddesk.deskfinder.entity.desk.dto.DeskResponseDTO.fromDesk(DeskResponseDTO.java:45)
    at cloud.shareddesk.deskfinder.entity.desk.controller.DeskControllerImpl.lambda$getDesksPaginated$0(DeskControllerImpl.java:125)
    at cloud.shareddesk.deskfinder.entity.desk.controller.DeskControllerImpl.getDesksPaginated(DeskControllerImpl.java:125)
    at cloud.shareddesk.deskfinder.auth.jwt.JwtAuthenticationFilter.doFilterInternal(JwtAuthenticationFilter.java:103)
...
(95 additional frame(s) were not displayed)

Internal Server Error