<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>it definitely looks like a wrongly built midPoint. As if your
      build procedure mixed old and new code.</p>
    <p>Best regards,<br>
    </p>
    <pre class="moz-signature" cols="72">Pavol Mederly
Software developer
evolveum.com
</pre>
    <div class="moz-cite-prefix">On 27.05.2019 10:36, Jan Vaňáček - AMI
      Praha a.s. wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:f5eb70d494e3f8974f67b8e335d6009d@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"Formátovaný v HTML Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.FormtovanvHTMLChar
        {mso-style-name:"Formátovaný v HTML Char";
        mso-style-priority:99;
        mso-style-link:"Formátovaný v HTML";
        font-family:Consolas;
        mso-fareast-language:CS;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.StylE-mailovZprvy20
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.StylE-mailovZprvy21
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.StylE-mailovZprvy24
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.StylE-mailovZprvy25
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
      <div class="WordSection1">
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US">It
            got complicated. Now it happens even on version 104…</span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US">Now
            I have two nodes with version 104, which were build in
            different time. Node A (</span>git-v3.7.2-104-gc91e30d,
          build from 25 Feb) working OK, and Node B
          (git-v3.7.2-104-gc91e30dcaf, build from 23 May) where I can
          not reach workItems. It is interesting, that their git
          description is a little bit different (the newer one has three
          more letters).</p>
        <p class="MsoNormal">When I take a build from node B onto 1-node
          environment, it happens there as well.</p>
        <p class="MsoNormal"> </p>
        <p class="MsoNormal">When I looked into it I noticed, that
          PageWorkItem:112 returns taskId=202607 on node A.</p>
        <p class="MsoNormal">But on node B I get
          202607:8a2ce2a13c3283b38a95274654dd83a72b3b05032d206c6826680974732872b8.</p>
        <p class="MsoNormal">I get workitem on node B just when I
          explicitly put an URL <a
            href="http://localhost:8080/midpoint/admin/workItem/202607"
            moz-do-not-send="true">http://localhost:8080/midpoint/admin/workItem/202607</a>
          into browser.</p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"> </span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US">Do
            you have any idea where the long task ID could come from?</span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"> </span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US">JAVA</span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"> </span></p>
        <div>
          <div style="border:none;border-top:solid #e1e1e1
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b>From:</b> Jan Vaňáček - AMI Praha
              a.s. <<a href="mailto:jan.vanacek@ami.cz"
                moz-do-not-send="true">jan.vanacek@ami.cz</a>> <br>
              <b>Sent:</b> Wednesday, May 15, 2019 11:38 AM<br>
              <b>To:</b> '<a href="mailto:midpoint@lists.evolveum.com"
                moz-do-not-send="true">midpoint@lists.evolveum.com</a>'
              <<a href="mailto:midpoint@lists.evolveum.com"
                moz-do-not-send="true">midpoint@lists.evolveum.com</a>><br>
              <b>Subject:</b> RE: [midPoint] support 3.7 bug connected
              with view - All requests</p>
          </div>
        </div>
        <p class="MsoNormal"> </p>
        <div>
          <p class="MsoNormal" style="margin-bottom:12.0pt">Negative,<br>
            it happens also on my localhost and it has only one node.</p>
          <p class="MsoNormal" style="margin-bottom:12.0pt">JAVA </p>
          <div>
            <div>
              <p class="MsoNormal">---------- Forwarded message
                ---------<br>
                Od: <strong><span
                    style="font-family:"Calibri",sans-serif">Pavol
                    Mederly</span></strong> <<a
                  href="mailto:mederly@evolveum.com"
                  moz-do-not-send="true">mederly@evolveum.com</a>><br>
                Date: st 15. 5. 2019 v 10:38<br>
                Subject: Re: [midPoint] support 3.7 bug connected with
                view - All requests<br>
                To: <<a href="mailto:midpoint@lists.evolveum.com"
                  moz-do-not-send="true">midpoint@lists.evolveum.com</a>></p>
            </div>
            <p class="MsoNormal" style="margin-bottom:12.0pt"> </p>
            <div>
              <p>Hello Jan,</p>
              <p>it looks like a PageWorkItem URL was generated on node
                B (new code) but served - i.e. interpreted - on node A
                (old code).</p>
              <p>You can test this if you turn off node A temporarily
                and try to view the work items.</p>
              <p>Best regards,</p>
              <pre>Pavol Mederly</pre>
              <pre>Software developer</pre>
              <pre><a href="http://evolveum.com" target="_blank" moz-do-not-send="true">evolveum.com</a></pre>
              <div>
                <p class="MsoNormal">On 15.05.2019 10:26, Jan Vaňáček -
                  AMI Praha a.s. wrote:</p>
              </div>
              <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
                <div>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">We
                    have midpoint on two nodes. When I upgraded node B
                    into version git-v3.7.2-131-g073e8dd688. I cannot
                    see requests waiting for approval. There is an error
                    with text: Couldn't get work item. It might have
                    been already completed or deleted.</p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On
                    node A git-v3.7.2-104-gc91e30d it is OK.</p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">So
                    on node B I cannot access requests via views: „All
                    items“ and „My items“. </p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">In
                    view „All requests“ I can access the ticket.</p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">2019-05-15
                    10:16:16,489 [] [http-nio-8080-exec-5] ERROR
                    (com.evolveum.midpoint.web.page.admin.workflow.PageWorkItem):
                    Couldn't get work item because it does not exist.
                    (It might have been already completed or deleted.).</p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">com.evolveum.midpoint.util.exception.ObjectNotFoundException:
                    No work item with ID of
                    907920:7e74e97de2bff29df10fcc6c8cae8aba4d8da05eee01f26e00d08b01bc63a340</p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">               
                    at
com.evolveum.midpoint.web.page.admin.workflow.PageWorkItem.loadWorkItemDtoIfNecessary(PageWorkItem.java:164)</p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">               
                    at
com.evolveum.midpoint.web.page.admin.workflow.PageWorkItem.access$000(PageWorkItem.java:82)</p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">               
                    at
com.evolveum.midpoint.web.page.admin.workflow.PageWorkItem$1.load(PageWorkItem.java:120)</p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">               
                    at
com.evolveum.midpoint.web.page.admin.workflow.PageWorkItem$1.load(PageWorkItem.java:117)</p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">               
                    at
com.evolveum.midpoint.gui.api.model.LoadableModel.getObject(LoadableModel.java:68)</p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">               
                    at
com.evolveum.midpoint.web.page.admin.workflow.PageWorkItem.<init>(PageWorkItem.java:125)</p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">               
                    at
                    sun.reflect.GeneratedConstructorAccessor921.newInstance(Unknown
                    Source)</p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">               
                    at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)</p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">               
                    at
                    java.lang.reflect.Constructor.newInstance(Constructor.java:423)</p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">               
                    at
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:171)</p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">               
                    at
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:99)</p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">               
                    at
