[ https://issues.apache.org/jira/browse/WICKET-6485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16212337#comment-16212337 ]
Andrea Del Bene commented on WICKET-6485: ----------------------------------------- I've just found that WICKET-4201 description says exactly what I've just written :-). Talking about PageStore: {quote} For example, getPage can throw a PageExpiredException, but getPageClass cannot, it should return null if no page class is set. Perhaps, it's even better to never throw exceptions at all.{quote} > IllegalArgumentException: Argument 'pageClass' may not be null > -------------------------------------------------------------- > > Key: WICKET-6485 > URL: https://issues.apache.org/jira/browse/WICKET-6485 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 8.0.0-M7 > Reporter: Francois > Assignee: Andrea Del Bene > Priority: Minor > Attachments: quickstart.zip > > > If I bookmark a stateful page, close the browser, reopen it and click on the > bookmark > I get an IllegalArgumentException > java.lang.IllegalArgumentException: Argument 'pageClass' may not be null. > at org.apache.wicket.util.lang.Args.notNull(Args.java:41) > at > org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper$UrlInfo.<init>(AbstractBookmarkableMapper.java:90) > at > org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper.mapHandler(AbstractBookmarkableMapper.java:410) > at > org.apache.wicket.request.mapper.CompoundRequestMapper.mapHandler(CompoundRequestMapper.java:210) -- This message was sent by Atlassian JIRA (v6.4.14#64029)