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

Alfie Kirkpatrick commented on TAP5-573:
----------------------------------------

I am also seeing this error when returning a block from an event handler but 
only when my block contains nested elements. If it contains plain text it works 
fine.

> NullPointerException during AJAX form submit
> --------------------------------------------
>
>                 Key: TAP5-573
>                 URL: https://issues.apache.org/jira/browse/TAP5-573
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.1
>            Reporter: Thiago H. de Paula Figueiredo
>            Assignee: Howard M. Lewis Ship
>            Priority: Critical
>             Fix For: 5.1.0.2
>
>
> To reproduce this bug:
> * Checkout the Ars Machina Example Project from SVN: 
> https://ars-machina.svn.sourceforge.net/svnroot/ars-machina/example/branches/1.1
> * Run its Main class (default package)
> * Click in the login link
> * Login as manager (login) manager (password)
> * Click in the project listings link
> * Click in one of the edition links (the second icon)
> * Click the submit button.
> Relevant part of the stack trace:
> java.lang.NullPointerException
>       at 
> org.apache.tapestry5.dom.Element.createNamespaceURIToPrefix(Element.java:676)
>       at org.apache.tapestry5.dom.Element.toMarkup(Element.java:333)
>       at org.apache.tapestry5.dom.Element.writeChildMarkup(Element.java:870)
>       at org.apache.tapestry5.dom.Element.toMarkup(Element.java:386)
>       at org.apache.tapestry5.dom.Element.writeChildMarkup(Element.java:870)
>       at org.apache.tapestry5.dom.Element.toMarkup(Element.java:386)
>       at org.apache.tapestry5.dom.Element.writeChildMarkup(Element.java:870)
>       at org.apache.tapestry5.dom.Element.getChildMarkup(Element.java:883)
>       at 
> org.apache.tapestry5.internal.services.PageRenderQueueImpl.renderPartial(PageRenderQueueImpl.java:163)

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

Reply via email to