cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Backoffice Widgets not loading

ravkaur19
Discoverer
0 Likes
1,559

when am trying to access widget components from my backoffice, its showing blank untitled pop up
.


the corresponding console logs are:

ERROR[tid:260][hybrisHTTP26]DefaultWidgetInstanceManager]Error during send output

java.lang.NullPointerException: Cannot invoke "com.hybris.cockpitng.core.ui.WidgetInstance.getWidget()" because "widgetInstance" is null

at com.hybris.backoffice.widgets.viewswitcher.ViewSwitcherWidgetController.lambda$setSelectedViews$9(ViewSwitcherWidgetController.java:205) ~[backoffice-widgets-22.05.7-RC8.jar:?]

at java.util.ArrayList.forEach(ArrayList.java:1511) ~[?:?]

at com.hybris.backoffice.widgets.viewswitcher.ViewSwitcherWidgetController.setSelectedViews(ViewSwitcherWidgetController.java:203) ~[backoffice-widgets-22.05.7-RC8.jar:?]




Can anyone help here to understand the root cause, thanks in advance!

Accepted Solutions (1)

Accepted Solutions (1)

ravkaur19
Discoverer

Renaming the Backoffice data folder to something else (eg: backoffice_old) and performing ant clean all resolved the issue.

KaustavC
Discoverer
0 Likes

I found it inside the data folder. Thank you.

Answers (1)

Answers (1)

gaurav11
Participant

Hi Ravleen,

Can you try to resetting the Backoffice using orchestrator mode.

ravkaur19
Discoverer
0 Likes

Hi Gaurav,
I already tried, it didn't help!