cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robby Pelssers <Robby.Pelss...@nxp.com>
Subject RE: Problem with Cocoon Forms continuation in Google Chrome
Date Wed, 21 Mar 2012 10:32:36 GMT
Hi Patricia,

Good news !! But were you able to spot why there was a difference between the different machines?

Robby

From: Patricia Déchandol [mailto:pdechandol@ajlsm.com]
Sent: Wednesday, March 21, 2012 11:31 AM
To: users@cocoon.apache.org
Subject: Re: Problem with Cocoon Forms continuation in Google Chrome

Hi everybody,
thanks for your answers.
Finally, it was a problem with Dojo library not targeting events correctly with buttons embedded
in <span>.
Problem is solved.

Patricia

Le 15 mars 2012 à 11:54, Jasha Joachimsthal a écrit :


Are those servers clustered behind a load balancer? If so are you using sticky sessions to
ensure all requests for one user are handles by the same server.

Jasha

2012/3/13 Patricia Déchandol <pdechandol@ajlsm.com<mailto:pdechandol@ajlsm.com>>
Making tests, the error appears or not on different servers on which the same sources are
deployed.
So I suppose something in the server configuration provocate it.
:-((



Le 13 mars 2012 à 12:56, Robby Pelssers a écrit :


Of course it can.  But to get an answer to that question I advise you to check the known bugs
list of chrome itself.  Did you already inspect the generated (x)html using chrome developer
or firebug?  Maybe you can spot any obvious mistake?

Robby



From: Patricia Déchandol [mailto:pdechandol@ajlsm.com<mailto:pdechandol@ajlsm.com>]
Sent: Tuesday, March 13, 2012 12:03 PM
To: users@cocoon.apache.org<mailto:users@cocoon.apache.org>
Subject: Re: Problem with Cocoon Forms continuation in Google Chrome

We use Cocoon 2.1.
It's quite difficult to isolate the scripts because our pages containing forms are generated
applicating XSL stylesheets to templates.

Is there new known problems with Google Chrome or Safari ?
This problem didn't exist a week ago.
Could it be generated by a Chrome update ?

Patricia


Le 13 mars 2012 à 11:56, Robby Pelssers a écrit :

Could you perhaps isolate the problem into the smallest reproducible scenario and share this
sample code  (form definition / flowscript / jxtemplate).

Which version of Cocoon are you using by the way?

Robby

From: Patricia Déchandol [mailto:pdechandol@ajlsm.com<mailto:pdechandol@ajlsm.com>]
Sent: Tuesday, March 13, 2012 11:53 AM
To: users@cocoon.apache.org<mailto:users@cocoon.apache.org>
Subject: Problem with Cocoon Forms continuation in Google Chrome

Hello,

I face a recent problem using Cocoon CForms in Google Chrome version 17.
My CForm use Dojo widgets.
Everything is working fine in FF or IE, but when I submit a form in Google Chrome, it fails
with the log above.
Same problem with Safari Version 5.1.1
This happens in all the forms.

I can't understand what's happening.

Thanks for your help.

Patricia

ERROR (2012-03-13) 11<tel:%282012-03-13%29%2011>:43.54:195 [access] (/bm-grenoble/Bmgediteur/52527b5e6c4b31546466754140264e38587e4260.continue)
http-8080-1/CocoonServlet: Internal Cocoon Problem
org.apache.cocoon.ProcessingException: Sitemap: error calling continuation
            at <map:call> - file:///Users/pdechandol/ajlsm-build/bm-grenoble/exist/ecriture.xmap:668:37
            at <map:mount> - file:///Users/pdechandol/ajlsm-build/bm-grenoble/notix.xmap:608:88
            at <map:mount> - file:///Users/pdechandol/ajlsm-build/bm-grenoble/global-variables.xmap:114:67
            at <map:mount> - file:///Users/pdechandol/ajlsm-build/bm-grenoble/sitemap.xmap:381:78
            at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:113)
            at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:126)
            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
            at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
            at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:98)
            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
            at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
            at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
            at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
            at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
            at org.apache.cocoon.components.treeprocessor.sitemap.SwitchSelectNode.invoke(SwitchSelectNode.java:99)
            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
            at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:139)
            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
            at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
            at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
            at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
            at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
            at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
            at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
            at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
            at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
            at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
            at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
            at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
            at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
            at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
            at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
            at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
            at java.lang.Thread.run(Thread.java:680)
Caused by: org.mozilla.javascript.WrappedException: Wrapped java.lang.IllegalArgumentException:
Invalid submit id (no such widget): undefined (resource://org/apache/cocoon/forms/flow/javascript/Form.js#202)
            at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1693)
            at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:160)
            at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:204)
            at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3085)
            at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2251)
            at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:161)
            at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:340)
            at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2758)
            at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:159)
            at org.mozilla.javascript.Context.call(Context.java:489)
            at org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1556)
            at org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1526)
            at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.handleContinuation(FOM_JavaScriptInterpreter.java:841)
            at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:124)
            ... 58 more
Caused by: java.lang.IllegalArgumentException: Invalid submit id (no such widget): undefined
            at org.apache.cocoon.forms.formmodel.Form.process(Form.java:350)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:145)
            ... 70 more




Mime
View raw message