Skip to Content
0
Former Member
Jan 15, 2011 at 07:33 AM

Catalog getCurrentArea issue

25 Views

Hi everyone, I´m debuging e-commerces apps (b2b,b2c) and every time I send an aitem to the cart, this requires one travel to the backend system, then I get out of my session because a NullPointerException in the standard class CategoriesUI.getCurrentArea() Method :

public WebCatArea getCurrentArea()
	{
		this.currentArea = theCatalog.getCurrentArea();
		return this.currentArea;
}

at debug, theCatalog.getCurrentArea() and other attributes @theCatalog variable, are NULL, I really don´t know for what this theCatalog (WebCatInfo) variable is used and what the currentArea refers to.... ¿?

CatalogBusinessObjectManager bom =											  (CatalogBusinessObjectManager)userSessionData.getBOM(CatalogBusinessObjectManager.CATALOG_BOM);
							this.theCatalog = bom.getCatalog();

basis crew are facing problems because an upgrade and the standard apps are not running (Trex/Catalog issues) I´m afraid this is the reason of my problems . . . .¿?

This method is called at JSP CategoriesISA JSP, this CategoriesUI.getCurrentArea call is also presesnt in an standard app, this applications has non-standard code.

LOG: