Re: [castor-user] Custom FieldHandler gives NullPointer in castor code

2005-12-02 Thread Jessica Perry Hekman
Done: http://jira.codehaus.org/browse/CASTOR-1277 Note that I made it more clear in my bug report that in fact the problem appears to lie entirely with the list syntax; it appears to have nothing to do with the FieldHandler (I was wrong originally). Thanks! Jessica On Thu, Dec 01, 2005 at

Re: [castor-user] Custom FieldHandler gives NullPointer in castor code

2005-12-01 Thread Jessica Perry Hekman
Hi Keith. You'd think I could get you a test case. But when I put one together, it didn't break. :P I conclude that there is something at fault in the massive system that my small piece of work is embedded in, so I'll keep investigating that. If I get a useful test case, I'll definitely send

Re: [castor-user] Custom FieldHandler gives NullPointer in castor code

2005-12-01 Thread Jessica Perry Hekman
Okay! I got it breaking :) The problem appears to occur NOT when I add in the FieldHandler for java.util.Currency but when I remove these lines field name=prices collection=set type=com.ingenta.ics.ecommerce.api.item.Price bind-xml name=price/ /field and replace

Re: [castor-user] Custom FieldHandler gives NullPointer in castor code

2005-12-01 Thread Jessica Perry Hekman
On Thu, Dec 01, 2005 at 02:43:30PM -0500, Jessica Perry Hekman wrote: http://pendaran.arborius.net/~jphekman/testcase.tgz Untar and set your classpath like so export CLASSPATH=$CLASSPATH:build/classes:lib/castor-xml.jar:lib/xml-apis.jar:lib/xercesImpl.jar:lib/commons-logging.jar and

Re: [castor-user] Custom FieldHandler gives NullPointer in castor code

2005-12-01 Thread Keith Visco
Hi Jessica, Thanks for the test case, I'll give this a try here and see what I can find out. If you have a moment, can you open up a bug report (http://jira.codehaus.org/browse/CASTOR) on this and let me know the bug number so I can then assign it to myself. This way we can track the

[castor-user] Custom FieldHandler gives NullPointer in castor code

2005-11-29 Thread Jessica Perry Hekman
Hi all. I have a class which has a method (getCurrency()) which returns type java.util.Currency. The doc seems to suggest that writing a custom field handler is the way to proceed, and provides good instruction on how to do so. I created: package com.ingenta.ics.api.rest.product; import