Good catch - I just did it since I still had them open. On Fri, Dec 12, 2008 at 11:07 AM, James Carman <jcar...@carmanconsulting.com > wrote:
> I would also link the issues > > On Fri, Dec 12, 2008 at 12:02 PM, Jeremy Thomerson > <jer...@wickettraining.com> wrote: > > Your ticket is already in JIRA as > > https://issues.apache.org/jira/browse/WICKET-1513 - reported in April. > I > > attached a patch to fix it last month. Please close the ticket you just > > opened, and instead, comment on and vote for WICKET-1513. > > > > You can also apply the patch to a locally-built Wicket if you need to use > it > > right now. > > > > Thanks! > > -- > > Jeremy Thomerson > > http://www.wickettraining.com > > > > > > On Thu, Dec 11, 2008 at 8:00 AM, danielt <daniel.te...@web.de> wrote: > > > >> > >> okay, ticket is WICKET-1976 > >> https://issues.apache.org/jira/browse/WICKET-1976 > >> thanks, Tee > >> > >> > >> Bruno Cesar Borges wrote: > >> > > >> > Please, submit a JIRA issue. Looks like a simple bug while parsing the > >> > content. > >> > > >> > PS: should now be the time to reconsider the idea of dropping > >> wicket:link? > >> > :-) > >> > > >> > -----Original Message----- > >> > From: danielt [mailto:daniel.te...@web.de] > >> > Sent: Thursday, December 11, 2008 11:34 AM > >> > To: users@wicket.apache.org > >> > Subject: NPE when <wicket:link> embedding <input type="image" > src"..."> > >> > > >> > > >> > > >> > hi at all.. > >> > > >> > works: > >> > <wicket:link> > >> > <img src="resources/prev.png"> > >> > </wicket:link> > >> > > >> > doesn't work: > >> > <wicket:link> > >> > <input type="image" src="resources/prev.png" /> > >> > </wicket:link> > >> > > >> > ErrorLog: > >> > > >> > WicketMessage: Exception in rendering component: [MarkupContainer > >> > [Component > >> > id = _link5]] > >> > > >> > Root cause: > >> > > >> > 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:812) > >> > at > >> > > >> > org.apache.wicket.markup.resolver.AutoLinkResolver.resolve(AutoLinkResolver.java:747) > >> > at > >> org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1324) > >> > at > >> > > >> > org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1476) > >> > at > >> > > >> > org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1401) > >> > at org.apache.wicket.Component.renderComponent(Component.java:2480) > >> > at > org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1411) > >> > at org.apache.wicket.Component.render(Component.java:2317) > >> > at org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:223) > >> > at > >> > > >> > org.apache.wicket.markup.resolver.WicketLinkResolver.resolve(WicketLinkResolver.java:73) > >> > 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:1470) > >> > at org.apache.wicket.Component.render(Component.java:2317) > >> > at org.apache.wicket.Page.renderPage(Page.java:904) > >> > at > >> > > >> > org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:231) > >> > at > >> > > >> > org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:104) > >> > at > >> > > >> > org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1181) > >> > at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252) > >> > at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353) > >> > at org.apache.wicket.RequestCycle.request(RequestCycle.java:493) > >> > at > >> > > org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355) > >> > at > >> > > >> > org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200) > >> > at > >> > > >> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > >> > at > >> > > >> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > >> > at > >> > > >> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) > >> > at > >> > > >> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) > >> > at > >> > > >> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > >> > at > >> > > >> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) > >> > at > >> > > >> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > >> > at > >> > > >> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261) > >> > at > >> > > >> > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) > >> > at > >> > > >> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581) > >> > at > >> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) > >> > at java.lang.Thread.run(Thread.java:619) > >> > > >> > bug or feature? > >> > > >> > thanks a lot and best regards, > >> > Tee > >> > > >> > -- > >> > View this message in context: > >> > > >> > http://www.nabble.com/NPE-when-%3Cwicket%3Alink%3E-embedding-%3Cinput-type%3D%22image%22-src%22...%22%3E-tp20955539p20955539.html > >> > Sent from the Wicket - User mailing list archive at Nabble.com. > >> > > >> > > >> > --------------------------------------------------------------------- > >> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> > For additional commands, e-mail: users-h...@wicket.apache.org > >> > > >> > > >> > *************************************************************************************************** > >> > "Atenção: Esta mensagem foi enviada para uso exclusivo do(s) > >> > destinatários(s) acima identificado(s), > >> > podendo conter informações e/ou documentos confidencias/privilegiados > e > >> > seu sigilo é protegido por > >> > lei. Caso você tenha recebido por engano, por favor, informe o > remetente > >> e > >> > apague-a de seu sistema. > >> > Notificamos que é proibido por lei a sua retenção, disseminação, > >> > distribuição, cópia ou uso sem > >> > expressa autorização do remetente. Opiniões pessoais do remetente não > >> > refletem, necessariamente, > >> > o ponto de vista da CETIP, o qual é divulgado somente por pessoas > >> > autorizadas." > >> > > >> > > >> > "Warning: This message was sent for exclusive use of the addressees > above > >> > identified, possibly > >> > containing information and or privileged/confidential documents whose > >> > content is protected by law. > >> > In case you have mistakenly received it, please notify the sender and > >> > delete it from your system. > >> > Be noticed that the law forbids the retention, dissemination, > >> > distribution, copy or use without > >> > express authorization from the sender. Personal opinions of the sender > do > >> > not necessarily reflect > >> > CETIP's point of view, which is only divulged by authorized > personnel." > >> > > >> > *************************************************************************************************** > >> > > >> > > >> > --------------------------------------------------------------------- > >> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> > For additional commands, e-mail: users-h...@wicket.apache.org > >> > > >> > > >> > > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/RE%3A-NPE-when-%3Cwicket%3Alink%3E-embedding-%3Cinput-type%3D%22image%22-src%22...%22%3E-tp20955590p20955946.html > >> Sent from the Wicket - User mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> For additional commands, e-mail: users-h...@wicket.apache.org > >> > >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Jeremy Thomerson http://www.wickettraining.com