cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniele Madama (JIRA)" <j...@apache.org>
Subject [jira] Created: (COCOON-1736) NPE in forms library when extend field
Date Thu, 19 Jan 2006 11:23:41 GMT
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
 Attachments: 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


Mime
View raw message