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

NPE when in all work items page

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4.4.2
    • Fix Version/s: 4.5, 4.4.2
    • Component/s: GUI
    • Labels:
    • Subscription:
      Internal
    • Backport Version:

      Description

      Not sure what EXACTLY caused this, but I was in all work items page and selected all work items and attempted to reject them all.

      It took quite long and ended with error in log

      2022-03-03 11:18:49,589 [MODEL] [http-nio-8080-exec-5] ERROR (com.evolveum.midpoint.web.security.LoggingRequestCycleListener): Error occurred during page rendering.
      org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor 'public com.evolveum.midpoint.web.page.admin.cases.PageCaseWorkItem(org.apache.wicket.request.mapper.parameter.PageParameters)' and argument 'windowName=[e428ceec-8f7a-4773-ad71-d18d7ac9c4f7]'. An exception has been thrown during construction!
              at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:194)
              at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:99)
              at org.apache.wicket.DefaultMapperContext.newPageInstance(DefaultMapperContext.java:94)
              at org.apache.wicket.core.request.handler.PageProvider$Provision.getPage(PageProvider.java:369)
              at org.apache.wicket.core.request.handler.PageProvider.getPageInstance(PageProvider.java:170)
              at org.apache.wicket.core.request.handler.ListenerRequestHandler.getPage(ListenerRequestHandler.java:102)
              at org.apache.wicket.core.request.handler.ListenerRequestHandler.respond(ListenerRequestHandler.java:146)
              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)
              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.security.filter.MidpointAuthFilter$VirtualFilterChain.doFilter(MidpointAuthFilter.java:404)
              at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:115)
              at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:81)
              at com.evolveum.midpoint.web.security.filter.MidpointAuthFilter$VirtualFilterChain.doFilter(MidpointAuthFilter.java:416)
              at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122)
              at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116)
              at com.evolveum.midpoint.web.security.filter.MidpointAuthFilter$VirtualFilterChain.doFilter(MidpointAuthFilter.java:416)
              at com.evolveum.midpoint.web.security.filter.MidpointAnonymousAuthenticationFilter.doFilter(MidpointAnonymousAuthenticationFilter.java:88)
              at com.evolveum.midpoint.web.security.filter.MidpointAuthFilter$VirtualFilterChain.doFilter(MidpointAuthFilter.java:416)
              at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149)
              at com.evolveum.midpoint.web.security.filter.MidpointAuthFilter$VirtualFilterChain.doFilter(MidpointAuthFilter.java:416)
              at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
              at com.evolveum.midpoint.web.security.filter.MidpointAuthFilter$VirtualFilterChain.doFilter(MidpointAuthFilter.java:416)
              at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:219)
              at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:213)
              at com.evolveum.midpoint.web.security.filter.MidpointAuthFilter$VirtualFilterChain.doFilter(MidpointAuthFilter.java:416)
              at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103)
              at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89)
              at com.evolveum.midpoint.web.security.filter.MidpointAuthFilter$VirtualFilterChain.doFilter(MidpointAuthFilter.java:416)
              at com.evolveum.midpoint.web.security.filter.RedirectForLoginPagesWithAuthenticationFilter.doFilterInternal(RedirectForLoginPagesWithAuthenticationFilter.java:39)
      ...
              at java.base/java.lang.Thread.run(Thread.java:833)
      Caused by: java.lang.reflect.InvocationTargetException: null
              at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
              at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
              at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
              at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
              at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:171)
              ... 107 common frames omitted
      Caused by: java.lang.IllegalStateException: Work item ID not specified.
              at com.evolveum.midpoint.web.page.admin.cases.PageCaseWorkItem.<init>(PageCaseWorkItem.java:105)
              ... 113 common frames omitted
      2022-03-03 11:18:49,618 [MODEL] [http-nio-8080-exec-5] WARN (com.evolveum.midpoint.web.page.error.PageError): Creating error page for code org.apache.wicket.WicketRuntimeException, exception Can't instantiate page using constructor 'public com.evolveum.midpoint.web.page.admin.cases.PageCaseWorkItem(org.apache.wicket.request.mapper.parameter.PageParameters)' and argument 'windowName=[e428ceec-8f7a-4773-ad71-d18d7ac9c4f7]'. An exception has been thrown during construction!: {}
      org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor 'public com.evolveum.midpoint.web.page.admin.cases.PageCaseWorkItem(org.apache.wicket.request.mapper.parameter.PageParameters)' and argument 'windowName=[e428ceec-8f7a-4773-ad71-d18d7ac9c4f7]'. An exception has been thrown during construction!
              at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:194)
              at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:99)
              at org.apache.wicket.DefaultMapperContext.newPageInstance(DefaultMapperContext.java:94)
              at org.apache.wicket.core.request.handler.PageProvider$Provision.getPage(PageProvider.java:369)
              at org.apache.wicket.core.request.handler.PageProvider.getPageInstance(PageProvider.java:170)
              at org.apache.wicket.core.request.handler.ListenerRequestHandler.getPage(ListenerRequestHandler.java:102)
              at org.apache.wicket.core.request.handler.ListenerRequestHandler.respond(ListenerRequestHandler.java:146)
              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)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:190)
      ...
      Caused by: java.lang.reflect.InvocationTargetException: null
              at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
              at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
              at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
              at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
              at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:171)
              ... 107 common frames omitted
      Caused by: java.lang.IllegalStateException: Work item ID not specified.
              at com.evolveum.midpoint.web.page.admin.cases.PageCaseWorkItem.<init>(PageCaseWorkItem.java:105)
              ... 113 common frames omitted
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: