Hi Mark,

Thanks for your reply! FYI, I have added two methods to my decorator,
to overwrite the getters and setters, but as I understand it, these
methods will not be used on the initial get of the object, so they
don't help for this problem either. It just looks like Transfer does
not recognize my value as a null value...

Here is my stack trace:

invalid call of the function setmmg_sendtoadyen (/mnt/hgfs/www/
mmg.jaquet.net/model/transfer/definitions/basket
$AEAA6949C63E568C05E66A635BD4EFF0.transfer), first Argument
(mmg_sendtoadyen) is of invalid type, can't cast String [] to a value
of type [date]
at railo.runtime.type.UDFImpl.castToAndClone(UDFImpl.java:220):220
at railo.runtime.type.UDFImpl.defineArguments(UDFImpl.java:233):233
at railo.runtime.type.UDFImpl._call(UDFImpl.java:368):368
at railo.runtime.type.UDFImpl.call(UDFImpl.java:336):336
at
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:
626):626
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:
1264):1264
at model.transfer.definitions.basket
$aeaa6949c63e568c05e66a635bd4eff0_transfer$cf.udfCall7(/mnt/hgfs/www/
mmg.jaquet.net/model/transfer/definitions/basket
$AEAA6949C63E568C05E66A635BD4EFF0.transfer:662):662
at model.transfer.definitions.basket
$aeaa6949c63e568c05e66a635bd4eff0_transfer$cf.udfCall(/mnt/hgfs/www/
mmg.jaquet.net/model/transfer/definitions/basket
$AEAA6949C63E568C05E66A635BD4EFF0.transfer):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:213):213
at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
at railo.runtime.type.UDFImpl.call(UDFImpl.java:336):336
at
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:
626):626
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:
1264):1264
at model.transfer.definitions.basket
$aeaa6949c63e568c05e66a635bd4eff0_transfer$cf.udfCall7(/mnt/hgfs/www/
mmg.jaquet.net/model/transfer/definitions/basket
$AEAA6949C63E568C05E66A635BD4EFF0.transfer:627):627
at model.transfer.definitions.basket
$aeaa6949c63e568c05e66a635bd4eff0_transfer$cf.udfCall(/mnt/hgfs/www/
mmg.jaquet.net/model/transfer/definitions/basket
$AEAA6949C63E568C05E66A635BD4EFF0.transfer):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:213):213
at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:329):
329
at railo.runtime.ComponentImpl._call(ComponentImpl.java:420):420
at railo.runtime.ComponentImpl._call(ComponentImpl.java:348):348
at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:
1530):1530
at
railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:
655):655
at
railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:
1279):1279
at
model.transfer.definitions.basket_aeaa6949c63e568c05e66a635bd4eff0_transfer448$cf.udfCall6(/
mnt/hgfs/www/mmg.jaquet.net/model/transfer/definitions/
[email protected]:319):319
at
model.transfer.definitions.basket_aeaa6949c63e568c05e66a635bd4eff0_transfer448$cf.udfCall(/
mnt/hgfs/www/mmg.jaquet.net/model/transfer/definitions/
[email protected]):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:213):213
at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
at railo.runtime.type.UDFImpl.call(UDFImpl.java:336):336
at railo.runtime.ComponentImpl._call(ComponentImpl.java:419):419
at railo.runtime.ComponentImpl._call(ComponentImpl.java:348):348
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1511):1511
at
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:
621):621
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:
1264):1264
at transfer.com.dynamic.transferpopulator_cfc$cf.udfCall1(/mnt/hgfs/
www/mmg.jaquet.net/transfer/com/dynamic/TransferPopulator.cfc:59):59
at transfer.com.dynamic.transferpopulator_cfc$cf.udfCall(/mnt/hgfs/www/
mmg.jaquet.net/transfer/com/dynamic/TransferPopulator.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:213):213
at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
at railo.runtime.type.UDFImpl.call(UDFImpl.java:336):336
at railo.runtime.ComponentImpl._call(ComponentImpl.java:419):419
at railo.runtime.ComponentImpl._call(ComponentImpl.java:348):348
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1511):1511
at
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:
621):621
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:
1264):1264
at transfer.com.dynamic.dynamicmanager_cfc$cf.udfCall1(/mnt/hgfs/www/
mmg.jaquet.net/transfer/com/dynamic/DynamicManager.cfc:72):72
at transfer.com.dynamic.dynamicmanager_cfc$cf.udfCall(/mnt/hgfs/www/
mmg.jaquet.net/transfer/com/dynamic/DynamicManager.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:213):213
at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
at railo.runtime.type.UDFImpl.call(UDFImpl.java:336):336
at railo.runtime.ComponentImpl._call(ComponentImpl.java:419):419
at railo.runtime.ComponentImpl._call(ComponentImpl.java:348):348
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1511):1511
at
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:
621):621
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:
1264):1264
at transfer.com.transfer_cfc$cf.udfCall1(/mnt/hgfs/www/mmg.jaquet.net/
transfer/com/Transfer.cfc:120):120
at transfer.com.transfer_cfc$cf.udfCall(/mnt/hgfs/www/mmg.jaquet.net/
transfer/com/Transfer.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:213):213
at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
at railo.runtime.type.UDFImpl.call(UDFImpl.java:336):336
at railo.runtime.ComponentImpl._call(ComponentImpl.java:419):419
at railo.runtime.ComponentImpl._call(ComponentImpl.java:348):348
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1511):1511
at
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:
621):621
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:
1264):1264
at model.services.modules.basketservice_cfc$cf.udfCall1(/mnt/hgfs/www/
mmg.jaquet.net/model/services/modules/BasketService.cfc:5):5
at model.services.modules.basketservice_cfc$cf.udfCall(/mnt/hgfs/www/
mmg.jaquet.net/model/services/modules/BasketService.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:213):213
at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:329):
329
at railo.runtime.ComponentImpl._call(ComponentImpl.java:420):420
at railo.runtime.ComponentImpl._call(ComponentImpl.java:348):348
at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:
1530):1530
at
railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:
655):655
at
railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:
1279):1279
at handlers.modules.basket_cfc$cf.udfCall1(/mnt/hgfs/www/
mmg.jaquet.net/handlers/modules/basket.cfc:22):22
at handlers.modules.basket_cfc$cf.udfCall(/mnt/hgfs/www/mmg.jaquet.net/
handlers/modules/basket.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:213):213
at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
at railo.runtime.type.UDFImpl.call(UDFImpl.java:336):336
at railo.runtime.ComponentImpl._call(ComponentImpl.java:419):419
at railo.runtime.ComponentImpl._call(ComponentImpl.java:348):348
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1511):1511
at
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:
621):621
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:
1264):1264
at coldbox.system.web.controller_cfc$cf.udfCall5(/mnt/hgfs/www/
mmg.jaquet.net/coldbox/system/web/Controller.cfc:509):509
at coldbox.system.web.controller_cfc$cf.udfCall(/mnt/hgfs/www/
mmg.jaquet.net/coldbox/system/web/Controller.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:213):213
at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:329):
329
at railo.runtime.ComponentImpl._call(ComponentImpl.java:420):420
at railo.runtime.ComponentImpl._call(ComponentImpl.java:348):348
at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:
1530):1530
at
railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:
655):655
at
railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:
1279):1279
at coldbox.system.frameworksupertype_cfc$cf.udfCall3(/mnt/hgfs/www/
mmg.jaquet.net/coldbox/system/FrameworkSupertype.cfc:247):247
at coldbox.system.frameworksupertype_cfc$cf.udfCall(/mnt/hgfs/www/
mmg.jaquet.net/coldbox/system/FrameworkSupertype.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:213):213
at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:329):
329
at
railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:
660):660
at
railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:
1279):1279
at handlers.page_cfc$cf.udfCall2(/mnt/hgfs/www/mmg.jaquet.net/handlers/
Page.cfc:402):402
at handlers.page_cfc$cf.udfCall(/mnt/hgfs/www/mmg.jaquet.net/handlers/
Page.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:213):213
at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:329):
329
at
railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:
660):660
at
railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:
1279):1279
at handlers.page_cfc$cf.udfCall1(/mnt/hgfs/www/mmg.jaquet.net/handlers/
Page.cfc:75):75
at handlers.page_cfc$cf.udfCall(/mnt/hgfs/www/mmg.jaquet.net/handlers/
Page.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:213):213
at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:329):
329
at railo.runtime.ComponentImpl._call(ComponentImpl.java:420):420
at railo.runtime.ComponentImpl._call(ComponentImpl.java:348):348
at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:
1526):1526
at railo.runtime.tag.Invoke.doComponent(Invoke.java:214):214
at railo.runtime.tag.Invoke.doEndTag(Invoke.java:183):183
at coldbox.system.web.controller_cfc$cf.udfCall5(/mnt/hgfs/www/
mmg.jaquet.net/coldbox/system/web/Controller.cfc:648):648
at coldbox.system.web.controller_cfc$cf.udfCall(/mnt/hgfs/www/
mmg.jaquet.net/coldbox/system/web/Controller.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:213):213
at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
at railo.runtime.type.UDFImpl.call(UDFImpl.java:336):336
at
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:
626):626
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:
1264):1264
at coldbox.system.web.controller_cfc$cf.udfCall5(/mnt/hgfs/www/
mmg.jaquet.net/coldbox/system/web/Controller.cfc:539):539
at coldbox.system.web.controller_cfc$cf.udfCall(/mnt/hgfs/www/
mmg.jaquet.net/coldbox/system/web/Controller.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:213):213
at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:329):
329
at railo.runtime.ComponentImpl._call(ComponentImpl.java:420):420
at railo.runtime.ComponentImpl._call(ComponentImpl.java:348):348
at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:
1530):1530
at
railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:
655):655
at
railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:
1279):1279
at coldbox.system.coldbox_cfc$cf.udfCall1(/mnt/hgfs/www/mmg.jaquet.net/
coldbox/system/Coldbox.cfc:200):200
at coldbox.system.coldbox_cfc$cf.udfCall(/mnt/hgfs/www/mmg.jaquet.net/
coldbox/system/Coldbox.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:213):213
at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
at railo.runtime.type.UDFImpl.call(UDFImpl.java:336):336
at railo.runtime.ComponentImpl._call(ComponentImpl.java:419):419
at railo.runtime.ComponentImpl._call(ComponentImpl.java:348):348
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1511):1511
at
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:
621):621
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:
1264):1264
at application_cfc$cf.udfCall(/mnt/hgfs/www/mmg.jaquet.net/
Application.cfc:63):63
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:213):213
at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
at railo.runtime.type.UDFImpl.call(UDFImpl.java:336):336
at railo.runtime.ComponentImpl._call(ComponentImpl.java:419):419
at railo.runtime.ComponentImpl._call(ComponentImpl.java:348):348
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1511):1511
at
railo.runtime.listener.ModernAppListener.call(ModernAppListener.java:
285):285
at
railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:
105):105
at
railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:
23):23
at railo.runtime.PageContextImpl.execute(PageContextImpl.java:1693):
1693
at railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:
278):278
at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:32):32
at javax.servlet.http.HttpServlet.service(HttpServlet.java:91):91
at
com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:
103):103
at
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:
175):175
at
com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:
240):240
at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:
424):424
at com.caucho.server.port.TcpConnection.run(TcpConnection.java:481):
481
at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:685):685
at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:607):607
at java.lang.Thread.run(Thread.java:619):619

Kind regards,

Erik-Jan

On 25 sep, 03:53, Mark Mandel <[email protected]> wrote:
> Stack trace?
>
> Mark
>
>
>
> On Sat, Sep 25, 2010 at 1:11 AM, EJ Jaquet <[email protected]> wrote:
> > Hi all,
>
> > I am struggling with the use of Transfer on Railo. I got a table for
> > orders, that holds an orderCompleted field. The field has the NULL
> > value if not completed, and a timestap when it is.
>
> > But I can't do a 'get' with Transfer on the object, once instantiated.
> > I can create an object just fine, it creates it with the Null values
> > in the DB on save. But when I try to retreive that same object from
> > Transfer, I get an error saying:
>
> >  invalid call of the function setorderCompleted, first Argument
> > (orderCompleted) is of invalid type, can't cast String [] to a value
> > of type [date]
>
> > But isn't Transfer supposed to transform and handle the Null value? In
> > the Transfer config, I have the following code:
>
> > <property name="orderCompleted" type="date" column="orderCompleted"
> > nullable="true" />
>
> > And I even tell them what the NULL value should be:
>
> > <nullValues>
> >        <date value="1/1/100" />
> > </nullValues>
>
> > And I have created a decorator with a config option:
>
> > <cffunction name="configure" access="private" returntype="void"
> > output="false">
> >        <cfset setMMG_SendtoAdyenNull()>
> >        <cfset setOrdercompletedNull()>
> > </cffunction>
>
> > But nothing helps!
>
> > What am I doing wrong?
>
> > My development environment is a Linux machine, RAILO 3 with Resin,
> > Coldbox and Transfer.
>
> > I hope you can help!
>
> > Kind regards,
>
> > Erik-Jan
>
> > --
> > Before posting questions to the group please read:
>
> >http://groups.google.com/group/transfer-dev/web/how-to-ask-support-qu...
>
> > Try out the new Transfer ORM Custom Google Search:
> >http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8
>
> > You received this message because you are subscribed to the Google Groups
> > "transfer-dev" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<transfer-dev%[email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/transfer-dev?hl=en
>
> --
> E: [email protected]
> T:http://www.twitter.com/neurotic
> W:www.compoundtheory.com
>
> cf.Objective(ANZ) - Nov 18, 19 - Melbourne 
> Australiahttp://www.cfobjective.com.au
>
> Hands-on ColdFusion ORM Trainingwww.ColdFusionOrmTraining.com

-- 
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer

Try out the new Transfer ORM Custom Google Search:
http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8

You received this message because you are subscribed to the Google Groups 
"transfer-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en

Reply via email to