cancel
Showing results for 
Search instead for 
Did you mean: 

Backoffice Widgets not loading

ravkaur19
Discoverer
0 Kudos
615

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!

View Entire Topic
ravkaur19
Discoverer
0 Kudos

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

KaustavC
Newcomer
0 Kudos

I found it inside the data folder. Thank you.