You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Mikael Hansen (JIRA)" <ji...@apache.org> on 2008/04/10 15:48:05 UTC
[jira] Created: (WICKET-1513) "input" tag with type="image" results
in null pointer exception in 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.3, 1.3.2
Reporter: Mikael Hansen
Something like:
<input type="image" value="Sign up" src="images/ok.png">
should reproduce the error.
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.
[jira] Resolved: (WICKET-1513) "input" tag with type="image"
results in null pointer exception in AutoLinkResolver
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-1513.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.4-RC2
Assignee: Juergen Donnerstag
patch applied, marking resolved...
> "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
> Assignee: Juergen Donnerstag
> Fix For: 1.4-RC2
>
> 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.
[jira] Updated: (WICKET-1513) "input" tag with type="image" results
in null pointer exception in AutoLinkResolver
Posted by "Jeremy Thomerson (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (WICKET-1513) "input" tag with type="image" results
in null pointer exception in AutoLinkResolver
Posted by "Jeremy Thomerson (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (WICKET-1513) "input" tag with type="image"
results in null pointer exception in AutoLinkResolver
Posted by "Jeremy Thomerson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651905#action_12651905 ]
Jeremy Thomerson commented on WICKET-1513:
------------------------------------------
Note that this bug is still in 1.4 (trunk), and this patch is against trunk.
> "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.
[jira] Commented: (WICKET-1513) "input" tag with type="image"
results in null pointer exception in AutoLinkResolver
Posted by "Juergen Donnerstag (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659554#action_12659554 ]
Juergen Donnerstag commented on WICKET-1513:
--------------------------------------------
patch applied to 1.4 trunk.
Thanks
> "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.
[jira] Updated: (WICKET-1513) "input" tag with type="image" results
in null pointer exception in AutoLinkResolver
Posted by "Mikael Hansen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mikael Hansen updated WICKET-1513:
----------------------------------
Description:
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)
was:
Something like:
<input type="image" value="Sign up" src="images/ok.png">
should reproduce the error.
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)
> "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
>
> 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.
[jira] Updated: (WICKET-1513) "input" tag with type="image" results
in null pointer exception in AutoLinkResolver
Posted by "Jeremy Thomerson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeremy Thomerson updated WICKET-1513:
-------------------------------------
Attachment: (was: 1513.patch)
> "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.