Return-Path: Delivered-To: apmail-wicket-commits-archive@www.apache.org Received: (qmail 32273 invoked from network); 1 Dec 2008 05:33:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Dec 2008 05:33:07 -0000 Received: (qmail 40654 invoked by uid 500); 1 Dec 2008 05:33:19 -0000 Delivered-To: apmail-wicket-commits-archive@wicket.apache.org Received: (qmail 40612 invoked by uid 500); 1 Dec 2008 05:33:18 -0000 Mailing-List: contact commits-help@wicket.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@wicket.apache.org Delivered-To: mailing list commits@wicket.apache.org Received: (qmail 40593 invoked by uid 99); 1 Dec 2008 05:33:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Nov 2008 21:33:18 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 05:31:59 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5D664234C2A2 for ; Sun, 30 Nov 2008 21:32:46 -0800 (PST) Message-ID: <1515143481.1228109566381.JavaMail.jira@brutus> Date: Sun, 30 Nov 2008 21:32:46 -0800 (PST) From: "Jeremy Thomerson (JIRA)" To: commits@wicket.apache.org Subject: [jira] Updated: (WICKET-1513) "input" tag with type="image" results in null pointer exception in AutoLinkResolver In-Reply-To: <1693078340.1207835285319.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on 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: > > should reproduce the error (this is valid XHTML). > or: > > or: > > java.lang.NullPointerException > at org.apache.wicket.markup.resolver.AutoLinkResolver$PathInfo.(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.