com.evolveum.midpoint.web.component.wf.WorkItemsPanel$4.onClick(WorkItemsPanel.java:180)</p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">               
                    at
com.evolveum.midpoint.web.component.data.column.LinkColumn$1.onClick(LinkColumn.java:65)</p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Jan Vaňáček</span></b><span
style="font-size:8.5pt;font-family:"Arial",sans-serif;color:black"><br>
                      JAVA programátor<br>
                      <br>
                      gsm: [+420] 734 510 214<br>
                      e-mail: <a href="mailto:jan.vanacek@ami.cz"
                        target="_blank" moz-do-not-send="true">jan.vanacek@ami.cz</a></span></p>
                  <table class="MsoNormalTable"
                    style="width:375.0pt;border-collapse:collapse"
                    width="500" cellspacing="0" cellpadding="0"
                    border="0">
                    <tbody>
                      <tr>
                        <td style="width:375.0pt;padding:0cm 0cm 0cm
                          0cm" width="500" valign="bottom">
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-size:8.5pt;font-family:"Arial",sans-serif;color:windowtext;border:none
                                windowtext 1.0pt;padding:0cm">AMI Praha
                                a.s.</span></b><span
style="font-size:8.5pt;font-family:"Arial",sans-serif;color:windowtext"><br>
                              Pláničkova 11, 162 00 Praha 6</span><span
                              style="color:windowtext"></span></p>
                        </td>
                      </tr>
                      <tr style="height:9.5pt">
                        <td style="width:375.0pt;padding:0cm 0cm 0cm
                          0cm;height:9.5pt" width="500" valign="bottom">
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:8.5pt;font-family:"Arial",sans-serif;color:windowtext"> </span><span
                              style="color:windowtext"></span></p>
                        </td>
                      </tr>
                      <tr>
                        <td style="width:375.0pt;padding:0cm 0cm 0cm
                          0cm" width="500" valign="bottom">
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:8.5pt;font-family:"Arial",sans-serif;color:windowtext">tel.:
                              [+420] 274 783 239 | web: <a
                                href="http://www.ami.cz/"
                                target="_blank" moz-do-not-send="true"><span
                                  style="color:#0066cc;border:none
                                  windowtext 1.0pt;padding:0cm">www.ami.cz</span></a></span><span
                              style="color:windowtext"></span></p>
                        </td>
                      </tr>
                      <tr style="height:9.5pt">
                        <td style="width:375.0pt;padding:0cm 0cm 0cm
                          0cm;height:9.5pt" width="500" valign="bottom">
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:8.5pt;font-family:"Arial",sans-serif;color:windowtext"> </span><span
                              style="color:windowtext"></span></p>
                        </td>
                      </tr>
                      <tr>
                        <td style="width:375.0pt;padding:0cm 0cm 0cm
                          0cm" width="500" valign="bottom">
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:8.5pt;font-family:"Arial",sans-serif;color:windowtext"><img
                                style="width:1.0833in;height:.4166in"
                                id="m_1707283859951221719Obrázek_x0020_5"
