cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patricia Déchandol <pdechan...@ajlsm.com>
Subject Re: Problem with Cocoon Forms continuation in Google Chrome
Date Tue, 13 Mar 2012 11:02:53 GMT
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] 
> Sent: Tuesday, March 13, 2012 11:53 AM
> To: 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: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