Hi Martin,

I don't know why the fields are transient, Johan probably never expected the map to be serialized.

Sven

On 11/17/2014 04:57 PM, Martin Grigorov wrote:
Hi,

https://issues.apache.org/jira/browse/WICKET-5751 and
https://issues.apache.org/jira/browse/WICKET-5584 show a problem with the
deserialization of IntHashMap
<https://github.com/apache/wicket/blob/master/wicket-util/src/main/java/org/apache/wicket/util/collections/IntHashMap.java>
.

Many of its fields are transient for some reason and this leads to
NullPointerExceptions when instances of IntHashMap are used after
deserialization.

Anyone have idea why these fields are transient ?


Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov


Reply via email to