Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.5.7
-
None
Description
org.apache.wicket.Initializer#init() (wicket-core) registers several RequestListenerInterface instances and this causes duplicated log entries which confuse the users.
There is a comment in this #init() method:
// Register listener interfaces explicitly (even though they implicitly
// register when loaded) because deserialization of an object that
// implements an interface does not load the interfaces it implements!
What I believe is the problem is the code at org.apache.wicket.RequestListenerInterface#registerRequestListenerInterface() which throws an exception if there is an interface with that name but it has a different method than the previous. Otherwise it re-registers it and logs the message second time.