You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Jeremy Thomerson (JIRA)" <ji...@apache.org> on 2008/12/01 06:32:46 UTC
[jira] Updated: (WICKET-1513) "input" tag with type="image" results
in null pointer exception in AutoLinkResolver
[ https://issues.apache.org/jira/browse/WICKET-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeremy Thomerson updated WICKET-1513:
-------------------------------------
Attachment: 1513.patch
Here's a patch that fixes it by adding the appropriate resolvers to AutoLinkResolver.
> "input" tag with type="image" results in null pointer exception in AutoLinkResolver
> -----------------------------------------------------------------------------------
>
> Key: WICKET-1513
> URL: https://issues.apache.org/jira/browse/WICKET-1513
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.2, 1.3.3
> Reporter: Mikael Hansen
> Attachments: 1513.patch
>
>
> Something like:
> <input type="image" value="Sign up" src="images/ok.png" />
> should reproduce the error (this is valid XHTML).
> or:
> <embed src="flash.swf" />
> or:
> <anything src="..." />
> java.lang.NullPointerException
> at org.apache.wicket.markup.resolver.AutoLinkResolver$PathInfo.<init>(AutoLinkResolver.java:249)
> at org.apache.wicket.markup.resolver.AutoLinkResolver.resolveAutomaticLink(AutoLinkResolver.java:808)
> at org.apache.wicket.markup.resolver.AutoLinkResolver.resolve(AutoLinkResolver.java:742)
> at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1324)
> at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1427)
> at org.apache.wicket.Page.onRender(Page.java:1460)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.