ErrorPageServlet registered twice

Description

Hello,

We are using pax-web-extender-whiteboard 7.2.4 on equinox and I have a few error page servlet annotated as followed:

However, sometimes when we start the server, we got this error:

Since the error page is working fine despite this exception, is it a race condition in the service registry that cause this exception? Should this be reported as bug on pax-web or felix scr? We tried to upgrade to pax-web 7.2.10 but still got the same error from time to time

Thai Le

Environment

None

Activity

Show:
Nhut Thai Le
September 13, 2019, 4:18 PM

Per Grzegorz requested, I put the breakpoint at ErrorPageModel constructor and got the call stack of the 1st and 2nd hit. The call stacks are uploaded in the CallStack.txt file

Jean-Baptiste Onofre
October 22, 2019, 8:13 PM

Can you check that it’s still the case in 7.2.11, I remember to have fixed something similar.

Grzegorz Grzybek
October 23, 2019, 1:28 PM

yes, please check with 7.2.11. If it still fails, we'd also like to see the context you're referring to using osgi.http.whiteboard.context.name=WebviewerServletContextHelper.

Jean-Baptiste Onofre
November 1, 2019, 6:44 AM

any update with test using 7.2.11 (and coming 7.2.12) ?

Assignee

Grzegorz Grzybek

Reporter

Nhut Thai Le

Labels

None

Components

Affects versions

Priority

Major
Configure