Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 84428 invoked from network); 19 Apr 2005 14:58:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Apr 2005 14:58:09 -0000 Received: (qmail 57974 invoked by uid 500); 19 Apr 2005 14:57:49 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 57888 invoked by uid 500); 19 Apr 2005 14:57:49 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 57831 invoked by uid 99); 19 Apr 2005 14:57:48 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from um0004.unimaas.nl (HELO um0004.unimaas.nl) (137.120.1.4) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 19 Apr 2005 07:57:46 -0700 Received: by um0004.unimaas.nl (Postfix, from userid 508) id 570625001B; Tue, 19 Apr 2005 16:57:41 +0200 (CEST) Received: from um-mail0138.unimaas.nl (um-mail0138.unimaas.nl [137.120.1.138]) by um0004.unimaas.nl (Postfix) with ESMTP id 6CB9850019 for ; Tue, 19 Apr 2005 16:57:39 +0200 (CEST) Received: from um-mail0136.unimaas.nl ([137.120.1.136]) by um-mail0138.unimaas.nl with Microsoft SMTPSVC(6.0.3790.211); Tue, 19 Apr 2005 16:57:38 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Subject: [CFORMS] NullPointerException in form-validation javascript when javascript debugger is enabled Date: Tue, 19 Apr 2005 16:57:39 +0200 Message-ID: <329A68716B57D54E8D39FD3F8A4A84DF01AAF542@um-mail0136.unimaas.nl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [CFORMS] NullPointerException in form-validation javascript when javascript debugger is enabled Thread-Index: AcVE8FE0TfB+XQMmT7e1LfcLGAL0lQ== From: "Linden H van der (MI)" To: X-OriginalArrivalTime: 19 Apr 2005 14:57:38.0950 (UTC) FILETIME=[212F1260:01C544F0] X-UM-Spam-DCC: : X-UM-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on um0004.unimaas.nl X-UM-Spam-Level: X-UM-Spam-Status: No, score=-5.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.0.1 X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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:=20 - SVN checkout of BRANCHES - Build a form definition with=20 var success=3Dtrue; return success; <....widget definitions...., including etc. ....> - create a flowscript that handles the form: function myForm() { var form =3D new Form(myformDef.xml); .....etc. } - [1] set=20 enabled in cocoon.xconf.=20 - run cocoon - start function -> nullpointer exception - change [1] to=20 - 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.=20 Bye, Helma van der Linden Medical Informatics University Maastricht POBOX 616 6200 MD Maastricht The Netherlands