tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Howard Lewis Ship <hls...@gmail.com>
Subject Re: Throws a Stack when the Page is kept idle for sometime and clicked on any of the components
Date Tue, 01 Nov 2005 22:16:48 GMT
This is a tapestry-user problem, not appropriate for tapestry-developer.

Problem #1: You session is stale.  It has expired. Basic Servlet stuff.
Problem #2  Spring doesn't have good enough error messages.
Problem #3: You made no effort to ensure that your session was valid.

On 10/31/05, Badri Narayan <badrink@yepmail.net> wrote:
> Hi,
> The Stack is pasted below,
> [10/27/05 2:17:07:700 EDT] 00000062 ClaimsStatusV E   null is not a
> valid identifier
> [10/27/05 2:17:07:702 EDT] 00000062 ClaimsStatusV E   TRAS0014I: The
> following exception was logged java.lang.NullPointerException: null is
> not a valid identifier
>         at net.sf.hibernate.impl.SessionImpl.load(SessionImpl.java(Compiled Code))
>         at org.springframework.orm.hibernate.HibernateTemplate$3.doInHibernate(HibernateTemplate.java(Compiled
Code))
>         at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java(Compiled
Code))
>         at org.springframework.orm.hibernate.HibernateTemplate.load(HibernateTemplate.java(Compiled
Code))
>         at com.webify.hta.cs.db.CsMgr.getRequest(CsMgr.java:215)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled
Code))
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled
Code))
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled
Code))
>         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
>         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java(Inlined
Compiled Code))
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java(Compiled
Code))
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java(Compiled
Code))
>         at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java(Compiled
Code))
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java(Compiled
Code))
>         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java(Compiled
Code))
>         at $Proxy29.getRequest(Unknown Source)
>         at com.webify.hta.cs.pages.transact.SingleClaimStatusDetails.populateDetailSummaryBean(SingleClaimStatusDetails.java:116)
>         at com.webify.hta.cs.pages.transact.CSDetails.navigateTo(CSDetails.java:212)
>         at com.webify.hta.cs.pages.transact.ClaimsStatusVisibilityCriteria.showDetails(ClaimsStatusVisibilityCriteria.java:210)
>         at sun.reflect.GeneratedMethodAccessor1208.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled
Code))
>         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
>         at org.apache.tapestry.listener.ListenerMap.invokeTargetMethod(ListenerMap.java(Compiled
Code))
>         at org.apache.tapestry.listener.ListenerMap.access$100(ListenerMap.java(Inlined
Compiled Code))
>         at org.apache.tapestry.listener.ListenerMap$SyntheticListener.invoke(ListenerMap.java(Inlined
Compiled Code))
>         at org.apache.tapestry.listener.ListenerMap$SyntheticListener.actionTriggered(ListenerMap.java(Compiled
Code))
>         at org.apache.tapestry.form.Submit.renderComponent(Submit.java:80)
>         at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java(Compiled
Code))
>         at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java(Compiled
Code))
>         at org.apache.tapestry.contrib.form.FormConditional.renderComponent(FormConditional.java:83)
>         at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java(Compiled
Code))
>         at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java(Compiled
Code))
>         at org.apache.tapestry.form.Form.renderComponent(Form.java:362)
>         at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java(Compiled
Code))
>         at org.apache.tapestry.form.Form.rewind(Form.java:568)
>         at org.apache.tapestry.engine.RequestCycle.rewindForm(RequestCycle.java:432)
>         at org.apache.tapestry.form.Form.trigger(Form.java:582)
>         at org.apache.tapestry.engine.DirectService.service(DirectService.java:169)
>         at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:889)
>         at com.webify.webapp.web.WebifyEngine.service(WebifyEngine.java:26)
>         at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:198)
>         at org.apache.tapestry.ApplicationServlet.doPost(ApplicationServlet.java:327)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
>         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1173)
>         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled
Code))
>         at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:171)
>         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
>         at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
>         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled
Code))
>         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:626)
>         at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java(Compiled
Code))
>         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java(Compiled
Code))
>         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java(Compiled
Code))
>         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java(Compiled
Code))
>         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java(Compiled
Code))
>         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
>         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)
>         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)
>         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled
Code))
>         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled
Code))
>         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled
Code))
>         at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled
Code))
>         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
> .
>                                  java.lang.NullPointerException: null is
>                                  not a valid identifier
>         at net.sf.hibernate.impl.SessionImpl.load(SessionImpl.java(Compiled Code))
>         at org.springframework.orm.hibernate.HibernateTemplate$3.doInHibernate(HibernateTemplate.java(Compiled
Code))
>         at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java(Compiled
Code))
>         at org.springframework.orm.hibernate.HibernateTemplate.load(HibernateTemplate.java(Compiled
Code))
>         at com.webify.hta.cs.db.CsMgr.getRequest(CsMgr.java:215)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled
Code))
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled
Code))
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled
Code))
>         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
>         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java(Inlined
Compiled Code))
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java(Compiled
Code))
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java(Compiled
Code))
>         at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java(Compiled
Code))
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java(Compiled
Code))
>         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java(Compiled
Code))
>         at $Proxy29.getRequest(Unknown Source)
>         at com.webify.hta.cs.pages.transact.SingleClaimStatusDetails.populateDetailSummaryBean(SingleClaimStatusDetails.java:116)
>         at com.webify.hta.cs.pages.transact.CSDetails.navigateTo(CSDetails.java:212)
>         at com.webify.hta.cs.pages.transact.ClaimsStatusVisibilityCriteria.showDetails(ClaimsStatusVisibilityCriteria.java:210)
>         at sun.reflect.GeneratedMethodAccessor1208.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled
Code))
>         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
>         at org.apache.tapestry.listener.ListenerMap.invokeTargetMethod(ListenerMap.java(Compiled
Code))
>         at org.apache.tapestry.listener.ListenerMap.access$100(ListenerMap.java(Inlined
Compiled Code))
>         at org.apache.tapestry.listener.ListenerMap$SyntheticListener.invoke(ListenerMap.java(Inlined
Compiled Code))
>         at org.apache.tapestry.listener.ListenerMap$SyntheticListener.actionTriggered(ListenerMap.java(Compiled
Code))
>         at org.apache.tapestry.form.Submit.renderComponent(Submit.java:80)
>         at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java(Compiled
Code))
>         at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java(Compiled
Code))
>         at org.apache.tapestry.contrib.form.FormConditional.renderComponent(FormConditional.java:83)
>         at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java(Compiled
Code))
>         at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java(Compiled
Code))
>         at org.apache.tapestry.form.Form.renderComponent(Form.java:362)
>         at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java(Compiled
Code))
>         at org.apache.tapestry.form.Form.rewind(Form.java:568)
>         at org.apache.tapestry.engine.RequestCycle.rewindForm(RequestCycle.java:432)
>         at org.apache.tapestry.form.Form.trigger(Form.java:582)
>         at org.apache.tapestry.engine.DirectService.service(DirectService.java:169)
>         at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:889)
>         at com.webify.webapp.web.WebifyEngine.service(WebifyEngine.java:26)
>         at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:198)
>         at org.apache.tapestry.ApplicationServlet.doPost(ApplicationServlet.java:327)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
>         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1173)
>         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled
Code))
>         at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:171)
>         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
>         at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
>         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled
Code))
>         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:626)
>         at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java(Compiled
Code))
>         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java(Compiled
Code))
>         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java(Compiled
Code))
>         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java(Compiled
Code))
>         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java(Compiled
Code))
>         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
>         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)
>         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)
>         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled
Code))
>         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled
Code))
>         at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled
Code))
>         at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled
Code))
>         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
>
> Thanks,
> -Badri
>
> --
> http://www.fastmail.fm - And now for something completely different�
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>
>


--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com
Mime
View raw message