java.lang.IllegalArgumentException: The path of an ForwardCo
Posted: Thu Dec 06, 2012 3:47 pm
Hello Everyone,
I'm trying the ScriptActions in the documentation.
In that case I was trying the one Example to load all customer data for given email address:
But I get the following error, made by my last code row.
java.lang.IllegalArgumentException: The path of an ForwardConfig cannot be null
In fact, without the last code row, it works fine and the CustomerId obtained is the correct one.
Where I'm wrong?
Thanks you!
I'm trying the ScriptActions in the documentation.
In that case I was trying the one Example to load all customer data for given email address:
Code: Select all
$Customer.loadCustDBStructure()
$Customer.resetCustParameters()
$Customer.setCustomerID(0)
#set($custId=$Customer.findByKeyColumn("username", "myUsername"))
#set($requestParameters = $ScriptHelper.newHashMap().putAll($Customer.getCustomerDataFromDb()))
java.lang.IllegalArgumentException: The path of an ForwardConfig cannot be null
In fact, without the last code row, it works fine and the CustomerId obtained is the correct one.
Where I'm wrong?
Thanks you!