tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harish Krishnaswamy <hkrishnasw...@comcast.net>
Subject Re: org.apache.tapestry.ApplicationRuntimeException: Could not parse template
Date Thu, 14 Aug 2003 14:18:30 GMT
I guess that's probably because you are capturing the exception and 
printing the stack trace and not propagating it up.

-Harish

Simon Raveh wrote:

>I pasted the exception stack trace from the console, the output is a blank
>page.
>
>-----Original Message-----
>From: Howard M. Lewis Ship [mailto:hlship@comcast.net]
>Sent: Thursday, August 14, 2003 6:57 AM
>To: 'Tapestry users'
>Subject: RE: org.apache.tapestry.ApplicationRuntimeException: Could not
>parse template
>
>
>The output from the Exception page is more useful; it dumps out the whole
>stack of exceptions and
>thier properties, which typically identifies the specific problem, right
>down the file and line.
>
>--
>Howard M. Lewis Ship
>Creator, Tapestry: Java Web Components
>http://jakarta.apache.org/tapestry
>
>
>
>  
>
>>-----Original Message-----
>>From: Simon Raveh [mailto:Simon.Raveh@nominum.com]
>>Sent: Thursday, August 14, 2003 9:34 AM
>>To: Tapestry users
>>Subject: RE: org.apache.tapestry.ApplicationRuntimeException:
>>Could not parse template
>>
>>
>>Sorry for that But I put the Exception in the subject line.
>>
>>
>>org.apache.tapestry.ApplicationRuntimeException: Could not
>>parse template context:/AddressBlockPage.html.
>>        at
>>org.apache.tapestry.engine.DefaultTemplateSource.constructTemp
>>lateInstance(D
>>efaultTemplateSource.java:487)
>>        at
>>org.apache.tapestry.engine.DefaultTemplateSource.parseTemplate
>>(DefaultTempla
>>teSource.java:457)
>>        at
>>org.apache.tapestry.engine.DefaultTemplateSource.getOrParseTem
>>plate(DefaultT
>>emplateSource.java:430)
>>        at
>>org.apache.tapestry.engine.DefaultTemplateSource.findPageTempl
>>ateInApplicati
>>onRoot(DefaultTemplateSource.j
>>:340)
>>        at
>>org.apache.tapestry.engine.DefaultTemplateSource.findTemplate(
>>DefaultTemplat
>>eSource.java:316)
>>        at
>>org.apache.tapestry.engine.DefaultTemplateSource.getTemplate(D
>>efaultTemplate
>>Source.java:222)
>>        at
>>org.apache.tapestry.BaseComponent.readTemplate(BaseComponent.java:136)
>>        at
>>org.apache.tapestry.BaseComponent.finishLoad(BaseComponent.java:176)
>>        at
>>org.apache.tapestry.pageload.PageLoader.constructComponent(Pag
>>eLoader.java:5
>>66)
>>        at
>>org.apache.tapestry.pageload.PageLoader.loadPage(PageLoader.java:803)
>>        at
>>org.apache.tapestry.pageload.PageSource.getPage(PageSource.java:194)
>>        at
>>org.apache.tapestry.engine.RequestCycle.getPage(RequestCycle.java:236)
>>        at
>>org.apache.tapestry.engine.PageService.service(PageService.java:114)
>>        at
>>org.apache.tapestry.engine.AbstractEngine.service(AbstractEngi
>>ne.java:913)
>>        at
>>org.apache.tapestry.ApplicationServlet.doService(ApplicationSe
>>rvlet.java:238
>>)
>>        at
>>org.apache.tapestry.ApplicationServlet.doGet(ApplicationServle
>>t.java:199)
>>        at
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>>        at
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>>        at
>>weblogic.servlet.internal.ServletStubImpl$ServletInvocationAct
>>ion.run(Servle
>>tStubImpl.java:1058)
>>        at
>>weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle
>>tStubImpl.java
>>:401)
>>        at
>>weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:20)
>>        at
>>weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChain
>>Impl.java:27)
>>        at
>>org.apache.tapestry.RedirectFilter.doFilter(RedirectFilter.java:148)
>>        at
>>weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChain
>>Impl.java:27)
>>        at
>>weblogic.servlet.internal.WebAppServletContext$ServletInvocati
>>onAction.run(W
>>ebAppServletContext.java:5451)
>>        at
>>weblogic.security.service.SecurityServiceManager.runAs(Securit
>>yServiceManage
>>r.java:780)
>>        at
>>weblogic.servlet.internal.WebAppServletContext.invokeServlet(W
>>ebAppServletCo
>>ntext.java:3105)
>>        at
>>weblogic.servlet.internal.ServletRequestImpl.execute(ServletRe
>>questImpl.java
>>:2588)
>>        at
>>weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
>>        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
>>
>>-----Original Message-----
>>From: Howard M. Lewis Ship [mailto:hlship@comcast.net]
>>Sent: Thursday, August 14, 2003 6:24 AM
>>To: 'Tapestry users'
>>Subject: RE: org.apache.tapestry.ApplicationRuntimeException:
>>Could not parse template
>>
>>
>>Of course the fact that you DIDN'T EVEN BOTHER TO INCLUDE THE
>>EXCEPTION in your plea for help was an oversight?
>>
>>--
>>Howard M. Lewis Ship
>>Creator, Tapestry: Java Web Components
>>http://jakarta.apache.org/tapestry
>>
>>
>>
>>    
>>
>>>-----Original
>>>      
>>>
>>Message-----
>>    
>>
>>>From: Simon Raveh [mailto:Simon.Raveh@nominum.com]
>>>Sent: Thursday, August 14, 2003 9:17 AM
>>>To: Tapestry-User
>>>Subject: org.apache.tapestry.ApplicationRuntimeException:
>>>Could not parse template
>>>
>>>
>>>What can be the reason for this exception.
>>>Does it means that my html syntax inside the template is
>>>      
>>>
>>not valid or
>>    
>>
>>>is it because of some component that I'm using inside this template.
>>>
>>>
>>>
>>>Simon
>>>
>>>
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>    
>>
>>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail:
>>>      
>>>
>>tapestry-user-help@jakarta.apache.org
>>    
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>  
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message