Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 69741 invoked from network); 19 Jan 2006 14:08:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Jan 2006 14:08:07 -0000 Received: (qmail 71813 invoked by uid 500); 19 Jan 2006 14:08:03 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 71742 invoked by uid 500); 19 Jan 2006 14:08:03 -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 List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 71731 invoked by uid 99); 19 Jan 2006 14:08:03 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jan 2006 06:08:03 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 3B985CB for ; Thu, 19 Jan 2006 15:07:42 +0100 (CET) Message-ID: <1517230731.1137679662230.JavaMail.jira@ajax.apache.org> Date: Thu, 19 Jan 2006 15:07:42 +0100 (CET) From: "Jean-Baptiste Quenot (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Updated: (COCOON-1736) NPE in forms library when extend field In-Reply-To: <134003969.1137669822001.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/COCOON-1736?page=all ] Jean-Baptiste Quenot updated COCOON-1736: ----------------------------------------- Attachment: 20060119-COCOON-1736 Please try the attached patch > NPE in forms library when extend field > -------------------------------------- > > Key: COCOON-1736 > URL: http://issues.apache.org/jira/browse/COCOON-1736 > Project: Cocoon > Type: Bug > Components: Blocks: Forms > Versions: 2.1.9-dev (current SVN) > Reporter: Daniele Madama > Assignee: Jean-Baptiste Quenot > Attachments: 20060119-COCOON-1736, AbstractWidgetDefinition.patch > > As reported on my mail [1] I've a NPE in forms library when extend a field, follow stacktrace: > ... > Caused by: java.lang.NullPointerException > at org.apache.cocoon.forms.formmodel.AbstractWidgetDefinition.initializeFrom(AbstractWidgetDefinition.java:92) > at org.apache.cocoon.forms.formmodel.AbstractDatatypeWidgetDefinition.initializeFrom(AbstractDatatypeWidgetDefinition.java:61) > at org.apache.cocoon.forms.formmodel.FieldDefinition.initializeFrom(FieldDefinition.java:41) > ... > Look at the simple patch attached. > [1] http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=113759470531201&w=2 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira