Skip to Content
1
Jan 31, 2019 at 07:21 PM

Users in Back-office after login , when click on left navigation options like Customer,Product,Orders etc could not load List view perspective.

115 Views

I am facing an issue in back-office (hybris 6.5 version) , while logging into back-office and clicks on left navigation options like Customer, Orders, Products etc. it opens the Collection Browser widget to display record in list view with pagination and internally to show list view perspective, ListViewCollectionBrowserMoldStrategy is called and we found that it could not load any record on page for this list and getting below exceptions -

 INFO   | jvm 1    | main    | 2019/01/31 06:10:57.221 | ERROR [] [] [PagingDelegateController] while trying to read the field '_next' of a null object loaded from field org.zkoss.zk.ui.AbstractComponent$ChildIter._p of an object loaded from local variable 'this'
 INFO   | jvm 1    | main    | 2019/01/31 06:10:57.222 |  java.lang.NullPointerException: while trying to read the field '_next' of a null object loaded from field org.zkoss.zk.ui.AbstractComponent$ChildIter._p of an object loaded from local variable 'this'
 INFO   | jvm 1    | main    | 2019/01/31 06:10:57.222 |     at org.zkoss.zk.ui.AbstractComponent$ChildIter.next(AbstractComponent.java:3294) ~[zk-8.0.4.2.jar:3.6.4]
 INFO   | jvm 1    | main    | 2019/01/31 06:10:57.222 |     at org.zkoss.zk.ui.AbstractComponent$ChildIter.next(AbstractComponent.java:3261) ~[zk-8.0.4.2.jar:3.6.4]
 INFO   | jvm 1    | main    | 2019/01/31 06:10:57.222 |     at java.util.AbstractCollection.remove(AbstractCollection.java:292) ~[?:1.8.0_192]
 INFO   | jvm 1    | main    | 2019/01/31 06:10:57.222 |     at com.hybris.cockpitng.widgets.collectionbrowser.EmptyCollectionBrowserMoldStrategy.release(EmptyCollectionBrowserMoldStrategy.java:77) ~[backoffice-widgets-6.5.0.0-RC12.jar:?]
 INFO   | jvm 1    | main    | 2019/01/31 06:10:57.222 |     at com.hybris.cockpitng.widgets.collectionbrowser.CollectionBrowserController.releaseAllMolds(CollectionBrowserController.java:763) ~[backoffice-widgets-6.5.0.0-RC12.jar:?]
 INFO   | jvm 1    | main    | 2019/01/31 06:10:57.222 |     at com.hybris.cockpitng.widgets.collectionbrowser.mold.impl.PagingDelegateController.onTypeChanged(PagingDelegateController.java:292) ~[backoffice-widgets-6.5.0.0-RC12.jar:?]
 INFO   | jvm 1    | main    | 2019/01/31 06:10:57.222 |     at com.hybris.cockpitng.widgets.collectionbrowser.mold.impl.PagingDelegateController.process(PagingDelegateController.java:248) ~[backoffice-widgets-6.5.0.0-RC12.jar:?]
 INFO   | jvm 1    | main    | 2019/01/31 06:10:57.222 |     at com.hybris.cockpitng.widgets.collectionbrowser.CollectionBrowserController.process(CollectionBrowserController.java:235) ~[backoffice-widgets-6.5.0.0-RC12.jar:?]
 INFO   | jvm 1    | main    | 2019/01/31 06:10:57.222 |     at sun.reflect.GeneratedMethodAccessor1727.invoke(Unknown Source) ~[?:?]
 INFO   | jvm 1    | main    | 2019/01/31 06:10:57.222 |     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_192]
 INFO   | jvm 1    | main    | 2019/01/31 06:10:57.222 |     at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_192]
 INFO   | jvm 1    | main    | 2019/01/31 06:10:57.222 |     at com.hybris.cockpitng.util.WidgetControllers.fireEvent(WidgetControllers.java:339) ~[cockpitframework-6.5.0.0-RC12.jar:?]
 INFO   | jvm 1    | main    | 2019/01/31 06:10:57.222 |     at com.hybris.cockpitng.util.WidgetControllers.lambda$setupWidgetEventListeners$0(WidgetControllers.java:234)
 INFO   | jvm 1    | main    | 2019/01/31 06:10:58.731 | ERROR [Thread-30790] [ListViewCollectionBrowserMoldStrategy] Could not load record page for list.
 INFO   | jvm 1    | main    | 2019/01/31 06:10:58.731 |  java.lang.NullPointerException: while trying to invoke the method org.zkoss.zul.Listbox.isMultiple() of a null object returned from com.hybris.cockpitng.widgets.collectionbrowser.mold.impl.listview.ListViewCollectionBrowserMoldStrategy.getListBox()
 INFO   | jvm 1    | main    | 2019/01/31 06:10:58.731 |     at com.hybris.cockpitng.widgets.collectionbrowser.mold.impl.listview.ListViewCollectionBrowserMoldStrategy.updateSelectionStatus(ListViewCollectionBrowserMoldStrategy.java:735) ~[backoffice-widgets-6.5.0.0-RC12.jar:?]
 INFO   | jvm 1    | main    | 2019/01/31 06:10:58.731 |     at com.hybris.cockpitng.widgets.collectionbrowser.mold.impl.listview.ListViewCollectionBrowserMoldStrategy.renderEntries(ListViewCollectionBrowserMoldStrategy.java:648)

I already tried to update back-office extensions and reset the cockpit-config.xml from Application Orchestrator.

Please suggest me how to proceed with its fix.

Thanks & Regards,

Prashant