Hi All, Any one knows, what might be issue here. I'm still stuck. Please help..
On Tue, Aug 13, 2013 at 2:08 PM, Lenny Primak <lpri...@hope.nyc.ny.us>wrote: > Yup. Things change. Bugs get exposed etc. that's just the way it is > unfortunately. > > > > On Aug 13, 2013, at 5:02 PM, rukmini n <rukmini...@gmail.com> wrote: > > > OK.. But this was working fine, earlier.. We upgraded tapestry from > 5.0.15 > > to 5.2.5. Since then we are seeing this issue. > > > > > > Thanks, > > Rukmini > > > > On Tue, Aug 13, 2013 at 12:48 PM, Lenny Primak <lpri...@hope.nyc.ny.us > >wrote: > > > >> I would suggest you crack open the debugger, and debug the code that > >> throws NPE. > >> Even if it's inside Tapestry, it'll shine the light on what's causing it > >> in your code. > >> You will learn the mistake immediately, and learn something new in the > >> process. > >> > >> On Aug 13, 2013, at 3:45 PM, rukmini n wrote: > >> > >>> Hi Thiago.. > >>> > >>> I tried, what you suggested.. But I got the exception. Please help.. > >>> > >>> > >>> Caused by: org.apache.tapestry5.ioc.internal.util.TapestryException [at > >>> classpath:com/test/ui/components/sh/common/LoginComponent.tml, line 44] > >>> at > >> > org.apache.tapestry5.internal.structure.ComponentPageElementImpl$AbstractPhase.invoke(ComponentPageElementImpl.java:194) > >>> at > >> > org.apache.tapestry5.internal.structure.ComponentPageElementImpl$AfterRenderBodyPhase.render(ComponentPageElementImpl.java:371) > >>> at > >> > org.apache.tapestry5.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:72) > >>> ... 110 more > >>> Caused by: java.lang.NullPointerException > >>> at org.apache.tapestry5.dom.Node.moveBefore(Node.java:106) > >>> at org.apache.tapestry5.dom.Element.pop(Element.java:657) > >>> at > >> > com.test.ui.components.sh.common.FieldValidationErrorMsg.afterRenderBody(FieldValidationErrorMsg.java:104) > >>> at > >> > com.test.ui.components.sh.common.FieldValidationErrorMsg$MethodAccess_afterRenderBody_1407932bda2.invoke(FieldValidationErrorMsg$MethodAccess_afterRenderBody_1407932bda2.java) > >>> at > >> > org.apache.tapestry5.internal.transform.RenderPhaseMethodWorker$Invoker.invoke(RenderPhaseMethodWorker.java:117) > >>> at > >> > org.apache.tapestry5.internal.transform.RenderPhaseMethodWorker$RenderPhaseMethodAdvice.advise(RenderPhaseMethodWorker.java:86) > >>> at > >> > org.apache.tapestry5.internal.services.AbstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:86) > >>> at > >> > com.test.ui.components.sh.common.FieldValidationErrorMsg.afterRenderBody(FieldValidationErrorMsg.java) > >>> at > >> > org.apache.tapestry5.internal.structure.ComponentPageElementImpl$AfterRenderBodyPhase.invokeComponent(ComponentPageElementImpl.java:364) > >>> at > >> > org.apache.tapestry5.internal.structure.ComponentPageElementImpl$AbstractPhase.invoke(ComponentPageElementImpl.java:176) > >>> ... 112 more > >>> > >>> > >>> Thanks, > >>> Rukmini > >>> > >>> On Tue, Aug 13, 2013 at 12:18 PM, Thiago H de Paula Figueiredo < > >>> thiag...@gmail.com> wrote: > >>> > >>>> On Tue, 13 Aug 2013 15:04:54 -0300, rukmini n <rukmini...@gmail.com> > >>>> wrote: > >>>> > >>>> Hi Thiago, > >>>> > >>>> Hi! > >>>> > >>>> I think the problem is here: > >>>> > >>>> msgEle.removeChildren(); > >>>>> msgEle.pop(); > >>>> > >>>> Have you tried just using msgEle.remove(), as you seem to want to > remove > >>>> the element completely? > >>>> > >>>> > >>>> -- > >>>> Thiago H. de Paula Figueiredo > >> > ------------------------------**------------------------------**--------- > >>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.**apache.org< > >> users-unsubscr...@tapestry.apache.org> > >>>> For additional commands, e-mail: users-h...@tapestry.apache.org > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > >> For additional commands, e-mail: users-h...@tapestry.apache.org > >> > >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >