Hi, I stumbled onto a problem I've noticed before (Cocoon 2.1.5 I think). I was under the impression it was solved, but apparently not.
Situation is this: - SVN checkout of BRANCHES - Build a form definition with <fd:form.....> <fd:validation> <fd:javascript> var success=true; return success; </fd:javascript> </fd:validation> <....widget definitions...., including <fd:validation><fd:javscript> etc. ....> </fd:form> - create a flowscript that handles the form: function myForm() { var form = new Form(myformDef.xml); .....etc. } - [1] set <debugger>enabled</debugger> <!-- JavaScript Debugger support --> in cocoon.xconf. - run cocoon - start function -> nullpointer exception - change [1] to <!-- debugger>enabled</debugger --> <!-- JavaScript Debugger support --> - restart cocoon - start function -> works fine I've traced the code as far as the JavaScriptHelper.buildFunction (line 100). In the ctx.compileFunction lines I noticed that somewhere it called the DebugReader, which could be the problem. It would be nice if someone could fix this, so the Javascript debugger is useful again. Thanks. Bye, Helma van der Linden Medical Informatics University Maastricht POBOX 616 6200 MD Maastricht The Netherlands