Lost User Context

443 views
Skip to first unread message

Fco. Javier Vannini Robelo

unread,
Dec 4, 2012, 9:32:27 PM12/4/12
to idem...@googlegroups.com
Very interesting. Seems like a message from the past.

Regards,

Screenshot from 2012-12-04 20:30:19.png

FJVR

unread,
Dec 5, 2012, 3:49:48 AM12/5/12
to idem...@googlegroups.com
Steps to recreate:

Create a user/pass something like: OhCaptainMyCaptain / OhCaptainMyCaptain in Client A.

Create a user/pass: UserB/UserB in Client B.

Go to the LDAP User Name of UserB and type: OhCaptainMyCaptain.

Log in with OhCaptainMyCaptain/UserB and select Client B.

Just for the giggles :D

Cheers,

Heng Sin Low

unread,
Dec 5, 2012, 4:27:59 AM12/5/12
to idem...@googlegroups.com
the screenshot is from 361, are you able to reproduce the same on idempiere as well ?

Fco. Javier Vannini Robelo

unread,
Dec 5, 2012, 5:00:05 AM12/5/12
to idem...@googlegroups.com
I was not able to reproduce it in demo.idempiere.com.

Also, I noticed that if user B can have an account on Company A1 ... AN for N being many Companies without having to have a different username.

The attempt of this last observation was the reason why I ran into the Lost User Context error.

Regards,



2012/12/5 Heng Sin Low <hen...@gmail.com>

Fco. Javier Vannini Robelo

unread,
Dec 5, 2012, 5:01:15 AM12/5/12
to idem...@googlegroups.com
Excuse me, I meant to say that I notice that a User can have the same account in multiple companies where as in ADempiere 3.61 this is not possible (atleast not with the same username).





2012/12/5 Fco. Javier Vannini Robelo <fjva...@gmail.com>

Carlos Antonio Ruiz Gomez

unread,
Dec 5, 2012, 2:54:03 PM12/5/12
to idem...@googlegroups.com
Hmmm, for the record this error just happened to me running from eclipse.

I'm running a test scenario where I have 9 housekeeping scheduler process running every minute (just to stress the machine).
After a while running and editing things it appeared this error:

14:45:21.487===========> AbstractADWindowContent.initPanel: Timestamp=Wed Dec 05 14:45:21 COT 2012, Bug 2832968 SessionUser=100, ContextUser=0.  Please report conditions to your system administrator or in sf tracker 2832968 [58]
org.adempiere.webui.exception.ApplicationException: Timestamp=Wed Dec 05 14:45:21 COT 2012, Bug 2832968 SessionUser=100, ContextUser=0.  Please report conditions to your system administrator or in sf tracker 2832968
    at org.adempiere.webui.adwindow.AbstractADWindowContent.initPanel(AbstractADWindowContent.java:290)
    at org.adempiere.webui.adwindow.ADWindow.doCreatePart(ADWindow.java:109)

There was just one session running, so it was not about taking a session from different user (as it happened sometimes in adempiere) - but apparently the context was lost - I checked in the credits window and the context variables were lost.

Regards,

Carlos Ruiz

Carlos Antonio Ruiz Gómez

unread,
Feb 21, 2014, 1:47:52 PM2/21/14
to idem...@googlegroups.com
For the record also  :-)

I haven't seen this error anymore on iDempiere - even we have conducted heavy load tests using JMeter and the error hasn't raised.
NOTE that I'm not stating the error is gone forever - but at least I haven't seen it on iDempiere anymore.

If anybody find this error on iDempiere please report it.

Regards,

Carlos Ruiz

VuongCT

unread,
Feb 21, 2014, 8:47:32 PM2/21/14
to idem...@googlegroups.com
https://idempiere.atlassian.net/browse/IDEMPIERE-176

I also believe that it will not occur on iDempiere since Heng Sin add context and session check for consistency in SessionContextListener

Jefferson Alves

unread,
Nov 1, 2016, 5:08:06 PM11/1/16
to iDempiere
Hi everyone,

I'm going through this problem in the aplication Adempiere in the company where I work. I'm using Adempiere360LTS with 800 active users.

I checked and updated the code this mode the issue JIRA [IDEMPIERE-176], but had no result.

We are preparing to migrate to IDempiere, but as it is a lengthy process, we must first solve this problem.

Can anyone help me how to solve.
Thank you.
Reply all
Reply to author
Forward
0 new messages