Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorsometimes2019-08-05 10:472019-09-27 15:35
ReporterplujanView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version3.0PR19Q4
StatusclosedFix in branchFixed in SCM revision6369173ffb33
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Tocaristu
Web browser
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0041543: "getAttribute: Session already invalidated" message on some Selenium tests on login

DescriptionSometimes, we are getting an error about "getAttribute: Session already invalidated" just after clicking the Login button.
Steps To ReproduceThere are no steps other than trying to log in using a Selenium test. The output log (openbravo log) shows a trace like this:

2019-07-19 04:37:00,772 [http-5] ERROR org.openbravo.dal.core.ThreadHandler - getAttribute: Session already invalidated
java.lang.IllegalStateException: getAttribute: Session already invalidated
    at org.apache.catalina.session.StandardSession.getAttribute( ~[tomcat8-catalina-8.5.39.jar:8.5.39]
    at org.apache.catalina.session.StandardSessionFacade.getAttribute( ~[tomcat8-catalina-8.5.39.jar:8.5.39]
    at org.openbravo.dal.core.OBContext.setOBContext( ~[classes/:?]
    at org.openbravo.dal.core.DalRequestFilter$1.doBefore( ~[classes/:?]
    at [classes/:?]
    at org.openbravo.dal.core.DalRequestFilter.doFilter( [classes/:?]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( [tomcat8-catalina-8.5.39.jar:8.5.39]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter( [tomcat8-catalina-8.5.39.jar:8.5.39]
    at org.apache.logging.log4j.web.Log4jServletFilter.doFilter( [log4j-web-2.11.1.jar:2.11.1]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( [tomcat8-catalina-8.5.39.jar:8.5.39]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter( [tomcat8-catalina-8.5.39.jar:8.5.39]
    at org.apache.catalina.core.StandardWrapperValve.invoke( [tomcat8-catalina-8.5.39.jar:8.5.39]
    at org.apache.catalina.core.StandardContextValve.invoke( [tomcat8-catalina-8.5.39.jar:8.5.39]
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke( [tomcat8-catalina-8.5.39.jar:8.5.39]
    at org.apache.catalina.core.StandardHostValve.invoke( [tomcat8-catalina-8.5.39.jar:8.5.39]
    at org.apache.catalina.valves.ErrorReportValve.invoke( [tomcat8-catalina-8.5.39.jar:8.5.39]
    at org.apache.catalina.core.StandardEngineValve.invoke( [tomcat8-catalina-8.5.39.jar:8.5.39]
    at org.apache.catalina.connector.CoyoteAdapter.service( [tomcat8-catalina-8.5.39.jar:8.5.39]
    at org.apache.coyote.ajp.AjpProcessor.service( [tomcat8-coyote-8.5.39.jar:8.5.39]
    at org.apache.coyote.AbstractProcessorLight.process( [tomcat8-coyote-8.5.39.jar:8.5.39]
    at org.apache.coyote.AbstractProtocol$ConnectionHandler.process( [tomcat8-coyote-8.5.39.jar:8.5.39]
    at$SocketProcessor.doRun( [tomcat8-coyote-8.5.39.jar:8.5.39]
    at [tomcat8-coyote-8.5.39.jar:8.5.39]
    at java.util.concurrent.ThreadPoolExecutor.runWorker( [?:?]
    at java.util.concurrent.ThreadPoolExecutor$ [?:?]
    at org.apache.tomcat.util.threads.TaskThread$ [tomcat8-util-8.5.39.jar:8.5.39]
    at [?:?]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
hgbot (developer)
2019-09-26 14:40

Repository: erp/devel/pi
Changeset: 6369173ffb335286da949a5c07d4b6c3d4e84eed
Author: Asier Lostalé <asier.lostale <at>>
Date: Thu Sep 26 14:39:08 2019 +0200
URL: [^]

fixed issue 41543: failed request setting OBContext on invalidated session

  Even harmless, this makes CI tests to fail. Now information about the URI requested
  is logged so that it can be properly handled in CI for known cases while contienue
  reporting other unknowns.

M src/org/openbravo/dal/core/
caristu (developer)
2019-09-27 09:04

hudsonbot (developer)
2019-09-27 15:35

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2019-08-05 10:47 plujan New Issue
2019-08-05 10:47 plujan Assigned To => platform
2019-08-05 10:47 plujan Modules => Core
2019-08-05 10:47 plujan Triggers an Emergency Pack => No
2019-09-26 14:39 alostale Assigned To platform => alostale
2019-09-26 14:40 alostale Review Assigned To => caristu
2019-09-26 14:40 hgbot Checkin
2019-09-26 14:40 hgbot Note Added: 0114807
2019-09-26 14:40 hgbot Status new => resolved
2019-09-26 14:40 hgbot Resolution open => fixed
2019-09-26 14:40 hgbot Fixed in SCM revision => [^]
2019-09-27 09:04 caristu Note Added: 0114828
2019-09-27 09:04 caristu Status resolved => closed
2019-09-27 09:04 caristu Fixed in Version => 3.0PR19Q4
2019-09-27 15:35 hudsonbot Checkin
2019-09-27 15:35 hudsonbot Note Added: 0114850

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker