Nag
Nag

Reputation: 1

hybris checkout add on issue

  1. New checkoutaddon extenssion named as "myb2ccheckout"
  2. Included in localextensions.xml (hybris/config)
  3. classpath : in "myb2ccheckout"
  4. localextensions in "myb2ccheckout"
  5. spring.xml firl we have created "Multi check out flow"
  6. controller

ant addoninstall -Daddonnames="myb2ccheckout" -DaddonStorefront.yacceleratorstorefront="myb2cstorefront"

Base Store

UPDATE BaseStore;uid[unique=true];checkoutFlowGroup;hybris;myMultiFlowCheckoutGroup;

exception :: SEVERE: Servlet.service() for servlet [DispatcherServlet] in context with path [/myb2cstorefront] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause INFO|jvm 1| main|2015/09/02 19:19:05.034 | java.lang.NullPointerException INFO|jvm 1|main 2015/09/02 19:19:05.034 |at de.hybris.platform.storefront.controllers.pages.checkout.steps.AbstractCheckoutStepController.addCheckoutStepsToModel(AbstractCheckoutStepController.java:115)

Upvotes: 0

Views: 1491

Answers (2)

user
user

Reputation: 977

Following steps resolved my problem:

  1. Check if your checkout flow group is installed: go to hybris backoffice->base commerce ->base store -> -> administration ->Checkout Flow Group.
  2. If above property is correctly set to your desired checkout flow group then once again install the addon: ant addoninstall -Daddonnames="myb2ccheckout" -DaddonStorefront.yacceleratorstorefront="myb2cstorefront"
  3. ant clean all
  4. I did not need ant initialize/update because I already did it while installing my checkout addon first time.

Upvotes: 0

BalajiMohan
BalajiMohan

Reputation: 33

Based on the line number provided in the error log, it seems you have issues with the checkout group. Kindly check if the bean mapping for checkout group mentioned correctly.

Do let me know if this resolves the issue. Cheers.

Upvotes: 1

Related Questions