magja/magja — Issue #54: Calling a webservice with long args throws Exception: keyValue not implemented for class java.lang.Long
Author: ceefour
Created: 2012-01-30 06:39:56+00:00
State: open

Stack trace

INFO 30-01 13:32:03,694 - Evaluating arguments expr: [ product_id, {'qty': qty} ]
INFO 30-01 13:32:03,701 - Args: class sun.org.mozilla.javascript.NativeArray: [ 1116, {
"qty" : 456.0
} ]
INFO 30-01 13:32:03,701 - Calling API cataloginventory_stock_item.update
ERROR 30-01 13:32:03,701 - Magento - Unexpected error
ERROR 30-01 13:32:03,701 - Magento - org.pentaho.di.core.exception.KettleException:
Error processing row
keyValue not implemented for class java.lang.Long

at id.co.bippo.magento.kettle.Magento.processRow(Magento.java:139)
at org.pentaho.di.trans.step.RunThread.run(RunThread.java:40)
at java.lang.Thread.run(Thread.java:679)
Caused by: java.lang.RuntimeException: keyValue not implemented for class java.lang.Long
at com.google.code.magja.soap.SoapCallFactory.typedElement(SoapCallFactory.java:261)
at com.google.code.magja.soap.SoapCallFactory.createCall(SoapCallFactory.java:129)
at com.google.code.magja.soap.MagentoSoapClient.call(MagentoSoapClient.java:168)
at id.co.bippo.magento.kettle.MagentoEngine.run(MagentoEngine.java:117)
at id.co.bippo.magento.kettle.MagentoEngine.runMapArray(MagentoEngine.java:200)
at id.co.bippo.magento.kettle.Magento.processRow(Magento.java:116)
... 2 more