<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle">P {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
</style>
</head>
<body fPStyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<p>Hi,</p>
<p> </p>
<p>I found the following errors:</p>
<p><br>
On securityPolicy, inside the nonce block in credentials it misses the tag <name>. See the example on Wiki</p>
<p>It should be:</p>
<p><nonce><br>
<maxAge>PT10M</maxAge><br>
<name>mailNonce</name><br>
<lockoutMaxFailedAttempts>3</lockoutMaxFailedAttempts><br>
<lockoutFailedAttemptsDuration>PT3M</lockoutFailedAttemptsDuration><br>
<lockoutDuration>PT15M</lockoutDuration><br>
<valuePolicyRef oid="00000004-0000-0000-0000-000000000001" relation="org:default" type="c:ValuePolicyType"><br>
<!-- Password Policy for password reset --><br>
</valuePolicyRef><br>
</nonce></p>
<p> </p>
<p>Then on the systemConfig, on the email script you should terminates the lines with a ";" or put them on separated lines</p>
<p>It should be:</p>
<p><code><br>
import com.evolveum.midpoint.notifications.api.events.ModelEvent<br>
modelEvent = (ModelEvent) event <br>
newUser = modelEvent.getFocusContext().getObjectNew(); <br>
userType = newUser.asObjectable(); <br>
link = midpoint.createPasswordResetLink(userType) <br>
bodyMessage = "Did you request password reset? If yes, click on the link bellow \n" + link
<br>
return bodyMessage;<br>
</code></p>
<p> </p>
<div>
<p>Once these lines fixed your code worked on my side </p>
<p> </p>
<div style="FONT-SIZE: 13px; FONT-FAMILY: Tahoma"><span lang="FR" style="FONT-SIZE: 10.5pt; FONT-FAMILY: "Calibri Light","sans-serif"; BACKGROUND: white; COLOR: blue">
<div style="FONT-SIZE: 13px; FONT-FAMILY: Tahoma"><span lang="FR" style="FONT-SIZE: 10.5pt; FONT-FAMILY: "Calibri Light","sans-serif"; BACKGROUND: white; COLOR: blue">
<div style="FONT-SIZE: 13px; FONT-FAMILY: Tahoma">
<p><b><span lang="FR" style="FONT-SIZE: 10.5pt; FONT-FAMILY: "Calibri Light","sans-serif"; BACKGROUND: white; COLOR: blue">Esteban Jeria</span></b></p>
<p><span><a href="mailto:esteban.jeria@cgi.com"><font face="Calibri Light">esteban.jeria@cgi.com</font></a><br>
</span><span lang="FR" style="FONT-SIZE: 9.5pt; FONT-FAMILY: "Calibri Light","sans-serif"; BACKGROUND: white; COLOR: black">Conseiller
</span><b><span lang="FR" style="FONT-SIZE: 9.5pt; FONT-FAMILY: "Calibri Light","sans-serif"; BACKGROUND: white; COLOR: red">CGI</span></b><span lang="FR" style="FONT-SIZE: 9.5pt; FONT-FAMILY: "Calibri Light","sans-serif"; BACKGROUND: white; COLOR: black">
/ </span><b><span style="FONT-SIZE: 9.5pt; FONT-FAMILY: "Calibri Light","sans-serif"; BACKGROUND: white; COLOR: red">CGI</span></b><span style="FONT-SIZE: 9.5pt; FONT-FAMILY: "Calibri Light","sans-serif"; BACKGROUND: white; COLOR: black"> Consultant</span><span style="FONT-SIZE: 10pt; FONT-FAMILY: "Tahoma","sans-serif"; COLOR: black"></span></p>
<p><span style="FONT-SIZE: 9.5pt; FONT-FAMILY: "Calibri Light","sans-serif"; BACKGROUND: white; COLOR: black"><span style="FONT-SIZE: 9.5pt; FONT-FAMILY: "Calibri Light","sans-serif"; BACKGROUND: white; COLOR: black">Sécurité - Gestion des Identités et des
Accès / Security - Identity and Access Management</span></span><span style="FONT-SIZE: 10pt; FONT-FAMILY: "Tahoma","sans-serif"; COLOR: black"></span></p>
</div>
</span></div>
</span></div>
</div>
<div style="FONT-SIZE: 16px; FONT-FAMILY: Times New Roman; COLOR: #000000">
<hr tabindex="-1">
<div id="divRpF455435" style="DIRECTION: ltr"><font color="#000000" size="2" face="Tahoma"><b>From:</b> Oleksandr Nekriach [o.nekriach@dynatech.lv]<br>
<b>Sent:</b> September 13, 2017 6:11 AM<br>
<b>To:</b> midpoint@lists.evolveum.com<br>
<b>Subject:</b> [midPoint] Reset Password by email issue "Error occurred during page rendering"<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div>
<div>Hello, guys<br>
</div>
I have followed instruction how to add "Reset Password by email" functionality (<a href="https://wiki.evolveum.com/display/midPoint/Reset+Password+Configuration" target="_blank">https://wiki.evolveum.com/display/midPoint/Reset+Password+Configuration</a>) and
have faced with problem when basic functionality of this feature doesn't work. When I pressed Reset button on password reset form I have redirected on error page (<span>500 Internal Server Error).
<br>
Please help what is wrong.</span><br>
<br>
To recreate this issue you should:<br>
<ul>
<li>have basic midpoint deployment (ubuntu 16.04 x64+tomcat 8.5.16+H2+java-1.8.0-openjdk-amd64) with ldap authentication settings;
</li><li>import xml files from attach;<br>
</li><li>open password reset form and fill username and email ;<br>
</li><li>press "Reset Password" button; </li><li>see an error page (<span>500 Internal Server Error)</span>. </li></ul>
Error from idm.log<br>
</div>
<div><br>
2017-09-13 12:05:19,077 [] [http-nio-8080-exec-2] ERROR (com.evolveum.midpoint.web.security.LoggingRequestCycleListener): Error occurred during page rendering.<br>
org.apache.wicket.WicketRuntimeException: Method onRequest of interface org.apache.wicket.behavior.IBehaviorListener targeted at org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1@7d5e5265 on component [AjaxSubmitButton [Component id = submitButton]]
threw an exception<br>
at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:268) ~[wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241) ~[wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:248) ~[wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:234) ~[wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895) ~[wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64) ~[wicket-request-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265) [wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222) [wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293) [wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:261) [wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203) [wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284) [wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.16]<br>
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.16]<br>
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:115) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:112) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:169) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:158) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.2.5.RELEASE.jar:4.2.5.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:206) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:121) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.2.5.RELEASE.jar:4.2.5.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:134) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:106) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-4.2.5.RELEASE.jar:4.2.5.RELEASE]<br>
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262) [spring-web-4.2.5.RELEASE.jar:4.2.5.RELEASE]<br>
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.16]<br>
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.16]<br>
at com.evolveum.midpoint.web.util.MidPointProfilingServletFilter.doFilter(MidPointProfilingServletFilter.java:86) [classes/:na]<br>
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.16]<br>
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.16]<br>
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) [catalina.jar:8.5.16]<br>
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [catalina.jar:8.5.16]<br>
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478) [catalina.jar:8.5.16]<br>
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [catalina.jar:8.5.16]<br>
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) [catalina.jar:8.5.16]<br>
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624) [catalina.jar:8.5.16]<br>
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [catalina.jar:8.5.16]<br>
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) [catalina.jar:8.5.16]<br>
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799) [tomcat-coyote.jar:8.5.16]<br>
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-coyote.jar:8.5.16]<br>
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) [tomcat-coyote.jar:8.5.16]<br>
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455) [tomcat-coyote.jar:8.5.16]<br>
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:8.5.16]<br>
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_131]<br>
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_131]<br>
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.5.16]<br>
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131]<br>
Caused by: java.lang.reflect.InvocationTargetException: null<br>
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131]<br>
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131]<br>
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131]<br>
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131]<br>
at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258) ~[wicket-core-7.6.0.jar:7.6.0]<br>
... 67 common frames omitted<br>
Caused by: java.lang.NullPointerException: null<br>
at com.evolveum.midpoint.model.common.stringpolicy.ValuePolicyProcessor.generate(ValuePolicyProcessor.java:121) ~[model-common-3.6.jar:na]<br>
at com.evolveum.midpoint.model.impl.controller.ModelInteractionServiceImpl.generateValue(ModelInteractionServiceImpl.java:812) ~[model-impl-3.6.jar:na]<br>
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131]<br>
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131]<br>
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131]<br>
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131]<br>
at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:507) ~[wicket-ioc-7.6.0.jar:7.6.0]<br>
at com.sun.proxy.$Proxy153.generateValue(Unknown Source) ~[na:na]<br>
at com.evolveum.midpoint.web.page.forgetpassword.PageForgotPassword.generateNonce(PageForgotPassword.java:462) ~[classes/:na]<br>
at com.evolveum.midpoint.web.page.forgetpassword.PageForgotPassword.access$400(PageForgotPassword.java:72) ~[classes/:na]<br>
at com.evolveum.midpoint.web.page.forgetpassword.PageForgotPassword$10.run(PageForgotPassword.java:427) ~[classes/:na]<br>
at com.evolveum.midpoint.web.page.forgetpassword.PageForgotPassword$10.run(PageForgotPassword.java:416) ~[classes/:na]<br>
at com.evolveum.midpoint.security.impl.SecurityEnforcerImpl.runPrivileged(SecurityEnforcerImpl.java:1508) ~[security-impl-3.6.jar:na]<br>
at com.evolveum.midpoint.web.security.MidPointGuiAuthorizationEvaluator.runPrivileged(MidPointGuiAuthorizationEvaluator.java:215) ~[classes/:na]<br>
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131]<br>
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131]<br>
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131]<br>
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131]<br>
at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:507) ~[wicket-ioc-7.6.0.jar:7.6.0]<br>
at com.sun.proxy.$Proxy158.runPrivileged(Unknown Source) ~[na:na]<br>
at com.evolveum.midpoint.gui.api.page.PageBase.runPrivileged(PageBase.java:1865) ~[classes/:na]<br>
at com.evolveum.midpoint.web.page.forgetpassword.PageForgotPassword.saveUserNonce(PageForgotPassword.java:416) ~[classes/:na]<br>
at com.evolveum.midpoint.web.page.forgetpassword.PageForgotPassword.processResetPassword(PageForgotPassword.java:287) ~[classes/:na]<br>
at com.evolveum.midpoint.web.page.forgetpassword.PageForgotPassword.access$200(PageForgotPassword.java:72) ~[classes/:na]<br>
at com.evolveum.midpoint.web.page.forgetpassword.PageForgotPassword$6.onSubmit(PageForgotPassword.java:223) ~[classes/:na]<br>
at org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1.onSubmit(AjaxSubmitLink.java:111) ~[wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior$AjaxFormSubmitter.onSubmit(AjaxFormSubmitBehavior.java:215) ~[wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1309) ~[wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.markup.html.form.Form.process(Form.java:976) ~[wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:797) ~[wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:171) ~[wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:155) ~[wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:601) ~[wicket-core-7.6.0.jar:7.6.0]<br>
... 72 common frames omitted<br>
2017-09-13 12:05:19,087 [] [http-nio-8080-exec-2] WARN (com.evolveum.midpoint.web.page.error.PageError): Creating error page for code org.apache.wicket.WicketRuntimeException, exception Method onRequest of interface org.apache.wicket.behavior.IBehaviorListener
targeted at org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1@7d5e5265 on component [AjaxSubmitButton [Component id = submitButton]] threw an exception: {}<br>
org.apache.wicket.WicketRuntimeException: Method onRequest of interface org.apache.wicket.behavior.IBehaviorListener targeted at org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1@7d5e5265 on component [AjaxSubmitButton [Component id = submitButton]]
threw an exception<br>
at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:268) ~[wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241) ~[wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:248) ~[wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:234) ~[wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895) ~[wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64) ~[wicket-request-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265) [wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222) [wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293) [wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:261) [wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203) [wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284) [wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.16]<br>
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.16]<br>
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:115) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:112) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:169) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:158) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.2.5.RELEASE.jar:4.2.5.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:206) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:121) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.2.5.RELEASE.jar:4.2.5.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:134) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:106) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177) [spring-security-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]<br>
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-4.2.5.RELEASE.jar:4.2.5.RELEASE]<br>
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262) [spring-web-4.2.5.RELEASE.jar:4.2.5.RELEASE]<br>
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.16]<br>
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.16]<br>
at com.evolveum.midpoint.web.util.MidPointProfilingServletFilter.doFilter(MidPointProfilingServletFilter.java:86) [classes/:na]<br>
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.16]<br>
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.16]<br>
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) [catalina.jar:8.5.16]<br>
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [catalina.jar:8.5.16]<br>
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478) [catalina.jar:8.5.16]<br>
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [catalina.jar:8.5.16]<br>
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) [catalina.jar:8.5.16]<br>
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624) [catalina.jar:8.5.16]<br>
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [catalina.jar:8.5.16]<br>
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) [catalina.jar:8.5.16]<br>
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799) [tomcat-coyote.jar:8.5.16]<br>
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-coyote.jar:8.5.16]<br>
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) [tomcat-coyote.jar:8.5.16]<br>
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455) [tomcat-coyote.jar:8.5.16]<br>
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:8.5.16]<br>
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_131]<br>
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_131]<br>
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.5.16]<br>
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131]<br>
Caused by: java.lang.reflect.InvocationTargetException: null<br>
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131]<br>
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131]<br>
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131]<br>
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131]<br>
at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258) ~[wicket-core-7.6.0.jar:7.6.0]<br>
... 67 common frames omitted<br>
Caused by: java.lang.NullPointerException: null<br>
at com.evolveum.midpoint.model.common.stringpolicy.ValuePolicyProcessor.generate(ValuePolicyProcessor.java:121) ~[model-common-3.6.jar:na]<br>
at com.evolveum.midpoint.model.impl.controller.ModelInteractionServiceImpl.generateValue(ModelInteractionServiceImpl.java:812) ~[model-impl-3.6.jar:na]<br>
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131]<br>
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131]<br>
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131]<br>
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131]<br>
at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:507) ~[wicket-ioc-7.6.0.jar:7.6.0]<br>
at com.sun.proxy.$Proxy153.generateValue(Unknown Source) ~[na:na]<br>
at com.evolveum.midpoint.web.page.forgetpassword.PageForgotPassword.generateNonce(PageForgotPassword.java:462) ~[classes/:na]<br>
at com.evolveum.midpoint.web.page.forgetpassword.PageForgotPassword.access$400(PageForgotPassword.java:72) ~[classes/:na]<br>
at com.evolveum.midpoint.web.page.forgetpassword.PageForgotPassword$10.run(PageForgotPassword.java:427) ~[classes/:na]<br>
at com.evolveum.midpoint.web.page.forgetpassword.PageForgotPassword$10.run(PageForgotPassword.java:416) ~[classes/:na]<br>
at com.evolveum.midpoint.security.impl.SecurityEnforcerImpl.runPrivileged(SecurityEnforcerImpl.java:1508) ~[security-impl-3.6.jar:na]<br>
at com.evolveum.midpoint.web.security.MidPointGuiAuthorizationEvaluator.runPrivileged(MidPointGuiAuthorizationEvaluator.java:215) ~[classes/:na]<br>
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131]<br>
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131]<br>
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131]<br>
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131]<br>
at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:507) ~[wicket-ioc-7.6.0.jar:7.6.0]<br>
at com.sun.proxy.$Proxy158.runPrivileged(Unknown Source) ~[na:na]<br>
at com.evolveum.midpoint.gui.api.page.PageBase.runPrivileged(PageBase.java:1865) ~[classes/:na]<br>
at com.evolveum.midpoint.web.page.forgetpassword.PageForgotPassword.saveUserNonce(PageForgotPassword.java:416) ~[classes/:na]<br>
at com.evolveum.midpoint.web.page.forgetpassword.PageForgotPassword.processResetPassword(PageForgotPassword.java:287) ~[classes/:na]<br>
at com.evolveum.midpoint.web.page.forgetpassword.PageForgotPassword.access$200(PageForgotPassword.java:72) ~[classes/:na]<br>
at com.evolveum.midpoint.web.page.forgetpassword.PageForgotPassword$6.onSubmit(PageForgotPassword.java:223) ~[classes/:na]<br>
at org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1.onSubmit(AjaxSubmitLink.java:111) ~[wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior$AjaxFormSubmitter.onSubmit(AjaxFormSubmitBehavior.java:215) ~[wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1309) ~[wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.markup.html.form.Form.process(Form.java:976) ~[wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:797) ~[wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:171) ~[wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:155) ~[wicket-core-7.6.0.jar:7.6.0]<br>
at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:601) ~[wicket-core-7.6.0.jar:7.6.0]<br>
... 72 common frames omitted<br>
<br>
</div>
<div>
<div>
<div>
<div>
<div><br>
<br>
<br>
<br clear="all">
<br>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><span style="COLOR: rgb(76,76,76)">Best regards, <br>
<br>
Oleksandr Nekriach | Identity and access management engineer <br>
<br>
Dynatech, Mednieku str. 4a, Riga, LV-1010, Latvia <br>
<br>
<div style="DISPLAY: inline-block"><a href="tel:+371%2025%20314%20685" target="_blank" value="+37125314685">+37125314685</a></div>
,
<div style="DISPLAY: inline-block"><a href="mailto:o.nekriach@dynatech.lv" target="_blank">o.nekriach@dynatech.lv</a></div>
|
<div style="DISPLAY: inline-block"><a href="http://www.dynatech.lv" target="_blank">www.dynatech.lv</a></div>
<br>
<br>
<img src="cid:o.nekriach@dynatech.lv1502777022855-7770"> <br>
<br>
Stay connected: <br>
<div style="MARGIN: 5px 5px 0px 0px; DISPLAY: inline-block"><a href="https://www.facebook.com/DynatechLatvia/?ref=br_rs" target="_blank"><img src="cid:o.nekriach@dynatech.lv1502777022855-7771"></a></div>
<div style="MARGIN: 5px 0px 0px; DISPLAY: inline-block"><a href="https://www.linkedin.com/company-beta/17893047/" target="_blank"><img src="cid:o.nekriach@dynatech.lv1502777022855-7772"></a></div>
<br>
<br>
<span style="FONT-SIZE: 11px; COLOR: rgb(161,161,161)">Confidentiality Notice: This message contains confidential information and is intended only for the named recipient(s). If you are not the addressee you may not copy, distribute or perform any other activities
with this information. If you have received this transmission in error, please notify us by e-mail immediately. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses.</span></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>