Skip to content

ClassCastException: class org.springframework.data.domain.Sort cannot be cast to class org.springframework.data.jpa.d... #394

@sentry

Description

@sentry

Sentry Issue: WORX-CORE-A

ClassCastException: class org.springframework.data.domain.Sort cannot be cast to class org.springframework.data.jpa.domain.JpaSort (org.springframework.data.domain.Sort and org.springframework.data.jpa.domain.JpaSort are in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @2e0fa5d3)
    at id.worx.worx.util.JpaUtils.replaceUnsafeSort(JpaUtils.java:75)
    at id.worx.worx.service.FormTemplateServiceImpl.search(FormTemplateServiceImpl.java:70)
    at id.worx.worx.service.FormTemplateServiceImpl$$FastClassBySpringCGLIB$$1eb3c2cb.invoke(<generated>)
    at id.worx.worx.service.FormTemplateServiceImpl$$EnhancerBySpringCGLIB$$7ae95e0c.search(<generated>)
    at id.worx.worx.web.controller.FormTemplateController.search(FormTemplateController.java:61)
...
(116 additional frame(s) were not displayed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions