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

class java.lang.nullpointerexception

Former Member
0 Likes
243

Hi All,

When clicked on Content Administration -> KM content, we are getting error

"Class java.lang.nullpointerexception"

at com.sapportals.wcm.rendering.uicommand.UICommandFactory.getGroupList(UICommandFactory.java:855)

at com.sapportals.wcm.rendering.uicommand.UICommandFactory.getGroupCommandByID(UICommandFactory.java:810)

at com.sapportals.wcm.rendering.uicommand.UICommandFactory.getGroupList(UICommandFactory.java:865)

at com.sapportals.wcm.rendering.uicommand.UICommandFactory.getGroupCommandByID(UICommandFactory.java:810)

at com.sapportals.wcm.rendering.uicommand.UICommandFactory.getGroupCommand(UICommandFactory.java:784)

at com.sapportals.wcm.rendering.uicommand.UIMenuFactory.getRenderMenu(UIMenuFactory.java:128)

at com.sapportals.wcm.rendering.control.cm.MenuBarControl.render(MenuBarControl.java:244)

at com.sapportals.wcm.rendering.layout.cm.MenuTreeListLayoutController.render(MenuTreeListLayoutController.java:102)

at com.sapportals.wcm.rendering.control.cm.WdfProxy.render(WdfProxy.java:1832)

The error is displayed intermittently.

Can anyone please help to resolve this issue

View Entire Topic
former_member202734
Participant
0 Likes

Did you change something in KM configuration ?

Regarding the error, perhaps check command group:

System Admin --> System configuration

Knowledge Management -> Content management

User Interface -> Settings -> Layout set

Search for "ConsumerTreeList" ==> note that this layout set uses [Layout Controller: MenuTreeListLayoutController ]

But then check for example the ConsumerMenu (in Collection Renderer). There you have Mass Command Group: ConsumerMenuGroup --> clic on it. As command list you should have: [ConsumerViewGroup,ConsumerFolderGroup,ConsumerGotoGroup,ConsumerSearchGroup] in Command List

We get quite the same error after an upgrade. In the command list we put 2 commas between 2 commands groups.

If you go in edit mode, just change the description and save if there is a problem the system gives an error.

Good luck.

Former Member
0 Likes

Resolved. Certain hot deployments were done which wanted server restart. After server restart, it worked fine.