tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yunhua Sang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (TAP5-554) NPE when click addRow within AjaxFormLoop
Date Thu, 05 Mar 2009 01:59:56 GMT

    [ https://issues.apache.org/jira/browse/TAP5-554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12679037#action_12679037
] 

Yunhua Sang commented on TAP5-554:
----------------------------------

To reproduce:

1) edit FormInjectorDemo.tml, replace HTML element to 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
2) add <span>anything</span> in front of <t:textfield t:id="value" value="item.value"/>
in <t:submitnotifier>



> NPE when click addRow within AjaxFormLoop
> -----------------------------------------
>
>                 Key: TAP5-554
>                 URL: https://issues.apache.org/jira/browse/TAP5-554
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.0, 5.1.0.1
>            Reporter: Yunhua Sang
>            Priority: Minor
>
> On the screen:
> Ajax failure: Status 500 for /tapestry/forminjectordemo.loop.rowinjector:inject/1236217007110?t:ac=FakePageActivationContextValue&t:formcomponentid=FormInjectorDemo:form&t:formid=form:
java.lang.NullPointerException
> In console:
> ERROR] RequestExceptionHandler Processing of request failed with uncaught exception:
java.lang.NullPointerException
> java.lang.NullPointerException
> 	at org.apache.tapestry5.dom.Element.createNamespaceURIToPrefix(Element.java:678)
> 	at org.apache.tapestry5.dom.Element.toMarkup(Element.java:335)
> 	at org.apache.tapestry5.dom.Element.writeChildMarkup(Element.java:872)
> 	at org.apache.tapestry5.dom.Element.getChildMarkup(Element.java:885)
> 	at org.apache.tapestry5.internal.services.PageRenderQueueImpl.renderPartial(PageRenderQueueImpl.java:163)
> 	at $PageRenderQueue_11fd441d050.renderPartial($PageRenderQueue_11fd441d050.java)
> 	at $PageRenderQueue_11fd441d04f.renderPartial($PageRenderQueue_11fd441d04f.java)
> 	at org.apache.tapestry5.internal.services.PartialMarkupRendererTerminator.renderMarkup(PartialMarkupRendererTerminator.java:39)
> 	at org.apache.tapestry5.services.TapestryModule$31.renderMarkup(TapestryModule.java:1821)
> 	at $PartialMarkupRenderer_11fd441d129.renderMarkup($PartialMarkupRenderer_11fd441d129.java)
> 	at org.apache.tapestry5.services.TapestryModule$30.renderMarkup(TapestryModule.java:1802)
> 	at $PartialMarkupRenderer_11fd441d129.renderMarkup($PartialMarkupRenderer_11fd441d129.java)
> 	at org.apache.tapestry5.services.TapestryModule$29.renderMarkup(TapestryModule.java:1784)
> 	at $PartialMarkupRenderer_11fd441d129.renderMarkup($PartialMarkupRenderer_11fd441d129.java)
> 	at org.apache.tapestry5.services.TapestryModule$28.renderMarkup(TapestryModule.java:1766)
> 	at $PartialMarkupRenderer_11fd441d129.renderMarkup($PartialMarkupRenderer_11fd441d129.java)
> 	at org.apache.tapestry5.services.TapestryModule$27.renderMarkup(TapestryModule.java:1740)
> 	at $PartialMarkupRenderer_11fd441d129.renderMarkup($PartialMarkupRenderer_11fd441d129.java)
> 	at $PartialMarkupRenderer_11fd441d128.renderMarkup($PartialMarkupRenderer_11fd441d128.java)
> 	at org.apache.tapestry5.internal.services.AjaxPartialResponseRendererImpl.renderPartialPageMarkup(AjaxPartialResponseRendererImpl.java:79)
> 	at $AjaxPartialResponseRenderer_11fd441d126.renderPartialPageMarkup($AjaxPartialResponseRenderer_11fd441d126.java)
> 	at org.apache.tapestry5.internal.services.AjaxComponentEventRequestHandler.handle(AjaxComponentEventRequestHandler.java:118)
> 	at $ComponentEventRequestHandler_11fd441d123.handle($ComponentEventRequestHandler_11fd441d123.java)
> 	at org.apache.tapestry5.internal.services.AjaxFilter.handle(AjaxFilter.java:42)
> 	at $ComponentEventRequestHandler_11fd441d125.handle($ComponentEventRequestHandler_11fd441d125.java)
> 	at org.apache.tapestry5.services.TapestryModule$35.handle(TapestryModule.java:2109)
> 	at $ComponentEventRequestHandler_11fd441d125.handle($ComponentEventRequestHandler_11fd441d125.java)
> 	at $ComponentEventRequestHandler_11fd441cffd.handle($ComponentEventRequestHandler_11fd441cffd.java)
> 	at org.apache.tapestry5.internal.services.ComponentRequestHandlerTerminator.handleComponentEvent(ComponentRequestHandlerTerminator.java:43)
> 	at $ComponentRequestHandler_11fd441cff6.handleComponentEvent($ComponentRequestHandler_11fd441cff6.java)
> 	at org.apache.tapestry5.internal.services.ComponentEventDispatcher.dispatch(ComponentEventDispatcher.java:138)
> 	at $Dispatcher_11fd441cff7.dispatch($Dispatcher_11fd441cff7.java)
> 	at $Dispatcher_11fd441cfed.dispatch($Dispatcher_11fd441cfed.java)
> 	at org.apache.tapestry5.services.TapestryModule$RequestHandlerTerminator.service(TapestryModule.java:246)
> 	at org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26)
> 	at $RequestHandler_11fd441cfee.service($RequestHandler_11fd441cfee.java)
> 	at org.apache.tapestry5.services.TapestryModule$4.service(TapestryModule.java:765)
> 	at $RequestHandler_11fd441cfee.service($RequestHandler_11fd441cfee.java)
> 	at org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:755)
> 	at $RequestHandler_11fd441cfee.service($RequestHandler_11fd441cfee.java)
> 	at org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:85)
> 	at $RequestHandler_11fd441cfee.service($RequestHandler_11fd441cfee.java)
> 	at org.apache.tapestry5.integration.app1.services.AppModule$2.service(AppModule.java:90)
> 	at $RequestFilter_11fd441cfea.service($RequestFilter_11fd441cfea.java)
> 	at $RequestHandler_11fd441cfee.service($RequestHandler_11fd441cfee.java)
> 	at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:90)
> 	at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:81)
> 	at org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:85)
> 	at org.apache.tapestry5.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:103)
> 	at $RequestHandler_11fd441cfee.service($RequestHandler_11fd441cfee.java)
> 	at $RequestHandler_11fd441cfe3.service($RequestHandler_11fd441cfe3.java)
> 	at org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:198)
> 	at org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53)
> 	at $HttpServletRequestHandler_11fd441cfe5.service($HttpServletRequestHandler_11fd441cfe5.java)
> 	at org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
> 	at $HttpServletRequestFilter_11fd441cfe2.service($HttpServletRequestFilter_11fd441cfe2.java)
> 	at $HttpServletRequestHandler_11fd441cfe5.service($HttpServletRequestHandler_11fd441cfe5.java)
> 	at org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:717)
> 	at $HttpServletRequestHandler_11fd441cfe5.service($HttpServletRequestHandler_11fd441cfe5.java)
> 	at $HttpServletRequestHandler_11fd441cfe0.service($HttpServletRequestHandler_11fd441cfe0.java)
> 	at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:127)
> 	at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> 	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> 	at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
> 	at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> 	at org.mortbay.http.HttpServer.service(HttpServer.java:909)
> 	at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
> 	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
> 	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
> 	at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
> 	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> 	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

-- 
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