You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2013/07/12 13:09:48 UTC
[jira] [Resolved] (WICKET-5272) NPE on unmount in
BookmarkableMapper.java:189
[ https://issues.apache.org/jira/browse/WICKET-5272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sven Meier resolved WICKET-5272.
--------------------------------
Resolution: Fixed
Fix Version/s: 6.10.0
7.0.0
Assignee: Sven Meier
CompounRequestMapper#createRequest() uses the given url as clientUrl now.
> NPE on unmount in BookmarkableMapper.java:189
> ---------------------------------------------
>
> Key: WICKET-5272
> URL: https://issues.apache.org/jira/browse/WICKET-5272
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 6.8.0, 6.9.0, 6.9.1
> Environment: OSGi, Oracle JDK 1.7.0_21
> Reporter: TLA
> Assignee: Sven Meier
> Fix For: 7.0.0, 6.10.0
>
>
> When unmounting a page, I get a NullPointerException from BookmarkableMapper.java:189.
> Snippet of the StackTrace:
> java.lang.NullPointerException
> at org.apache.wicket.core.request.mapper.BookmarkableMapper.matches(BookmarkableMapper.java:189)
> at org.apache.wicket.core.request.mapper.BookmarkableMapper.parseRequest(BookmarkableMapper.java:98)
> at org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper.mapRequest(AbstractBookmarkableMapper.java:288)
> at org.apache.wicket.request.mapper.CompoundRequestMapper.unmount(CompoundRequestMapper.java:254)
> at org.apache.wicket.protocol.http.WebApplication.unmount(WebApplication.java:391)
> at ...
> In CompoundRequestMapper.java:250 a Request is created, which returns null on getClientUrl() (see CompoundRequestMapper.java:291). This getClientUrl() is used as "baseUrl" at BookmarkableMapper.java:179 which leads to the NPE at BookmarkableMapper.java:189 "baseUrl.getSegments()".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira