Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
9.9.1
-
None
-
None
-
None
-
Occurs on both Linux and Windows 10 Enterprise.
Description
In very limited circumstances, immediately after a StalePageException, an unexpected runtime ComponentNotFoundException occurs. This problem was discovered by a professional tester, who has been testing the latest version of my Wicket 9.9.1 application. I have already described it on StackOverflow and Martin G advised me to report it here. As requested, I have developed a quick-start application which reproduces the problem in - as I have already mentioned - very specific, limited circumstances.
When running the application, the first page to appear is a dummy login page, with basic instructions for logging in. In summary, a drop-down list offers two usernames, "hasLinks" and "noLinks". Please select "hasLinks" and click the login button.
The next page will display a couple of links, plus the following instructions:
How to reproduce the exception
- Immediately after logging in as "hasLinks" in a newly-opened browser, duplicate your tab.
N.B. the "jsessionid" must still be visible in the address bar. - In the duplicated tab, click the "Log out" button at the bottom of the page.
- Log back in again, this time as "noLinks".
- Return to your original tab, where 2 links are still displayed.
- Click on one of the links.
- The exception occurs.
I am attaching a zip file containing the source of my quick-start application, with a war file in the target directory. I am also attaching the stack trace of the exception.