That error means that the field specified for the userLogin object was not a GenericValue object, but instead is a FastMap object.

This operation requires a GenericValue object.

-David


On Mar 18, 2009, at 2:33 AM, Vikas Gupta wrote:

Hi All
After installing my data, I take anonOnePageCheckout for my product, in step2(ajax request createUpdateShippingAddress) it generate error on console and on screen, also not proceed for step3.
The error is following-

2009-03-18 11:06:38,376 (http-0.0.0.0-8443-1) [ ServiceDispatcher.java:578:INFO ] Sync service [ecommerce/ createUpdatePerson] finished in [330] milliseconds 2009-03-18 11:06:38,382 (http-0.0.0.0-8443-1) [ SimpleMethod.java:926:ERROR] ---- runtime exception report -------------------------------------------------- Error in simple-method operation [<set-current-user-login/>]: java.lang.ClassCastException: javolution.util.FastMap
Exception: java.lang.ClassCastException
Message: javolution.util.FastMap
---- stack trace ---------------------------------------------------------------
java.lang.ClassCastException: javolution.util.FastMap
org .ofbiz .minilang .method.entityops.SetCurrentUserLogin.exec(SetCurrentUserLogin.java: 53)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:921)

Am I making mistake in my data, if yes where it can be.
Please help me in sort out my problem and provide suggestion.

Thanks in advance

Vikas Gupta wrote:
Hi All,
I am facing problem in the anonOnePageCheckout. After adding varient product into cart and as I submit shipping information in step2(ajax request createUpdateShippingAddress) of onePageCheckout, it generate error on console and let it continue to step3 for checkout. On clicking button "continue to step3" of Step2, it call ajax request "createUpdateShippingAddress", that is not working properly and making error. This case is not happening for configurable products.

The error on console is

[ControlEventListener.java:63 :INFO ] Creating session: A9145B683D5C783B594CCB90527E4A12.jvm1 2009-03-17 18:24:27,069 (http-0.0.0.0-8080-1) [ UspsMockApiServlet.java:69 :ERROR] Unsupported API [RateV2] 2009-03-17 18:24:27,100 (http-0.0.0.0-8443-3) [ UspsServices.java:1368:INFO ] USPS response: 2009-03-17 18:24:27,100 (http-0.0.0.0-8443-3) [ ServiceDispatcher.java:522:ERROR] Error in Service [uspsRateInquire]: No rate available at this time 2009-03-17 18:24:27,101 (http-0.0.0.0-8443-3) [ TransactionUtil.java:275:ERROR] ---- exception report ----------------------------------------------------------
[TransactionUtil.rollback]
Exception: java.lang.Exception
Message: Stack Trace
---- stack trace ---------------------------------------------------------------
java.lang.Exception: Stack Trace
org .ofbiz .entity.transaction.TransactionUtil.rollback(TransactionUtil.java: 274) org .ofbiz .entity.transaction.TransactionUtil.rollback(TransactionUtil.java: 256) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: 526) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: 213) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: 162)

These infomation are properly get stored corresponding entities.


Reply via email to