[ 
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

This patch is updated to also handle the embed tag - missed that in my haste to 
upload the first one.  It now handles input and embed tags.  Note that it does 
not handle the "anything" tag :)

> "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.

Reply via email to