src="cid:part10.02DC18CE.FDA626B9@evolveum.com" alt="AMI Praha a.s."
                                class="" width="104" height="40"
                                border="0"></span><span
                              style="color:windowtext"></span></p>
                        </td>
                      </tr>
                      <tr style="height:9.5pt">
                        <td style="width:375.0pt;padding:0cm 0cm 0cm
                          0cm;height:9.5pt" width="500" valign="bottom">
                          <p class="MsoNormal"
                            style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:8.5pt;font-family:"Arial",sans-serif;color:windowtext"> </span><span
                              style="color:windowtext"></span></p>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#aaaaaa">Textem
                      tohoto e‑mailu podepisující neslibuje uzavřít
                      ani neuzavírá za společnost AMI Praha a.s.</span><br>
                    <span
style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#aaaaaa">jakoukoliv
                      smlouvu. Každá smlouva, pokud bude uzavřena, musí
                      mít výhradně písemnou formu.</span><br>
                    <span
                      style="font-size:4.0pt;font-family:"Arial",sans-serif"> </span><span
style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#aaaaaa"><br>
                      Tento e‑mail je určen výhradně pro potřeby
                      jeho adresáta/ů a může obsahovat důvěrné
                      nebo osobní<br>
                      informace. Nejste‑li zamýšleným příjemcem,
                      je zakázáno jakékoliv zveřejňování,
                      zprostředkování<br>
                      nebo jiné použití těchto informací. Pokud jste
                      obdrželi e‑mail neoprávněně, informujte o tom
                      prosím<br>
                      odesílatele a vymažte neprodleně všechny kopie
                      tohoto e‑mailu včetně všech jeho příloh.
                      Nakládáním<br>
                      s neoprávněně získanými informacemi se vystavujete
                      riziku právního postihu.</span></p>
                  <p class="MsoNormal"
                    style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p>
                </div>
              </blockquote>
            </div>
            <p class="MsoNormal">_______________________________________________<br>
              midPoint mailing list<br>
              <a href="mailto:midPoint@lists.evolveum.com"
                target="_blank" moz-do-not-send="true">midPoint@lists.evolveum.com</a><br>
              <a
                href="http://lists.evolveum.com/mailman/listinfo/midpoint"
                target="_blank" moz-do-not-send="true">http://lists.evolveum.com/mailman/listinfo/midpoint</a></p>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
  </body>
</html>