| Anthony Pomtree 2004-04-07, 1:42 pm |
| I have a similar issue when I call OrderPrepare. I receive a
NullPointerException error. Has something changed in ApplyCalculationUsages
or something that I need to code for? Works fine on WCS v5.1, but this
error is occurring on WC v5.5. I have the ORDER trace turned on and here is
what my log says:
[4/7/04 8:43:57:865 CDT] 59c02b8d SystemOut O Target Name =
com.ibm.commerce.command.ECCommandTarget
[4/7/04 8:43:57:865 CDT] 59c02b8d SystemOut O Command Name = OrderPrepare
[4/7/04 8:43:57:866 CDT] 59c02b8d SystemOut O Calling super.performExecute()
[4/7/04 8:43:57:997 CDT] 59c02b8d CommerceSrvr E
com.ibm.commerce.command.ECCommandTarget executeCommand CMN0420E: The
following CommandException occurred during processing:
"java.lang.NullPointerException".java.lang.NullPointerException at
com.ibm.commerce.order.utils.ApplyCalculationUsagesCmdImpl.performExecute(Ap
plyCalculationUsagesCmdImpl.java:98)
Thanks.
"Warren Rehman" <wrehman@ca.ibm.com> wrote in message
news:c2a71r$7a8s$1@news.boulder.ibm.com...
> Hi Mayura,
>
> What parameters are you passing when you invoke OrderPrepare? Perhaps you
> are not passing the proper parameters to OrderPrepare which then in turn
> causes OrderPrepare to not pass the proper parameters on to
> ApplyCalculationsUsagesCmd. Unless you have your own implementation of
> OrderPrepare, I think this is the most likely explanation.
>
> Regards,
> -----------------------------------------
> Warren Rehman
> Software Developer, WebSphere Commerce - B2B Solutions Development
> Electronic Commerce Development - IBM Canada Lab
> http://www.ibm.com/software/webserv...ce/support.html
>
> "Mayura" <mayura.jain@hpsglobal.com> wrote in message
> news:2685c32c.0403020011.6d1b9e16@posting.google.com...
>
com.ibm.commerce.order.utils.ApplyCalculationUsagesCmdImpl.validateParameter
> s(ApplyCalculationUsagesCmdImpl.java:194)
>
>
|