Return-Path: Delivered-To: apmail-tapestry-dev-archive@www.apache.org Received: (qmail 35777 invoked from network); 27 Jul 2009 20:53:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Jul 2009 20:53:33 -0000 Received: (qmail 93652 invoked by uid 500); 27 Jul 2009 20:54:37 -0000 Delivered-To: apmail-tapestry-dev-archive@tapestry.apache.org Received: (qmail 93582 invoked by uid 500); 27 Jul 2009 20:54:37 -0000 Mailing-List: contact commits-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tapestry.apache.org Delivered-To: mailing list commits@tapestry.apache.org Received: (qmail 93572 invoked by uid 99); 27 Jul 2009 20:54:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jul 2009 20:54:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jul 2009 20:54:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 679D2234C044 for ; Mon, 27 Jul 2009 13:54:15 -0700 (PDT) Message-ID: <96338799.1248728055408.JavaMail.jira@brutus> Date: Mon, 27 Jul 2009 13:54:15 -0700 (PDT) From: "Constantin Partac (JIRA)" To: commits@tapestry.apache.org Subject: [jira] Commented: (TAP5-541) Regression: Parameter namespacePrefix was null In-Reply-To: <1052959153.1235748912803.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735769#action_12735769 ] Constantin Partac commented on TAP5-541: ---------------------------------------- I had the same issue but the cause was not an older version of woodstox but JBoss 4.2.2 (Andrej was right). The problem can be by adding the following system properties: javax.xml.stream.XMLInputFactory=com.ctc.wstx.stax.WstxInputFactory javax.xml.stream.XMLOutputFactory=com.ctc.wstx.stax.WstxOutputFactory javax.xml.stream.XMLEventFactory=com.ctc.wstx.stax.WstxEventFactory com.sun.xml.ws.api.streaming.XMLStreamReaderFactory.woodstox=true com.sun.xml.ws.api.streaming.XMLStreamWriterFactory.woodstox=true and by adding the following jars in lib folder of the JBoss server instace (not WEB-INF/lib where they are optional now): woodstox-core-asl-4.0.3.jar stax-api-1.0.1.jar stax2-api-3.0.1.jar > Regression: Parameter namespacePrefix was null > ---------------------------------------------- > > Key: TAP5-541 > URL: https://issues.apache.org/jira/browse/TAP5-541 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 5.1 > Environment: Windows XP 5.1,x86, Java HotSpot(TM) Client VM 1.5.0_15-b04,Sun Microsystems Inc., JBoss 4.2.3 > Reporter: Andrej Aschenbrenner > Assignee: Howard M. Lewis Ship > > I get an exception after switching to the new Tapestry 5.1.0.0 Version. > Relevant Template snippet: > xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> > > > ${title} > > > > > ... > Exception StackTrace snippet: > 16:18:38,581 ERROR [Login] Render queue error in CompositeRenderCommand[Start[http://www.w3.org/1999/xhtml html], DefineNamespace[null http://www.w3.org/1999/xhtml], Text[ > ], Start[http://www.w3.org/1999/xhtml head], Text[ > ], Start[http://www.w3.org/1999/xhtml meta], AttributeNS[ http-equiv "Content-Type"], AttributeNS[ content "text/html; charset=UTF-8"], End, Text[ > ], Start[http://www.w3.org/1999/xhtml title]]: Parameter namespacePrefix was null. > java.lang.IllegalArgumentException: Parameter namespacePrefix was null. > at org.apache.tapestry5.ioc.internal.util.Defense.notNull(Defense.java:37) > at org.apache.tapestry5.dom.Element.defineNamespace(Element.java:519) > at org.apache.tapestry5.internal.services.MarkupWriterImpl.defineNamespace(MarkupWriterImpl.java:221) > at org.apache.tapestry5.internal.pageload.PageLoaderImpl$4.render(PageLoaderImpl.java:341) > at org.apache.tapestry5.internal.pageload.CompositeRenderCommand.render(CompositeRenderCommand.java:68) > at org.apache.tapestry5.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:74) > at org.apache.tapestry5.internal.services.PageRenderQueueImpl.render(PageRenderQueueImpl.java:121) > at $PageRenderQueue_11fb85075e4.render($PageRenderQueue_11fb85075e4.java) > at $PageRenderQueue_11fb85075db.render($PageRenderQueue_11fb85075db.java) > at org.apache.tapestry5.internal.services.MarkupRendererTerminator.renderMarkup(MarkupRendererTerminator.java:37) > ... > For me it seems that Tapestry requires a namespace declaration on the tag. But I have already the default namespace declaration on > the <html xmlns="http://www.w3.org/1999/xhtml"> tag. > P.S. with only <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> it fails also. But it did work on Tapestry 5.0.18 > Thanks, > Andrej Aschenbrenner -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.