You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Matthias Wessendorf <ma...@apache.org> on 2009/12/30 18:31:49 UTC
[MyFaces 2.0] issue
Hi,
I am seeing this:
missing ) after argument list
[Break on this error]
jsf.util.chain(document.getElementById('...d656309279_1ee9688b','j_id1670484283_385
on something like:
<h:commandLink value="Click me">
<f:ajax onevent="myCustomJSCallback" />
</h:commandLink>
Is this already known? Otherwise I will file a bug on that (I am
running on trunk)
-Matthias
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
Re: [MyFaces 2.0] issue
Posted by Matthias Wessendorf <ma...@apache.org>.
filed this:
MYFACES-2470
with a _very_ simple test-case.
I hope to get a chance for this on Saturday...
On Thu, Dec 31, 2009 at 2:04 PM, Matthias Wessendorf <ma...@apache.org> wrote:
> On Thu, Dec 31, 2009 at 11:25 AM, Matthias Wessendorf <ma...@apache.org> wrote:
>> On Wed, Dec 30, 2009 at 7:27 PM, Jakob Korherr <ja...@gmail.com> wrote:
>>> Hi Matthias,
>>>
>>> There are currently many f:ajax related bugs.
>>
>> Yeah, I just noticed that :-)
>
> looks like some duplicated IDs are around when submitting Ajax requests:
>
> java.lang.IllegalStateException: Client-id : j_id656309279_1ee968d7 is
> duplicated in the faces tree. Component : j_id656309279_1ee968d7,
> path: {Component-Path : [Class:
> javax.faces.component.UIViewRoot,ViewId: /ajax.xhtml][Class:
> javax.faces.component.html.HtmlHead,Id: j_id656309279_1ee968f9][Class:
> javax.faces.component.UIOutput,Id: j_id656309279_1ee968d7]}
> at org.apache.myfaces.context.ExceptionHandlerImpl.wrap(ExceptionHandlerImpl.java:241)
> at org.apache.myfaces.context.ExceptionHandlerImpl.handle(ExceptionHandlerImpl.java:156)
> at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:216)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:191)
> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
> at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
> at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
> at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> at org.mortbay.jetty.Server.handle(Server.java:326)
> at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
> at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
> at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
> Caused by: java.lang.IllegalStateException: Client-id :
> j_id656309279_1ee968d7 is duplicated in the faces tree. Component :
> j_id656309279_1ee968d7, path: {Component-Path : [Class:
> javax.faces.component.UIViewRoot,ViewId: /ajax.xhtml][Class:
> javax.faces.component.html.HtmlHead,Id: j_id656309279_1ee968f9][Class:
> javax.faces.component.UIOutput,Id: j_id656309279_1ee968d7]}
> at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:515)
> at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:530)
> at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:530)
> at org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedView(JspStateManagerImpl.java:468)
> at javax.faces.application.StateManager.saveView(StateManager.java:114)
> at org.apache.myfaces.application.jsp.JspStateManagerImpl.saveView(JspStateManagerImpl.java:460)
> at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:862)
> at org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:222)
> at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59)
> at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:73)
> at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:201)
> ... 18 more
>
>
> Not much time to check this out, today ;-)
>
> Just posting here to have it search-able in the archive.....
>
>
>
>>
>>> These bugs are mostly because
>>> of forgotten characters like ', \ or in your case ).
>>>
>>> Curtiss Howard already filed MYFACES-2458, but the problem you're seeing is
>>> not mentioned yet.
>>>
>>> Regards,
>>> Jakob
>>>
>>>
>>> 2009/12/30 Matthias Wessendorf <ma...@apache.org>
>>>>
>>>> Hi,
>>>>
>>>> I am seeing this:
>>>> missing ) after argument list
>>>> [Break on this error]
>>>>
>>>> jsf.util.chain(document.getElementById('...d656309279_1ee9688b','j_id1670484283_385
>>>>
>>>> on something like:
>>>>
>>>> <h:commandLink value="Click me">
>>>> <f:ajax onevent="myCustomJSCallback" />
>>>> </h:commandLink>
>>>>
>>>>
>>>> Is this already known? Otherwise I will file a bug on that (I am
>>>> running on trunk)
>>>>
>>>> -Matthias
>>>>
>>>> --
>>>> Matthias Wessendorf
>>>>
>>>> blog: http://matthiaswessendorf.wordpress.com/
>>>> sessions: http://www.slideshare.net/mwessendorf
>>>> twitter: http://twitter.com/mwessendorf
>>>
>>>
>>
>>
>>
>> --
>> Matthias Wessendorf
>>
>> blog: http://matthiaswessendorf.wordpress.com/
>> sessions: http://www.slideshare.net/mwessendorf
>> twitter: http://twitter.com/mwessendorf
>>
>
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
>
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
Re: [MyFaces 2.0] issue
Posted by Matthias Wessendorf <ma...@apache.org>.
On Thu, Dec 31, 2009 at 11:25 AM, Matthias Wessendorf <ma...@apache.org> wrote:
> On Wed, Dec 30, 2009 at 7:27 PM, Jakob Korherr <ja...@gmail.com> wrote:
>> Hi Matthias,
>>
>> There are currently many f:ajax related bugs.
>
> Yeah, I just noticed that :-)
looks like some duplicated IDs are around when submitting Ajax requests:
java.lang.IllegalStateException: Client-id : j_id656309279_1ee968d7 is
duplicated in the faces tree. Component : j_id656309279_1ee968d7,
path: {Component-Path : [Class:
javax.faces.component.UIViewRoot,ViewId: /ajax.xhtml][Class:
javax.faces.component.html.HtmlHead,Id: j_id656309279_1ee968f9][Class:
javax.faces.component.UIOutput,Id: j_id656309279_1ee968d7]}
at org.apache.myfaces.context.ExceptionHandlerImpl.wrap(ExceptionHandlerImpl.java:241)
at org.apache.myfaces.context.ExceptionHandlerImpl.handle(ExceptionHandlerImpl.java:156)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:216)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:191)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
Caused by: java.lang.IllegalStateException: Client-id :
j_id656309279_1ee968d7 is duplicated in the faces tree. Component :
j_id656309279_1ee968d7, path: {Component-Path : [Class:
javax.faces.component.UIViewRoot,ViewId: /ajax.xhtml][Class:
javax.faces.component.html.HtmlHead,Id: j_id656309279_1ee968f9][Class:
javax.faces.component.UIOutput,Id: j_id656309279_1ee968d7]}
at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:515)
at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:530)
at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:530)
at org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedView(JspStateManagerImpl.java:468)
at javax.faces.application.StateManager.saveView(StateManager.java:114)
at org.apache.myfaces.application.jsp.JspStateManagerImpl.saveView(JspStateManagerImpl.java:460)
at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:862)
at org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:222)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59)
at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:73)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:201)
... 18 more
Not much time to check this out, today ;-)
Just posting here to have it search-able in the archive.....
>
>> These bugs are mostly because
>> of forgotten characters like ', \ or in your case ).
>>
>> Curtiss Howard already filed MYFACES-2458, but the problem you're seeing is
>> not mentioned yet.
>>
>> Regards,
>> Jakob
>>
>>
>> 2009/12/30 Matthias Wessendorf <ma...@apache.org>
>>>
>>> Hi,
>>>
>>> I am seeing this:
>>> missing ) after argument list
>>> [Break on this error]
>>>
>>> jsf.util.chain(document.getElementById('...d656309279_1ee9688b','j_id1670484283_385
>>>
>>> on something like:
>>>
>>> <h:commandLink value="Click me">
>>> <f:ajax onevent="myCustomJSCallback" />
>>> </h:commandLink>
>>>
>>>
>>> Is this already known? Otherwise I will file a bug on that (I am
>>> running on trunk)
>>>
>>> -Matthias
>>>
>>> --
>>> Matthias Wessendorf
>>>
>>> blog: http://matthiaswessendorf.wordpress.com/
>>> sessions: http://www.slideshare.net/mwessendorf
>>> twitter: http://twitter.com/mwessendorf
>>
>>
>
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
>
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
Re: [MyFaces 2.0] issue
Posted by Matthias Wessendorf <ma...@apache.org>.
On Wed, Dec 30, 2009 at 7:27 PM, Jakob Korherr <ja...@gmail.com> wrote:
> Hi Matthias,
>
> There are currently many f:ajax related bugs.
Yeah, I just noticed that :-)
> These bugs are mostly because
> of forgotten characters like ', \ or in your case ).
>
> Curtiss Howard already filed MYFACES-2458, but the problem you're seeing is
> not mentioned yet.
>
> Regards,
> Jakob
>
>
> 2009/12/30 Matthias Wessendorf <ma...@apache.org>
>>
>> Hi,
>>
>> I am seeing this:
>> missing ) after argument list
>> [Break on this error]
>>
>> jsf.util.chain(document.getElementById('...d656309279_1ee9688b','j_id1670484283_385
>>
>> on something like:
>>
>> <h:commandLink value="Click me">
>> <f:ajax onevent="myCustomJSCallback" />
>> </h:commandLink>
>>
>>
>> Is this already known? Otherwise I will file a bug on that (I am
>> running on trunk)
>>
>> -Matthias
>>
>> --
>> Matthias Wessendorf
>>
>> blog: http://matthiaswessendorf.wordpress.com/
>> sessions: http://www.slideshare.net/mwessendorf
>> twitter: http://twitter.com/mwessendorf
>
>
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
Re: [MyFaces 2.0] issue
Posted by Matthias Wessendorf <ma...@apache.org>.
On Wed, Dec 30, 2009 at 7:27 PM, Jakob Korherr <ja...@gmail.com> wrote:
> Hi Matthias,
>
> There are currently many f:ajax related bugs. These bugs are mostly because
> of forgotten characters like ', \ or in your case ).
to not forget about it, I filed this:
https://issues.apache.org/jira/browse/MYFACES-2471
-Matthias
>
> Curtiss Howard already filed MYFACES-2458, but the problem you're seeing is
> not mentioned yet.
>
> Regards,
> Jakob
>
>
> 2009/12/30 Matthias Wessendorf <ma...@apache.org>
>>
>> Hi,
>>
>> I am seeing this:
>> missing ) after argument list
>> [Break on this error]
>>
>> jsf.util.chain(document.getElementById('...d656309279_1ee9688b','j_id1670484283_385
>>
>> on something like:
>>
>> <h:commandLink value="Click me">
>> <f:ajax onevent="myCustomJSCallback" />
>> </h:commandLink>
>>
>>
>> Is this already known? Otherwise I will file a bug on that (I am
>> running on trunk)
>>
>> -Matthias
>>
>> --
>> Matthias Wessendorf
>>
>> blog: http://matthiaswessendorf.wordpress.com/
>> sessions: http://www.slideshare.net/mwessendorf
>> twitter: http://twitter.com/mwessendorf
>
>
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
Re: [MyFaces 2.0] issue
Posted by Jakob Korherr <ja...@gmail.com>.
Hi Matthias,
There are currently many f:ajax related bugs. These bugs are mostly because
of forgotten characters like ', \ or in your case ).
Curtiss Howard already filed MYFACES-2458, but the problem you're seeing is
not mentioned yet.
Regards,
Jakob
2009/12/30 Matthias Wessendorf <ma...@apache.org>
> Hi,
>
> I am seeing this:
> missing ) after argument list
> [Break on this error]
>
> jsf.util.chain(document.getElementById('...d656309279_1ee9688b','j_id1670484283_385
>
> on something like:
>
> <h:commandLink value="Click me">
> <f:ajax onevent="myCustomJSCallback" />
> </h:commandLink>
>
>
> Is this already known? Otherwise I will file a bug on that (I am
> running on trunk)
>
> -Matthias
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
>