[midPoint] support 3.7 bug connected with view - All requests

Jan Vaňáček - AMI Praha a.s. jan.vanacek at ami.cz
Mon May 27 10:36:03 CEST 2019


It got complicated. Now it happens even on version 104…

Now I have two nodes with version 104, which were build in different time.
Node A (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).

When I take a build from node B onto 1-node environment, it happens there
as well.



When I looked into it I noticed, that PageWorkItem:112 returns
taskId=202607 on node A.

But on node B I get
202607:8a2ce2a13c3283b38a95274654dd83a72b3b05032d206c6826680974732872b8.

I get workitem on node B just when I explicitly put an URL
http://localhost:8080/midpoint/admin/workItem/202607 into browser.



Do you have any idea where the long task ID could come from?



JAVA



*From:* Jan Vaňáček - AMI Praha a.s. <jan.vanacek at ami.cz>
*Sent:* Wednesday, May 15, 2019 11:38 AM
*To:* 'midpoint at lists.evolveum.com' <midpoint at lists.evolveum.com>
*Subject:* RE: [midPoint] support 3.7 bug connected with view - All requests



Negative,
it happens also on my localhost and it has only one node.

JAVA

---------- Forwarded message ---------
Od: *Pavol Mederly* <mederly at evolveum.com>
Date: st 15. 5. 2019 v 10:38
Subject: Re: [midPoint] support 3.7 bug connected with view - All requests
To: <midpoint at lists.evolveum.com>



Hello Jan,

it looks like a PageWorkItem URL was generated on node B (new code) but
served - i.e. interpreted - on node A (old code).

You can test this if you turn off node A temporarily and try to view the
work items.

Best regards,

Pavol Mederly

Software developer

evolveum.com

On 15.05.2019 10:26, Jan Vaňáček - AMI Praha a.s. wrote:

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.

On node A git-v3.7.2-104-gc91e30d it is OK.



So on node B I cannot access requests via views: „All items“ and „My
items“.

In view „All requests“ I can access the ticket.





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.).

com.evolveum.midpoint.util.exception.ObjectNotFoundException: No work item
with ID of
907920:7e74e97de2bff29df10fcc6c8cae8aba4d8da05eee01f26e00d08b01bc63a340

                at
com.evolveum.midpoint.web.page.admin.workflow.PageWorkItem.loadWorkItemDtoIfNecessary(PageWorkItem.java:164)

                at
com.evolveum.midpoint.web.page.admin.workflow.PageWorkItem.access$000(PageWorkItem.java:82)

                at
com.evolveum.midpoint.web.page.admin.workflow.PageWorkItem$1.load(PageWorkItem.java:120)

                at
com.evolveum.midpoint.web.page.admin.workflow.PageWorkItem$1.load(PageWorkItem.java:117)

                at
com.evolveum.midpoint.gui.api.model.LoadableModel.getObject(LoadableModel.java:68)

                at
com.evolveum.midpoint.web.page.admin.workflow.PageWorkItem.<init>(PageWorkItem.java:125)

                at
sun.reflect.GeneratedConstructorAccessor921.newInstance(Unknown Source)

                at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

                at
java.lang.reflect.Constructor.newInstance(Constructor.java:423)

                at
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:171)

                at
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:99)

                at
com.evolveum.midpoint.web.component.wf.WorkItemsPanel$4.onClick(WorkItemsPanel.java:180)

                at
com.evolveum.midpoint.web.component.data.column.LinkColumn$1.onClick(LinkColumn.java:65)







*Jan Vaňáček*
JAVA programátor

gsm: [+420] 734 510 214
e-mail: jan.vanacek at ami.cz

*AMI Praha a.s.*
Pláničkova 11, 162 00 Praha 6



tel.: [+420] 274 783 239 | web: www.ami.cz



[image: AMI Praha a.s.]



Textem tohoto e‑mailu podepisující neslibuje uzavřít ani neuzavírá
za společnost AMI Praha a.s.
jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně
písemnou formu.

Tento e‑mail je určen výhradně pro potřeby jeho adresáta/ů a může obsahovat
důvěrné nebo osobní
informace. Nejste‑li zamýšleným příjemcem, je zakázáno jakékoliv
zveřejňování, zprostředkování
nebo jiné použití těchto informací. Pokud jste obdrželi e‑mail neoprávněně,
informujte o tom prosím
odesílatele a vymažte neprodleně všechny kopie tohoto e‑mailu včetně
všech jeho příloh. Nakládáním
s neoprávněně získanými informacemi se vystavujete riziku právního postihu.



_______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com
http://lists.evolveum.com/mailman/listinfo/midpoint
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20190527/e22b4981/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 2900 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20190527/e22b4981/attachment.gif>


More information about the midPoint mailing list