SAP Knowledge Base Article - Preview

3144373 - NullPointerException when access VariantProduct details page

Symptom

You noticed internal server error while accessing VariantProduct details page in Backoffice.

By checking the log you'll find the following exception:

    "level": "ERROR",
    "loggerName": "com.hybris.cockpitng.engine.impl.DefaultWidgetInstanceManager",
    "message": "Error during send output",
    "thrown": {
        "commonElementCount": 0,
        "localizedMessage": "Cannot invoke \"com.hybris.cockpitng.dataaccess.facades.object.ObjectFacade.isNew(Object)\" because the return value of \"com.hybris.cockpitng.widgets.editorarea.renderer.impl.AbstractEditorAreaComponentRenderer.getObjectFacade()\" is null",
        "message": "Cannot invoke \"com.hybris.cockpitng.dataaccess.facades.object.ObjectFacade.isNew(Object)\" because the return value of \"com.hybris.cockpitng.widgets.editorarea.renderer.impl.AbstractEditorAreaComponentRenderer.getObjectFacade()\" is null",
        "name": "java.lang.NullPointerException",
        "extendedStackTrace": [
            {
                "class": "com.hybris.cockpitng.widgets.editorarea.renderer.impl.AbstractEditorAreaComponentRenderer",
                "method": "canChangeProperty",
                "file": "AbstractEditorAreaComponentRenderer.java",
                "line": 159,
                "exact": false,
                "location": "backoffice-widgets-19.05.37-RC1.jar",
                "version": "?"
            }

    ...


Read more...

Environment

SAP Commerce 1905

Product

SAP Commerce 1905

Keywords

NullPointerException, VariantProduct, AbstractEditorAreaComponentRenderer , KBA , CEC-COM-ADM-BO , Backoffice , Known Error

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.