Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-6333

Audit log / History tab throws 500 internal server error for some events

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.1
    • 4.2, 4.1.1
    • None
    • None
    • Internal

    Description

      This happens for some of the events of some of the users when attempting to display User's History.

      The list of history entries is displayed ok, but the details throws 500 internal server error.

      midpoint;midpoint.log;demo;;2020-06-17 15:55:16,059 [MODEL] [ajp-nio-9090-exec-5] ERROR (com.evolveum.midpoint.web.security.LoggingRequestCycleListener): Error occurred during page rendering.
      midpoint;midpoint.log;demo;;java.lang.ClassCastException: class com.evolveum.midpoint.prism.impl.DefaultReferencableImpl cannot be cast to class com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType (com.evolveum.midpoint.prism.impl.DefaultReferencableImpl and com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType are in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @3551a94)
      midpoint;midpoint.log;demo;; at com.evolveum.midpoint.web.page.admin.reports.PageAuditLogDetails.connectDeltas(PageAuditLogDetails.java:494)
      midpoint;midpoint.log;demo;; at com.evolveum.midpoint.web.page.admin.reports.PageAuditLogDetails.initDeltasPanel(PageAuditLogDetails.java:460)
      midpoint;midpoint.log;demo;; at com.evolveum.midpoint.web.page.admin.reports.PageAuditLogDetails.initLayout(PageAuditLogDetails.java:163)
      midpoint;midpoint.log;demo;; at com.evolveum.midpoint.web.page.admin.reports.PageAuditLogDetails.<init>(PageAuditLogDetails.java:143)
      midpoint;midpoint.log;demo;; at com.evolveum.midpoint.web.page.admin.reports.component.AuditLogViewerPanel$12.onClick(AuditLogViewerPanel.java:680)
      midpoint;midpoint.log;demo;; at com.evolveum.midpoint.web.component.data.column.LinkColumn$1.onClick(LinkColumn.java:56)
      midpoint;midpoint.log;demo;; at com.evolveum.midpoint.web.component.data.column.LinkPanel$1.onClick(LinkPanel.java:40)

      Attachments

        Issue Links

          Activity

            People

              vix Ivan Noris
              vix Ivan Noris
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: