<div dir="ltr"><div><div><div>Thank you very much, Pavol<br></div>I have just added <br>   <infrastructure><br>      <defaultHostname><a href="http://myHostname8080/midpoint">http://myHostname8080/midpoint</a></defaultHostname><br>   </infrastructure><br>to systemConfiguration<br></div>and everything works!!!<br><br></div>Best regards, Oleksandr <br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-09-14 11:50 GMT+03:00 Pavol Mederly <span dir="ltr"><<a href="mailto:mederly@evolveum.com" target="_blank">mederly@evolveum.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>Correcting myself: infrastructure/<wbr>defaultHostname.<br>
    </p><span class="">
    <pre class="m_5949884302778853771moz-signature" cols="72">Pavol Mederly
Software developer
<a href="http://evolveum.com" target="_blank">evolveum.com</a>
</pre>
    </span><div><div class="h5"><div class="m_5949884302778853771moz-cite-prefix">On 14.09.2017 10:48, Pavol Mederly
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <p>Hello.</p>
      <p>Until midPoint documentation is really complete, I strongly
        suggest looking at files in this directory:</p>
      <p><a href="https://github.com/Evolveum/midpoint/tree/master/infra/schema/src/main/resources/xml/ns/public/common" target="_blank">https://github.com/Evolveum/<wbr>midpoint/tree/master/infra/<wbr>schema/src/main/resources/xml/<wbr>ns/public/common</a></p>
      <p>(There's also a HTML-generated version in the schemadoc
        directory: infra/schema/target/schemadoc/<wbr>index.html.)</p>
      <p>What you are looking for is <b>infrastructure/hostname</b>
        property in the system configuration object.<br>
      </p>
      <p><a href="https://github.com/Evolveum/midpoint/blob/master/infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd#L16602" target="_blank">https://github.com/Evolveum/<wbr>midpoint/blob/master/infra/<wbr>schema/src/main/resources/xml/<wbr>ns/public/common/common-core-<wbr>3.xsd#L16602</a><br>
      </p>
      Best regards,
      <pre class="m_5949884302778853771moz-signature" cols="72">Pavol Mederly
Software developer
<a href="http://evolveum.com" target="_blank">evolveum.com</a>
</pre>
      <div class="m_5949884302778853771moz-cite-prefix">On 14.09.2017 10:38, Wojciech
        Staszewski wrote:<br>
      </div>
      <blockquote type="cite">
        <pre>Hello!

Exactly. I was looking for the 'hostname' variable too and found nothing.
For now I made a workaround like this:

link = midpoint.<wbr>createPasswordResetLink(<wbr>userType).replaceAll('null','<a class="m_5949884302778853771moz-txt-link-freetext" href="https://idm.mydomain.com/midpoint" target="_blank">h<wbr>ttps://idm.mydomain.com/<wbr>midpoint</a>');

and it works, but I would like to know where to configure hostname.

Regards,
WS

W dniu 14.09.2017 o 09:48, Oleksandr Nekriach pisze:
</pre>
        <blockquote type="cite">
          <pre>Hello Esteban,

Many thanks to you!!!
Could you help me one more time, where is correct place to define hostname to fix next notification issue?
I have got a broken link in notification
null/confirm/reset?user=<wbr>testuser10&token=qfwB1n8'
and errors in the idm.log
2017-09-14 09:23:36,811 [] [http-nio-8080-exec-9] ERROR (com.evolveum.midpoint.model.<wbr>impl.expr.<wbr>MidpointFunctionsImpl): No hostname defined. It can break link generation.

PS. Documentation bugs

Email script with empty rows I have got from this example
<a class="m_5949884302778853771moz-txt-link-freetext" href="https://github.com/Evolveum/midpoint/blob/master/samples/evolveum/system-configuration.xml" target="_blank">https://github.com/Evolveum/<wbr>midpoint/blob/master/samples/<wbr>evolveum/system-configuration.<wbr>xml</a>
Nonce block in credentials with missed tag <name> I have got from Security Policy sample
<a class="m_5949884302778853771moz-txt-link-freetext" href="https://wiki.evolveum.com/display/midPoint/Security+Policy+Configuration" target="_blank">https://wiki.evolveum.com/<wbr>display/midPoint/Security+<wbr>Policy+Configuration</a>
Please fix this samples.


2017-09-13 22:00 GMT+03:00 Jeria, Esteban <<a class="m_5949884302778853771moz-txt-link-abbreviated" href="mailto:esteban.jeria@cgi.com" target="_blank">esteban.jeria@cgi.com</a> <a class="m_5949884302778853771moz-txt-link-rfc2396E" href="mailto:esteban.jeria@cgi.com" target="_blank"><mailto:esteban.jeria@cgi.com></a><wbr>>:

    Hi,

     

    I found the following errors:


    On securityPolicy, inside the nonce block in credentials it misses the tag <name>. See the example on Wiki

    It should be:

    <nonce>
      <maxAge>PT10M</maxAge>
      <name>mailNonce</name>
      <lockoutMaxFailedAttempts>3</<wbr>lockoutMaxFailedAttempts>
      <<wbr>lockoutFailedAttemptsDuration><wbr>PT3M</<wbr>lockoutFailedAttemptsDuration>
      <lockoutDuration>PT15M</<wbr>lockoutDuration>
      <valuePolicyRef oid="00000004-0000-0000-0000-<wbr>000000000001" relation="org:default" type="c:ValuePolicyType">
        <!--  Password Policy for password reset  -->
      </valuePolicyRef>
    </nonce>

     

    Then on the systemConfig, on the email script you should terminates the lines with a ";" or put them on separated lines

    It should be:

    <code>
       import com.evolveum.midpoint.<wbr>notifications.api.events.<wbr>ModelEvent
       modelEvent = (ModelEvent) event
       newUser = modelEvent.getFocusContext().<wbr>getObjectNew();
       userType = newUser.asObjectable();
       link = midpoint.<wbr>createPasswordResetLink(<wbr>userType)
       bodyMessage = "Did you request password reset? If yes, click on the link bellow \n" + link
       return bodyMessage;
    </code>

     

    Once these lines fixed your code worked on my side

     

    *Esteban Jeria*

    <a class="m_5949884302778853771moz-txt-link-abbreviated" href="mailto:esteban.jeria@cgi.com" target="_blank">esteban.jeria@cgi.com</a> <a class="m_5949884302778853771moz-txt-link-rfc2396E" href="mailto:esteban.jeria@cgi.com" target="_blank"><mailto:esteban.jeria@cgi.com></a>
    Conseiller *CGI*/ *CGI*Consultant

    Sécurité - Gestion des Identités et des Accès / Security - Identity and Access Management

    ------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>--------------------
    *From:* Oleksandr Nekriach [<a class="m_5949884302778853771moz-txt-link-abbreviated" href="mailto:o.nekriach@dynatech.lv" target="_blank">o.nekriach@dynatech.lv</a> <a class="m_5949884302778853771moz-txt-link-rfc2396E" href="mailto:o.nekriach@dynatech.lv" target="_blank"><mailto:o.nekriach@dynatech.<wbr>lv></a>]
    *Sent:* September 13, 2017 6:11 AM
    *To:* <a class="m_5949884302778853771moz-txt-link-abbreviated" href="mailto:midpoint@lists.evolveum.com" target="_blank">midpoint@lists.evolveum.com</a> <a class="m_5949884302778853771moz-txt-link-rfc2396E" href="mailto:midpoint@lists.evolveum.com" target="_blank"><mailto:midpoint@lists.<wbr>evolveum.com></a>
    *Subject:* [midPoint] Reset Password by email issue "Error occurred during page rendering"

    Hello, guys
    I have followed instruction how to add "Reset Password by email" functionality (<a class="m_5949884302778853771moz-txt-link-freetext" href="https://wiki.evolveum.com/display/midPoint/Reset+Password+Configuration" target="_blank">https://wiki.evolveum.com/<wbr>display/midPoint/Reset+<wbr>Password+Configuration</a> <a class="m_5949884302778853771moz-txt-link-rfc2396E" href="https://wiki.evolveum.com/display/midPoint/Reset+Password+Configuration" target="_blank"><https://wiki.evolveum.com/<wbr>display/midPoint/Reset+<wbr>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 (500 Internal Server Error).
    Please help what is wrong.

    To recreate this issue you should:

      * have basic midpoint deployment (ubuntu 16.04 x64+tomcat 8.5.16+H2+java-1.8.0-openjdk-<wbr>amd64) with ldap authentication settings;
      * import xml files from attach;
      * open password reset form and fill username and email ;
      * press "Reset Password" button;
      * see an error page (500 Internal Server Error). 

    Error from idm.log

    2017-09-13 12:05:19,077 [] [http-nio-8080-exec-2] ERROR (com.evolveum.midpoint.web.<wbr>security.<wbr>LoggingRequestCycleListener): Error occurred during page rendering.
    org.apache.wicket.<wbr>WicketRuntimeException: Method onRequest of interface org.apache.wicket.behavior.<wbr>IBehaviorListener targeted at org.apache.wicket.ajax.markup.<wbr>html.form.AjaxSubmitLink$1@<wbr>7d5e5265 on component [AjaxSubmitButton [Component id = submitButton]] threw an exception
            at org.apache.wicket.<wbr>RequestListenerInterface.<wbr>internalInvoke(<wbr>RequestListenerInterface.java:<wbr>268) ~[wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.<wbr>RequestListenerInterface.<wbr>invoke(<wbr>RequestListenerInterface.java:<wbr>241) ~[wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.core.<wbr>request.handler.<wbr>ListenerInterfaceRequestHandle<wbr>r.invokeListener(<wbr>ListenerInterfaceRequestHandle<wbr>r.java:248) ~[wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.core.<wbr>request.handler.<wbr>ListenerInterfaceRequestHandle<wbr>r.respond(<wbr>ListenerInterfaceRequestHandle<wbr>r.java:234) ~[wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.request.<wbr>cycle.RequestCycle$<wbr>HandlerExecutor.respond(<wbr>RequestCycle.java:895) ~[wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.request.<wbr>RequestHandlerStack.execute(<wbr>RequestHandlerStack.java:64) ~[wicket-request-7.6.0.jar:7.<wbr>6.0]
            at org.apache.wicket.request.<wbr>cycle.RequestCycle.execute(<wbr>RequestCycle.java:265) [wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.request.<wbr>cycle.RequestCycle.<wbr>processRequest(RequestCycle.<wbr>java:222) [wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.request.<wbr>cycle.RequestCycle.<wbr>processRequestAndDetach(<wbr>RequestCycle.java:293) [wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.protocol.<wbr>http.WicketFilter.<wbr>processRequestCycle(<wbr>WicketFilter.java:261) [wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.protocol.<wbr>http.WicketFilter.<wbr>processRequest(WicketFilter.<wbr>java:203) [wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.protocol.<wbr>http.WicketFilter.doFilter(<wbr>WicketFilter.java:284) [wicket-core-7.6.0.jar:7.6.0]
            at org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>internalDoFilter(<wbr>ApplicationFilterChain.java:<wbr>193) [catalina.jar:8.5.16]
            at org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>doFilter(<wbr>ApplicationFilterChain.java:<wbr>166) [catalina.jar:8.5.16]
            at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:317) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.access.intercept.<wbr>FilterSecurityInterceptor.<wbr>invoke(<wbr>FilterSecurityInterceptor.<wbr>java:127) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.access.intercept.<wbr>FilterSecurityInterceptor.<wbr>doFilter(<wbr>FilterSecurityInterceptor.<wbr>java:91) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:331) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.access.<wbr>ExceptionTranslationFilter.<wbr>doFilter(<wbr>ExceptionTranslationFilter.<wbr>java:115) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:331) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.session.<wbr>SessionManagementFilter.<wbr>doFilter(<wbr>SessionManagementFilter.java:<wbr>137) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:331) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.authentication.<wbr>AnonymousAuthenticationFilter.<wbr>doFilter(<wbr>AnonymousAuthenticationFilter.<wbr>java:112) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:331) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.servletapi.<wbr>SecurityContextHolderAwareRequ<wbr>estFilter.doFilter(<wbr>SecurityContextHolderAwareRequ<wbr>estFilter.java:169) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:331) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.savedrequest.<wbr>RequestCacheAwareFilter.<wbr>doFilter(<wbr>RequestCacheAwareFilter.java:<wbr>63) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:331) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.authentication.www.<wbr>BasicAuthenticationFilter.<wbr>doFilterInternal(<wbr>BasicAuthenticationFilter.<wbr>java:158) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.web.<wbr>filter.OncePerRequestFilter.<wbr>doFilter(OncePerRequestFilter.<wbr>java:107) [spring-web-4.2.5.RELEASE.jar:<wbr>4.2.5.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:331) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.authentication.<wbr>AbstractAuthenticationProcessi<wbr>ngFilter.doFilter(<wbr>AbstractAuthenticationProcessi<wbr>ngFilter.java:206) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:331) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.authentication.logout.<wbr>LogoutFilter.doFilter(<wbr>LogoutFilter.java:121) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:331) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.context.request.async.<wbr>WebAsyncManagerIntegrationFilt<wbr>er.doFilterInternal(<wbr>WebAsyncManagerIntegrationFilt<wbr>er.java:56) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.web.<wbr>filter.OncePerRequestFilter.<wbr>doFilter(OncePerRequestFilter.<wbr>java:107) [spring-web-4.2.5.RELEASE.jar:<wbr>4.2.5.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:331) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.session.<wbr>ConcurrentSessionFilter.<wbr>doFilter(<wbr>ConcurrentSessionFilter.java:<wbr>134) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:331) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.context.<wbr>SecurityContextPersistenceFilt<wbr>er.doFilter(<wbr>SecurityContextPersistenceFilt<wbr>er.java:106) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:331) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy.<wbr>doFilterInternal(<wbr>FilterChainProxy.java:214) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy.doFilter(<wbr>FilterChainProxy.java:177) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.web.<wbr>filter.DelegatingFilterProxy.<wbr>invokeDelegate(<wbr>DelegatingFilterProxy.java:<wbr>346) [spring-web-4.2.5.RELEASE.jar:<wbr>4.2.5.RELEASE]
            at org.springframework.web.<wbr>filter.DelegatingFilterProxy.<wbr>doFilter(<wbr>DelegatingFilterProxy.java:<wbr>262) [spring-web-4.2.5.RELEASE.jar:<wbr>4.2.5.RELEASE]
            at org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>internalDoFilter(<wbr>ApplicationFilterChain.java:<wbr>193) [catalina.jar:8.5.16]
            at org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>doFilter(<wbr>ApplicationFilterChain.java:<wbr>166) [catalina.jar:8.5.16]
            at com.evolveum.midpoint.web.<wbr>util.<wbr>MidPointProfilingServletFilter<wbr>.doFilter(<wbr>MidPointProfilingServletFilter<wbr>.java:86) [classes/:na]
            at org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>internalDoFilter(<wbr>ApplicationFilterChain.java:<wbr>193) [catalina.jar:8.5.16]
            at org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>doFilter(<wbr>ApplicationFilterChain.java:<wbr>166) [catalina.jar:8.5.16]
            at org.apache.catalina.core.<wbr>StandardWrapperValve.invoke(<wbr>StandardWrapperValve.java:198) [catalina.jar:8.5.16]
            at org.apache.catalina.core.<wbr>StandardContextValve.invoke(<wbr>StandardContextValve.java:96) [catalina.jar:8.5.16]
            at org.apache.catalina.<wbr>authenticator.<wbr>AuthenticatorBase.invoke(<wbr>AuthenticatorBase.java:478) [catalina.jar:8.5.16]
            at org.apache.catalina.core.<wbr>StandardHostValve.invoke(<wbr>StandardHostValve.java:140) [catalina.jar:8.5.16]
            at org.apache.catalina.valves.<wbr>ErrorReportValve.invoke(<wbr>ErrorReportValve.java:80) [catalina.jar:8.5.16]
            at org.apache.catalina.valves.<wbr>AbstractAccessLogValve.invoke(<wbr>AbstractAccessLogValve.java:<wbr>624) [catalina.jar:8.5.16]
            at org.apache.catalina.core.<wbr>StandardEngineValve.invoke(<wbr>StandardEngineValve.java:87) [catalina.jar:8.5.16]
            at org.apache.catalina.connector.<wbr>CoyoteAdapter.service(<wbr>CoyoteAdapter.java:342) [catalina.jar:8.5.16]
            at org.apache.coyote.http11.<wbr>Http11Processor.service(<wbr>Http11Processor.java:799) [tomcat-coyote.jar:8.5.16]
            at org.apache.coyote.<wbr>AbstractProcessorLight.<wbr>process(<wbr>AbstractProcessorLight.java:<wbr>66) [tomcat-coyote.jar:8.5.16]
            at org.apache.coyote.<wbr>AbstractProtocol$<wbr>ConnectionHandler.process(<wbr>AbstractProtocol.java:868) [tomcat-coyote.jar:8.5.16]
            at <a href="http://org.apache.tomcat.util.net" target="_blank">org.apache.tomcat.util.net</a> <a class="m_5949884302778853771moz-txt-link-rfc2396E" href="http://org.apache.tomcat.util.net" target="_blank"><http://org.apache.tomcat.<wbr>util.net></a>.NioEndpoint$<wbr>SocketProcessor.doRun(<wbr>NioEndpoint.java:1455) [tomcat-coyote.jar:8.5.16]
            at <a href="http://org.apache.tomcat.util.net" target="_blank">org.apache.tomcat.util.net</a> <a class="m_5949884302778853771moz-txt-link-rfc2396E" href="http://org.apache.tomcat.util.net" target="_blank"><http://org.apache.tomcat.<wbr>util.net></a>.SocketProcessorBase.<wbr>run(SocketProcessorBase.java:<wbr>49) [tomcat-coyote.jar:8.5.16]
            at java.util.concurrent.<wbr>ThreadPoolExecutor.runWorker(<wbr>ThreadPoolExecutor.java:1149) [na:1.8.0_131]
            at java.util.concurrent.<wbr>ThreadPoolExecutor$Worker.run(<wbr>ThreadPoolExecutor.java:624) [na:1.8.0_131]
            at org.apache.tomcat.util.<wbr>threads.TaskThread$<wbr>WrappingRunnable.run(<wbr>TaskThread.java:61) [tomcat-util.jar:8.5.16]
            at java.lang.Thread.run(Thread.<wbr>java:748) [na:1.8.0_131]
    Caused by: java.lang.reflect.<wbr>InvocationTargetException: null
            at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke0(Native Method) ~[na:1.8.0_131]
            at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke(<wbr>NativeMethodAccessorImpl.java:<wbr>62) ~[na:1.8.0_131]
            at sun.reflect.<wbr>DelegatingMethodAccessorImpl.<wbr>invoke(<wbr>DelegatingMethodAccessorImpl.<wbr>java:43) ~[na:1.8.0_131]
            at java.lang.reflect.Method.<wbr>invoke(Method.java:498) ~[na:1.8.0_131]
            at org.apache.wicket.<wbr>RequestListenerInterface.<wbr>internalInvoke(<wbr>RequestListenerInterface.java:<wbr>258) ~[wicket-core-7.6.0.jar:7.6.0]
            ... 67 common frames omitted
    Caused by: java.lang.<wbr>NullPointerException: null
            at com.evolveum.midpoint.model.<wbr>common.stringpolicy.<wbr>ValuePolicyProcessor.generate(<wbr>ValuePolicyProcessor.java:121) ~[model-common-3.6.jar:na]
            at com.evolveum.midpoint.model.<wbr>impl.controller.<wbr>ModelInteractionServiceImpl.<wbr>generateValue(<wbr>ModelInteractionServiceImpl.<wbr>java:812) ~[model-impl-3.6.jar:na]
            at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke0(Native Method) ~[na:1.8.0_131]
            at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke(<wbr>NativeMethodAccessorImpl.java:<wbr>62) ~[na:1.8.0_131]
            at sun.reflect.<wbr>DelegatingMethodAccessorImpl.<wbr>invoke(<wbr>DelegatingMethodAccessorImpl.<wbr>java:43) ~[na:1.8.0_131]
            at java.lang.reflect.Method.<wbr>invoke(Method.java:498) ~[na:1.8.0_131]
            at org.apache.wicket.proxy.<wbr>LazyInitProxyFactory$<wbr>JdkHandler.invoke(<wbr>LazyInitProxyFactory.java:507) ~[wicket-ioc-7.6.0.jar:7.6.0]
            at com.sun.proxy.$Proxy153.<wbr>generateValue(Unknown Source) ~[na:na]
            at com.evolveum.midpoint.web.<wbr>page.forgetpassword.<wbr>PageForgotPassword.<wbr>generateNonce(<wbr>PageForgotPassword.java:462) ~[classes/:na]
            at com.evolveum.midpoint.web.<wbr>page.forgetpassword.<wbr>PageForgotPassword.access$400(<wbr>PageForgotPassword.java:72) ~[classes/:na]
            at com.evolveum.midpoint.web.<wbr>page.forgetpassword.<wbr>PageForgotPassword$10.run(<wbr>PageForgotPassword.java:427) ~[classes/:na]
            at com.evolveum.midpoint.web.<wbr>page.forgetpassword.<wbr>PageForgotPassword$10.run(<wbr>PageForgotPassword.java:416) ~[classes/:na]
            at com.evolveum.midpoint.<wbr>security.impl.<wbr>SecurityEnforcerImpl.<wbr>runPrivileged(<wbr>SecurityEnforcerImpl.java:<wbr>1508) ~[security-impl-3.6.jar:na]
            at com.evolveum.midpoint.web.<wbr>security.<wbr>MidPointGuiAuthorizationEvalua<wbr>tor.runPrivileged(<wbr>MidPointGuiAuthorizationEvalua<wbr>tor.java:215) ~[classes/:na]
            at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke0(Native Method) ~[na:1.8.0_131]
            at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke(<wbr>NativeMethodAccessorImpl.java:<wbr>62) ~[na:1.8.0_131]
            at sun.reflect.<wbr>DelegatingMethodAccessorImpl.<wbr>invoke(<wbr>DelegatingMethodAccessorImpl.<wbr>java:43) ~[na:1.8.0_131]
            at java.lang.reflect.Method.<wbr>invoke(Method.java:498) ~[na:1.8.0_131]
            at org.apache.wicket.proxy.<wbr>LazyInitProxyFactory$<wbr>JdkHandler.invoke(<wbr>LazyInitProxyFactory.java:507) ~[wicket-ioc-7.6.0.jar:7.6.0]
            at com.sun.proxy.$Proxy158.<wbr>runPrivileged(Unknown Source) ~[na:na]
            at com.evolveum.midpoint.gui.api.<wbr>page.PageBase.runPrivileged(<wbr>PageBase.java:1865) ~[classes/:na]
            at com.evolveum.midpoint.web.<wbr>page.forgetpassword.<wbr>PageForgotPassword.<wbr>saveUserNonce(<wbr>PageForgotPassword.java:416) ~[classes/:na]
            at com.evolveum.midpoint.web.<wbr>page.forgetpassword.<wbr>PageForgotPassword.<wbr>processResetPassword(<wbr>PageForgotPassword.java:287) ~[classes/:na]
            at com.evolveum.midpoint.web.<wbr>page.forgetpassword.<wbr>PageForgotPassword.access$200(<wbr>PageForgotPassword.java:72) ~[classes/:na]
            at com.evolveum.midpoint.web.<wbr>page.forgetpassword.<wbr>PageForgotPassword$6.onSubmit(<wbr>PageForgotPassword.java:223) ~[classes/:na]
            at org.apache.wicket.ajax.markup.<wbr>html.form.AjaxSubmitLink$1.<wbr>onSubmit(AjaxSubmitLink.java:<wbr>111) ~[wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.ajax.form.<wbr>AjaxFormSubmitBehavior$<wbr>AjaxFormSubmitter.onSubmit(<wbr>AjaxFormSubmitBehavior.java:<wbr>215) ~[wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.markup.html.<wbr>form.Form.delegateSubmit(Form.<wbr>java:1309) ~[wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.markup.html.<wbr>form.Form.process(Form.java:<wbr>976) ~[wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.markup.html.<wbr>form.Form.onFormSubmitted(<wbr>Form.java:797) ~[wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.ajax.form.<wbr>AjaxFormSubmitBehavior.<wbr>onEvent(<wbr>AjaxFormSubmitBehavior.java:<wbr>171) ~[wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.ajax.<wbr>AjaxEventBehavior.respond(<wbr>AjaxEventBehavior.java:155) ~[wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.ajax.<wbr>AbstractDefaultAjaxBehavior.<wbr>onRequest(<wbr>AbstractDefaultAjaxBehavior.<wbr>java:601) ~[wicket-core-7.6.0.jar:7.6.0]
            ... 72 common frames omitted
    2017-09-13 12:05:19,087 [] [http-nio-8080-exec-2] WARN (com.evolveum.midpoint.web.<wbr>page.error.PageError): Creating error page for code org.apache.wicket.<wbr>WicketRuntimeException, exception Method onRequest of interface org.apache.wicket.behavior.<wbr>IBehaviorListener targeted at org.apache.wicket.ajax.markup.<wbr>html.form.AjaxSubmitLink$1@<wbr>7d5e5265 on component [AjaxSubmitButton [Component id = submitButton]] threw an exception: {}
    org.apache.wicket.<wbr>WicketRuntimeException: Method onRequest of interface org.apache.wicket.behavior.<wbr>IBehaviorListener targeted at org.apache.wicket.ajax.markup.<wbr>html.form.AjaxSubmitLink$1@<wbr>7d5e5265 on component [AjaxSubmitButton [Component id = submitButton]] threw an exception
            at org.apache.wicket.<wbr>RequestListenerInterface.<wbr>internalInvoke(<wbr>RequestListenerInterface.java:<wbr>268) ~[wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.<wbr>RequestListenerInterface.<wbr>invoke(<wbr>RequestListenerInterface.java:<wbr>241) ~[wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.core.<wbr>request.handler.<wbr>ListenerInterfaceRequestHandle<wbr>r.invokeListener(<wbr>ListenerInterfaceRequestHandle<wbr>r.java:248) ~[wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.core.<wbr>request.handler.<wbr>ListenerInterfaceRequestHandle<wbr>r.respond(<wbr>ListenerInterfaceRequestHandle<wbr>r.java:234) ~[wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.request.<wbr>cycle.RequestCycle$<wbr>HandlerExecutor.respond(<wbr>RequestCycle.java:895) ~[wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.request.<wbr>RequestHandlerStack.execute(<wbr>RequestHandlerStack.java:64) ~[wicket-request-7.6.0.jar:7.<wbr>6.0]
            at org.apache.wicket.request.<wbr>cycle.RequestCycle.execute(<wbr>RequestCycle.java:265) [wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.request.<wbr>cycle.RequestCycle.<wbr>processRequest(RequestCycle.<wbr>java:222) [wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.request.<wbr>cycle.RequestCycle.<wbr>processRequestAndDetach(<wbr>RequestCycle.java:293) [wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.protocol.<wbr>http.WicketFilter.<wbr>processRequestCycle(<wbr>WicketFilter.java:261) [wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.protocol.<wbr>http.WicketFilter.<wbr>processRequest(WicketFilter.<wbr>java:203) [wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.protocol.<wbr>http.WicketFilter.doFilter(<wbr>WicketFilter.java:284) [wicket-core-7.6.0.jar:7.6.0]
            at org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>internalDoFilter(<wbr>ApplicationFilterChain.java:<wbr>193) [catalina.jar:8.5.16]
            at org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>doFilter(<wbr>ApplicationFilterChain.java:<wbr>166) [catalina.jar:8.5.16]
            at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:317) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.access.intercept.<wbr>FilterSecurityInterceptor.<wbr>invoke(<wbr>FilterSecurityInterceptor.<wbr>java:127) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.access.intercept.<wbr>FilterSecurityInterceptor.<wbr>doFilter(<wbr>FilterSecurityInterceptor.<wbr>java:91) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:331) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.access.<wbr>ExceptionTranslationFilter.<wbr>doFilter(<wbr>ExceptionTranslationFilter.<wbr>java:115) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:331) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.session.<wbr>SessionManagementFilter.<wbr>doFilter(<wbr>SessionManagementFilter.java:<wbr>137) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:331) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.authentication.<wbr>AnonymousAuthenticationFilter.<wbr>doFilter(<wbr>AnonymousAuthenticationFilter.<wbr>java:112) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:331) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.servletapi.<wbr>SecurityContextHolderAwareRequ<wbr>estFilter.doFilter(<wbr>SecurityContextHolderAwareRequ<wbr>estFilter.java:169) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:331) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.savedrequest.<wbr>RequestCacheAwareFilter.<wbr>doFilter(<wbr>RequestCacheAwareFilter.java:<wbr>63) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:331) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.authentication.www.<wbr>BasicAuthenticationFilter.<wbr>doFilterInternal(<wbr>BasicAuthenticationFilter.<wbr>java:158) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.web.<wbr>filter.OncePerRequestFilter.<wbr>doFilter(OncePerRequestFilter.<wbr>java:107) [spring-web-4.2.5.RELEASE.jar:<wbr>4.2.5.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:331) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.authentication.<wbr>AbstractAuthenticationProcessi<wbr>ngFilter.doFilter(<wbr>AbstractAuthenticationProcessi<wbr>ngFilter.java:206) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:331) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.authentication.logout.<wbr>LogoutFilter.doFilter(<wbr>LogoutFilter.java:121) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:331) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.context.request.async.<wbr>WebAsyncManagerIntegrationFilt<wbr>er.doFilterInternal(<wbr>WebAsyncManagerIntegrationFilt<wbr>er.java:56) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.web.<wbr>filter.OncePerRequestFilter.<wbr>doFilter(OncePerRequestFilter.<wbr>java:107) [spring-web-4.2.5.RELEASE.jar:<wbr>4.2.5.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:331) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.session.<wbr>ConcurrentSessionFilter.<wbr>doFilter(<wbr>ConcurrentSessionFilter.java:<wbr>134) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:331) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.context.<wbr>SecurityContextPersistenceFilt<wbr>er.doFilter(<wbr>SecurityContextPersistenceFilt<wbr>er.java:106) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy$<wbr>VirtualFilterChain.doFilter(<wbr>FilterChainProxy.java:331) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy.<wbr>doFilterInternal(<wbr>FilterChainProxy.java:214) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.security.<wbr>web.FilterChainProxy.doFilter(<wbr>FilterChainProxy.java:177) [spring-security-web-4.1.0.<wbr>RELEASE.jar:4.1.0.RELEASE]
            at org.springframework.web.<wbr>filter.DelegatingFilterProxy.<wbr>invokeDelegate(<wbr>DelegatingFilterProxy.java:<wbr>346) [spring-web-4.2.5.RELEASE.jar:<wbr>4.2.5.RELEASE]
            at org.springframework.web.<wbr>filter.DelegatingFilterProxy.<wbr>doFilter(<wbr>DelegatingFilterProxy.java:<wbr>262) [spring-web-4.2.5.RELEASE.jar:<wbr>4.2.5.RELEASE]
            at org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>internalDoFilter(<wbr>ApplicationFilterChain.java:<wbr>193) [catalina.jar:8.5.16]
            at org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>doFilter(<wbr>ApplicationFilterChain.java:<wbr>166) [catalina.jar:8.5.16]
            at com.evolveum.midpoint.web.<wbr>util.<wbr>MidPointProfilingServletFilter<wbr>.doFilter(<wbr>MidPointProfilingServletFilter<wbr>.java:86) [classes/:na]
            at org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>internalDoFilter(<wbr>ApplicationFilterChain.java:<wbr>193) [catalina.jar:8.5.16]
            at org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>doFilter(<wbr>ApplicationFilterChain.java:<wbr>166) [catalina.jar:8.5.16]
            at org.apache.catalina.core.<wbr>StandardWrapperValve.invoke(<wbr>StandardWrapperValve.java:198) [catalina.jar:8.5.16]
            at org.apache.catalina.core.<wbr>StandardContextValve.invoke(<wbr>StandardContextValve.java:96) [catalina.jar:8.5.16]
            at org.apache.catalina.<wbr>authenticator.<wbr>AuthenticatorBase.invoke(<wbr>AuthenticatorBase.java:478) [catalina.jar:8.5.16]
            at org.apache.catalina.core.<wbr>StandardHostValve.invoke(<wbr>StandardHostValve.java:140) [catalina.jar:8.5.16]
            at org.apache.catalina.valves.<wbr>ErrorReportValve.invoke(<wbr>ErrorReportValve.java:80) [catalina.jar:8.5.16]
            at org.apache.catalina.valves.<wbr>AbstractAccessLogValve.invoke(<wbr>AbstractAccessLogValve.java:<wbr>624) [catalina.jar:8.5.16]
            at org.apache.catalina.core.<wbr>StandardEngineValve.invoke(<wbr>StandardEngineValve.java:87) [catalina.jar:8.5.16]
            at org.apache.catalina.connector.<wbr>CoyoteAdapter.service(<wbr>CoyoteAdapter.java:342) [catalina.jar:8.5.16]
            at org.apache.coyote.http11.<wbr>Http11Processor.service(<wbr>Http11Processor.java:799) [tomcat-coyote.jar:8.5.16]
            at org.apache.coyote.<wbr>AbstractProcessorLight.<wbr>process(<wbr>AbstractProcessorLight.java:<wbr>66) [tomcat-coyote.jar:8.5.16]
            at org.apache.coyote.<wbr>AbstractProtocol$<wbr>ConnectionHandler.process(<wbr>AbstractProtocol.java:868) [tomcat-coyote.jar:8.5.16]
            at <a href="http://org.apache.tomcat.util.net" target="_blank">org.apache.tomcat.util.net</a> <a class="m_5949884302778853771moz-txt-link-rfc2396E" href="http://org.apache.tomcat.util.net" target="_blank"><http://org.apache.tomcat.<wbr>util.net></a>.NioEndpoint$<wbr>SocketProcessor.doRun(<wbr>NioEndpoint.java:1455) [tomcat-coyote.jar:8.5.16]
            at <a href="http://org.apache.tomcat.util.net" target="_blank">org.apache.tomcat.util.net</a> <a class="m_5949884302778853771moz-txt-link-rfc2396E" href="http://org.apache.tomcat.util.net" target="_blank"><http://org.apache.tomcat.<wbr>util.net></a>.SocketProcessorBase.<wbr>run(SocketProcessorBase.java:<wbr>49) [tomcat-coyote.jar:8.5.16]
            at java.util.concurrent.<wbr>ThreadPoolExecutor.runWorker(<wbr>ThreadPoolExecutor.java:1149) [na:1.8.0_131]
            at java.util.concurrent.<wbr>ThreadPoolExecutor$Worker.run(<wbr>ThreadPoolExecutor.java:624) [na:1.8.0_131]
            at org.apache.tomcat.util.<wbr>threads.TaskThread$<wbr>WrappingRunnable.run(<wbr>TaskThread.java:61) [tomcat-util.jar:8.5.16]
            at java.lang.Thread.run(Thread.<wbr>java:748) [na:1.8.0_131]
    Caused by: java.lang.reflect.<wbr>InvocationTargetException: null
            at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke0(Native Method) ~[na:1.8.0_131]
            at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke(<wbr>NativeMethodAccessorImpl.java:<wbr>62) ~[na:1.8.0_131]
            at sun.reflect.<wbr>DelegatingMethodAccessorImpl.<wbr>invoke(<wbr>DelegatingMethodAccessorImpl.<wbr>java:43) ~[na:1.8.0_131]
            at java.lang.reflect.Method.<wbr>invoke(Method.java:498) ~[na:1.8.0_131]
            at org.apache.wicket.<wbr>RequestListenerInterface.<wbr>internalInvoke(<wbr>RequestListenerInterface.java:<wbr>258) ~[wicket-core-7.6.0.jar:7.6.0]
            ... 67 common frames omitted
    Caused by: java.lang.<wbr>NullPointerException: null
            at com.evolveum.midpoint.model.<wbr>common.stringpolicy.<wbr>ValuePolicyProcessor.generate(<wbr>ValuePolicyProcessor.java:121) ~[model-common-3.6.jar:na]
            at com.evolveum.midpoint.model.<wbr>impl.controller.<wbr>ModelInteractionServiceImpl.<wbr>generateValue(<wbr>ModelInteractionServiceImpl.<wbr>java:812) ~[model-impl-3.6.jar:na]
            at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke0(Native Method) ~[na:1.8.0_131]
            at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke(<wbr>NativeMethodAccessorImpl.java:<wbr>62) ~[na:1.8.0_131]
            at sun.reflect.<wbr>DelegatingMethodAccessorImpl.<wbr>invoke(<wbr>DelegatingMethodAccessorImpl.<wbr>java:43) ~[na:1.8.0_131]
            at java.lang.reflect.Method.<wbr>invoke(Method.java:498) ~[na:1.8.0_131]
            at org.apache.wicket.proxy.<wbr>LazyInitProxyFactory$<wbr>JdkHandler.invoke(<wbr>LazyInitProxyFactory.java:507) ~[wicket-ioc-7.6.0.jar:7.6.0]
            at com.sun.proxy.$Proxy153.<wbr>generateValue(Unknown Source) ~[na:na]
            at com.evolveum.midpoint.web.<wbr>page.forgetpassword.<wbr>PageForgotPassword.<wbr>generateNonce(<wbr>PageForgotPassword.java:462) ~[classes/:na]
            at com.evolveum.midpoint.web.<wbr>page.forgetpassword.<wbr>PageForgotPassword.access$400(<wbr>PageForgotPassword.java:72) ~[classes/:na]
            at com.evolveum.midpoint.web.<wbr>page.forgetpassword.<wbr>PageForgotPassword$10.run(<wbr>PageForgotPassword.java:427) ~[classes/:na]
            at com.evolveum.midpoint.web.<wbr>page.forgetpassword.<wbr>PageForgotPassword$10.run(<wbr>PageForgotPassword.java:416) ~[classes/:na]
            at com.evolveum.midpoint.<wbr>security.impl.<wbr>SecurityEnforcerImpl.<wbr>runPrivileged(<wbr>SecurityEnforcerImpl.java:<wbr>1508) ~[security-impl-3.6.jar:na]
            at com.evolveum.midpoint.web.<wbr>security.<wbr>MidPointGuiAuthorizationEvalua<wbr>tor.runPrivileged(<wbr>MidPointGuiAuthorizationEvalua<wbr>tor.java:215) ~[classes/:na]
            at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke0(Native Method) ~[na:1.8.0_131]
            at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke(<wbr>NativeMethodAccessorImpl.java:<wbr>62) ~[na:1.8.0_131]
            at sun.reflect.<wbr>DelegatingMethodAccessorImpl.<wbr>invoke(<wbr>DelegatingMethodAccessorImpl.<wbr>java:43) ~[na:1.8.0_131]
            at java.lang.reflect.Method.<wbr>invoke(Method.java:498) ~[na:1.8.0_131]
            at org.apache.wicket.proxy.<wbr>LazyInitProxyFactory$<wbr>JdkHandler.invoke(<wbr>LazyInitProxyFactory.java:507) ~[wicket-ioc-7.6.0.jar:7.6.0]
            at com.sun.proxy.$Proxy158.<wbr>runPrivileged(Unknown Source) ~[na:na]
            at com.evolveum.midpoint.gui.api.<wbr>page.PageBase.runPrivileged(<wbr>PageBase.java:1865) ~[classes/:na]
            at com.evolveum.midpoint.web.<wbr>page.forgetpassword.<wbr>PageForgotPassword.<wbr>saveUserNonce(<wbr>PageForgotPassword.java:416) ~[classes/:na]
            at com.evolveum.midpoint.web.<wbr>page.forgetpassword.<wbr>PageForgotPassword.<wbr>processResetPassword(<wbr>PageForgotPassword.java:287) ~[classes/:na]
            at com.evolveum.midpoint.web.<wbr>page.forgetpassword.<wbr>PageForgotPassword.access$200(<wbr>PageForgotPassword.java:72) ~[classes/:na]
            at com.evolveum.midpoint.web.<wbr>page.forgetpassword.<wbr>PageForgotPassword$6.onSubmit(<wbr>PageForgotPassword.java:223) ~[classes/:na]
            at org.apache.wicket.ajax.markup.<wbr>html.form.AjaxSubmitLink$1.<wbr>onSubmit(AjaxSubmitLink.java:<wbr>111) ~[wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.ajax.form.<wbr>AjaxFormSubmitBehavior$<wbr>AjaxFormSubmitter.onSubmit(<wbr>AjaxFormSubmitBehavior.java:<wbr>215) ~[wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.markup.html.<wbr>form.Form.delegateSubmit(Form.<wbr>java:1309) ~[wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.markup.html.<wbr>form.Form.process(Form.java:<wbr>976) ~[wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.markup.html.<wbr>form.Form.onFormSubmitted(<wbr>Form.java:797) ~[wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.ajax.form.<wbr>AjaxFormSubmitBehavior.<wbr>onEvent(<wbr>AjaxFormSubmitBehavior.java:<wbr>171) ~[wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.ajax.<wbr>AjaxEventBehavior.respond(<wbr>AjaxEventBehavior.java:155) ~[wicket-core-7.6.0.jar:7.6.0]
            at org.apache.wicket.ajax.<wbr>AbstractDefaultAjaxBehavior.<wbr>onRequest(<wbr>AbstractDefaultAjaxBehavior.<wbr>java:601) ~[wicket-core-7.6.0.jar:7.6.0]
            ... 72 common frames omitted






    -- 
    Best regards,

    Oleksandr Nekriach | Identity and access management engineer

    Dynatech, Mednieku str. 4a, Riga, LV-1010, Latvia <a class="m_5949884302778853771moz-txt-link-rfc2396E" href="https://maps.google.com/?q=Mednieku+str.+4a,+Riga,+LV-1010,+Latvia&entry=gmail&source=g" target="_blank"><https://maps.google.com/?q=<wbr>Mednieku+str.+4a,+Riga,+LV-<wbr>1010,+Latvia&entry=gmail&<wbr>source=g></a>

    <a href="tel:+371%2025%20314%20685" value="+37125314685" target="_blank">+37125314685</a> <a class="m_5949884302778853771moz-txt-link-rfc2396E" href="tel:+371%2025%20314%20685" target="_blank"><tel:+371%2025%20314%20685></a>
    ,
    <a class="m_5949884302778853771moz-txt-link-abbreviated" href="mailto:o.nekriach@dynatech.lv" target="_blank">o.nekriach@dynatech.lv</a> <a class="m_5949884302778853771moz-txt-link-rfc2396E" href="mailto:o.nekriach@dynatech.lv" target="_blank"><mailto:o.nekriach@dynatech.<wbr>lv></a>
    |
    <a class="m_5949884302778853771moz-txt-link-abbreviated" href="http://www.dynatech.lv" target="_blank">www.dynatech.lv</a> <a class="m_5949884302778853771moz-txt-link-rfc2396E" href="http://www.dynatech.lv" target="_blank"><http://www.dynatech.lv></a>




    Stay connected:
    <a class="m_5949884302778853771moz-txt-link-rfc2396E" href="https://www.facebook.com/DynatechLatvia/?ref=br_rs" target="_blank"><https://www.facebook.com/<wbr>DynatechLatvia/?ref=br_rs></a>
    <a class="m_5949884302778853771moz-txt-link-rfc2396E" href="https://www.linkedin.com/company-beta/17893047/" target="_blank"><https://www.linkedin.com/<wbr>company-beta/17893047/></a>


    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.




-- 
Best regards,

Oleksandr Nekriach | Identity and access management engineer

Dynatech, Mednieku str. 4a, Riga, LV-1010, Latvia

<a href="tel:+371%2025%20314%20685" value="+37125314685" target="_blank">+37125314685</a> <a class="m_5949884302778853771moz-txt-link-rfc2396E" href="tel:+371%2025%20314%20685" target="_blank"><tel:+371%2025%20314%20685></a>
,
<a class="m_5949884302778853771moz-txt-link-abbreviated" href="mailto:o.nekriach@dynatech.lv" target="_blank">o.nekriach@dynatech.lv</a> <a class="m_5949884302778853771moz-txt-link-rfc2396E" href="mailto:o.nekriach@dynatech.lv" target="_blank"><mailto:o.nekriach@dynatech.<wbr>lv></a>
|
<a class="m_5949884302778853771moz-txt-link-abbreviated" href="http://www.dynatech.lv" target="_blank">www.dynatech.lv</a> <a class="m_5949884302778853771moz-txt-link-rfc2396E" href="http://www.dynatech.lv" target="_blank"><http://www.dynatech.lv></a>




Stay connected:
<a class="m_5949884302778853771moz-txt-link-rfc2396E" href="https://www.facebook.com/DynatechLatvia/?ref=br_rs" target="_blank"><https://www.facebook.com/<wbr>DynatechLatvia/?ref=br_rs></a>
<a class="m_5949884302778853771moz-txt-link-rfc2396E" href="https://www.linkedin.com/company-beta/17893047/" target="_blank"><https://www.linkedin.com/<wbr>company-beta/17893047/></a>


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.


______________________________<wbr>_________________
midPoint mailing list
<a class="m_5949884302778853771moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a>
<a class="m_5949884302778853771moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a>

</pre>
        </blockquote>
        <pre>______________________________<wbr>_________________
midPoint mailing list
<a class="m_5949884302778853771moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a>
<a class="m_5949884302778853771moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a>
</pre>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </div></div></div>

<br>______________________________<wbr>_________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="color:#4c4c4c">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" value="+37125314685" target="_blank">+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="display:inline-block;margin:5px 5px 0 0"><a href="https://www.facebook.com/DynatechLatvia/?ref=br_rs" target="_blank"><img src="cid:o.nekriach@dynatech.lv1502777022855-7771"></a></div><div style="display:inline-block;margin:5px 0 0 0"><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:#a1a1a1">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>