I see that timeout prints 0 in my case , so it never executed the code
previous = locks.get().putIfAbsent(pageId, lock);
, for some reason the old app did not set a timeout, so after setting it to
something meaningful the app works.
Perhaps
/** timeout value for acquiring a page lock */
private final Duration timeout;
assigning it some default value here may be considered.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/NullPointerException-in-running-Wicket-6-2-app-tp4653694p4653698.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]