tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ville Virtanen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (TAP5-623) Tapestry gives really vague error message under certain circumstances
Date Mon, 06 Apr 2009 14:46:12 GMT

     [ https://issues.apache.org/jira/browse/TAP5-623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ville Virtanen updated TAP5-623:
--------------------------------

    Attachment: RenderNPE.tml
                RenderNPE.java

The attached page demonstrates two different setups that both lead to the stack trace.

> Tapestry gives really vague error message under certain circumstances
> ---------------------------------------------------------------------
>
>                 Key: TAP5-623
>                 URL: https://issues.apache.org/jira/browse/TAP5-623
>             Project: Tapestry 5
>          Issue Type: Improvement
>    Affects Versions: 5.1.0.2
>            Reporter: Ville Virtanen
>         Attachments: RenderNPE.java, RenderNPE.tml
>
>
> We were getting these error messages in _very_ complex views consisting of tens different
components that were rendered inside several loops depending on db content.
> The error was coding error, but T5 could aid with more describing error messages.
> The only error message that T5 was able to give was the following stack trace:
>  at org.apache.tapestry5.dom.AbstractMarkupModel.encodeQuoted(AbstractMarkupModel.java:94)
>  at org.apache.tapestry5.dom.Attribute.render(Attribute.java:69)
>  at org.apache.tapestry5.dom.Element.toMarkup(Element.java:313)
>  at org.apache.tapestry5.dom.Element.writeChildMarkup(Element.java:835)
>  at org.apache.tapestry5.dom.Element.toMarkup(Element.java:351)
>  at org.apache.tapestry5.dom.Element.writeChildMarkup(Element.java:835)
>  at org.apache.tapestry5.dom.Element.toMarkup(Element.java:351)
>  at org.apache.tapestry5.dom.Element.writeChildMarkup(Element.java:835)
>  at org.apache.tapestry5.dom.Element.toMarkup(Element.java:351)
>  at org.apache.tapestry5.dom.Element.writeChildMarkup(Element.java:835)
>  at org.apache.tapestry5.dom.Element.toMarkup(Element.java:351)
>  at org.apache.tapestry5.dom.Element.writeChildMarkup(Element.java:835)
>  at org.apache.tapestry5.dom.Element.toMarkup(Element.java:351)
>  at org.apache.tapestry5.dom.Element.writeChildMarkup(Element.java:835)
>  at org.apache.tapestry5.dom.Element.getChildMarkup(Element.java:848)
>  at org.apache.tapestry5.internal.services.PageRenderQueueImpl.renderPartial(PageRenderQueueImpl.java:163)
>  at $PageRenderQueue_1207bd32012.renderPartial($PageRenderQueue_1207bd32012.java)
>  at $PageRenderQueue_1207bd31ffa.renderPartial($PageRenderQueue_1207bd31ffa.java)
>  at org.apache.tapestry5.internal.services.PartialMarkupRendererTerminator.renderMarkup(PartialMarkupRendererTerminator.java:39)
>  at org.apache.tapestry5.services.TapestryModule$32.renderMarkup(TapestryModule.java:1877)
>  at $PartialMarkupRenderer_1207bd32050.renderMarkup($PartialMarkupRenderer_1207bd32050.java)
>  at org.apache.tapestry5.services.TapestryModule$31.renderMarkup(TapestryModule.java:1858)
>  at $PartialMarkupRenderer_1207bd32050.renderMarkup($PartialMarkupRenderer_1207bd32050.java)
>  at org.apache.tapestry5.services.TapestryModule$30.renderMarkup(TapestryModule.java:1840)
>  at $PartialMarkupRenderer_1207bd32050.renderMarkup($PartialMarkupRenderer_1207bd32050.java)
>  at org.apache.tapestry5.services.TapestryModule$29.renderMarkup(TapestryModule.java:1822)
>  at $PartialMarkupRenderer_1207bd32050.renderMarkup($PartialMarkupRenderer_1207bd32050.java)
>  at org.apache.tapestry5.services.TapestryModule$28.renderMarkup(TapestryModule.java:1796)
>  at $PartialMarkupRenderer_1207bd32050.renderMarkup($PartialMarkupRenderer_1207bd32050.java)
>  at $PartialMarkupRenderer_1207bd3204f.renderMarkup($PartialMarkupRenderer_1207bd3204f.java)
>  at org.apache.tapestry5.internal.services.AjaxPartialResponseRendererImpl.renderPartialPageMarkup(AjaxPartialResponseRendererImpl.java:79)
>  at $AjaxPartialResponseRenderer_1207bd3204d.renderPartialPageMarkup($AjaxPartialResponseRenderer_1207bd3204d.java)
>  at org.apache.tapestry5.internal.services.AjaxComponentEventRequestHandler.handle(AjaxComponentEventRequestHandler.java:118)
>  at $ComponentEventRequestHandler_1207bd3201c.handle($ComponentEventRequestHandler_1207bd3201c.java)
>  at org.apache.tapestry5.internal.services.AjaxFilter.handle(AjaxFilter.java:42)
>  at $ComponentEventRequestHandler_1207bd3201e.handle($ComponentEventRequestHandler_1207bd3201e.java)
>  at org.apache.tapestry5.upload.internal.services.UploadExceptionFilter.handle(UploadExceptionFilter.java:73)
>  at $ComponentEventRequestHandler_1207bd3201e.handle($ComponentEventRequestHandler_1207bd3201e.java)
>  at org.apache.tapestry5.services.TapestryModule$36.handle(TapestryModule.java:2173)
>  at $ComponentEventRequestHandler_1207bd3201e.handle($ComponentEventRequestHandler_1207bd3201e.java)
>  at $ComponentEventRequestHandler_1207bd31e29.handle($ComponentEventRequestHandler_1207bd31e29.java)
>  at org.apache.tapestry5.internal.services.ComponentRequestHandlerTerminator.handleComponentEvent(ComponentRequestHandlerTerminator.java:43)
>  at $ComponentRequestHandler_1207bd31e1d.handleComponentEvent($ComponentRequestHandler_1207bd31e1d.java)
>  at org.apache.tapestry5.internal.services.ComponentEventDispatcher.dispatch(ComponentEventDispatcher.java:46)
>  at $Dispatcher_1207bd31e1f.dispatch($Dispatcher_1207bd31e1f.java)
>  at $Dispatcher_1207bd31e15.dispatch($Dispatcher_1207bd31e15.java)
>  at org.apache.tapestry5.services.TapestryModule$RequestHandlerTerminator.service(TapestryModule.java:250)
>  at org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26)
>  at $RequestHandler_1207bd31e16.service($RequestHandler_1207bd31e16.java)
>  at org.apache.tapestry5.services.TapestryModule$4.service(TapestryModule.java:782)
>  at $RequestHandler_1207bd31e16.service($RequestHandler_1207bd31e16.java)
>  at org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:771)
>  at $RequestHandler_1207bd31e16.service($RequestHandler_1207bd31e16.java)
>  at org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:85)
>  at $RequestHandler_1207bd31e16.service($RequestHandler_1207bd31e16.java)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message