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

Clicking organization in Org. tree throws exception

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.4, 4.4.1
    • Fix Version/s: 4.5, 4.4.2
    • Component/s: GUI
    • Labels:
    • Environment:

      MID-101 training, midpoint 4.4, Java 17, native repository

    • Subscription:
      Internal
    • Backport Version:

      Description

       2022-01-05 16:45:08,693 [] [http-nio-8080-exec-1] ERROR (com.evolveum.midpoint.web.security.LoggingRequestCycleListener): Error occurred during page rendering.
       java.util.NoSuchElementException: No value present
       at java.base/java.util.Optional.get(Optional.java:143)
       at com.evolveum.midpoint.web.page.admin.users.component.SelectableFolderContent.onClick(SelectableFolderContent.java:56)
       at com.evolveum.midpoint.web.page.admin.orgs.OrgTreeFolderContent$1.onClick(OrgTreeFolderContent.java:62)
       at org.apache.wicket.extensions.markup.html.repeater.tree.content.StyledLinkLabel$1.onClick(StyledLinkLabel.java:91)
       at org.apache.wicket.ajax.markup.html.AjaxFallbackLink.onClick(AjaxFallbackLink.java:122)
       at org.apache.wicket.markup.html.link.Link.onRequest(Link.java:191)
       at org.apache.wicket.core.request.handler.ListenerRequestHandler.internalInvoke(ListenerRequestHandler.java:306)
       at org.apache.wicket.core.request.handler.ListenerRequestHandler.invoke(ListenerRequestHandler.java:255)
       at org.apache.wicket.core.request.handler.ListenerRequestHandler.invokeListener(ListenerRequestHandler.java:215)
       at org.apache.wicket.core.request.handler.ListenerRequestHandler.respond(ListenerRequestHandler.java:208)
       at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:910)
       at org.apache.wicket.request.RequestHandlerExecutor.execute(RequestHandlerExecutor.java:63)
       at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:294)
       at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:255)
       at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:277)
       at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:208)
       at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:307)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:190)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:163)
       at com.evolveum.midpoint.web.util.MidPointProfilingServletFilter.doFilter(MidPointProfilingServletFilter.java:79)

       

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: