A specific user gets a system error when going to a given project task assignments submenu.
STEPS TO REPRODUCE:
1. Affected user edits a specific project
2. She goes to the Task tab
3. Access the Assignments submenu
Expected Results: The Assignments submenu to be loaded
Actual Results: A system error is thrown
User view corruption
Steps to resolve the issue:
1. As an admin go to the specific project task assignments submenu.
2. On the right bottom corner, click on the Configure link
3. Copy the URL and provide it to the affected user.
Sample of URL:
http://myserver/niku/nu#action:projmgr.getViewDefinition&viewName=AssnTaskList&return_link=projmgr.assnTaskListReturn&id=5002001&system=false&spaceID=mainnav.work
4. The user can get to that URL and click on Reset to Default:
app-ca.log file shows the following error:
ERROR 2023-03-03 14:40:01,343 [https-jsse-nio2-8043-exec-14] niku.xql2 (clarity:SomeRandomUser:74375861__C59A9F68-0D00-4864-B7D1-59ED0AF6B17E:projmgr.assnTaskListFilter) Internal Processing exception
java.lang.NullPointerException
at com.niku.projmgr.xql2.handlers.ViewFieldsHandler.handleField(ViewFieldsHandler.java:137)
at com.niku.projmgr.xql2.util.ViewFieldsProcessor.process(ViewFieldsProcessor.java:78)
at com.niku.projmgr.xql2.handlers.ViewFieldsHandler.preProcess(ViewFieldsHandler.java:53)
at com.niku.xql2.XQLVisitor.preProcess(XQLVisitor.java:1389)
at com.niku.union.xml.dom.DOMWalker.preProcess(DOMWalker.java:201)
at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:77)
at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:95)
at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:54)
at com.niku.xql2.handlers.LoopHandler.processObject(LoopHandler.java:388)
at com.niku.xql2.handlers.LoopHandler.processSet(LoopHandler.java:259)
at com.niku.xql2.handlers.LoopHandler.preProcess(LoopHandler.java:216)
at com.niku.xql2.XQLVisitor.preProcess(XQLVisitor.java:1389)