Defects
SBM: Opening Kanban view gives error "java.lang.NullPointerException"
![]() |
Your subscription to document D27989 will expire in 334 days (Renew). To cancel this subscription, click Cancel Subscription above. |
ID: | D27989 | |
Published: | 26 May 2023 | |
Updated: | 07 November 2023 |
Defect Id
DEF348300
Originally Reported Against
SBM 12.1
Also Affects
SBM 12.1 Hotfix
SBM 12.1 Hotfix
SBM 12.1 Hotfix
SBM SBM 12.1 Hotfix
SBM 12.1 Hotfix
SBM 12.1 Hotfix
SBM SBM 12.1 Hotfix
Resolved In
SBM 12.1 Hotfix
Description
When any user opens any Kanban Board, the user gets error "java.lang.NullPointerException"
Also, workcenter.log gives error:
ERROR 02-03-2023 15:15:17 [MenuItemServiceImpl] -- Error during fetching Kanban default mapping from AE
java.lang.NullPointerException
at com.serena.workcenter.service.MenuItemServiceImpl.copyMenuItemForApplicationGroupRecursively(MenuItemServiceImpl.java:892)
at com.serena.workcenter.service.MenuItemServiceImpl.createDefaultKanban(MenuItemServiceImpl.java:808)
at com.serena.workcenter.service.MenuItemServiceImpl.lambda$createDefaultKanbanForOldApplications$12(MenuItemServiceImpl.java:796)
at com.serena.common.util.TransactionHelper.inNewTransaction(TransactionHelper.java:28)
at com.serena.common.util.TransactionHelper$$FastClassBySpringCGLIB$$45bd5dda.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
NOTE:
This will happen if any Kanban is using a feed which filters on a sub-relational field containing "(None)", and the Kanban finds one or more records where this is true.