Created On:  20 July 2011

Problem:

Within the routing roles an error message is coming up: http 500.

This error only occurs within the routing roles with everything else working fine.

java.lang.NullPointerException
 at com.segue.radar.webgui.module.units.configuration.RoutingRuleView.fillTable(RoutingRuleView.java:311)
 at com.segue.radar.webgui.module.units.configuration.RoutingRuleView.(RoutingRuleView.java:90)
 at com.segue.radar.webgui.module.units.ConfigurationUnit$1.selectionPerformed(ConfigurationUnit.java:270)
 at com.borland.bca.webgui.internal.html.tree.DefaultTree.notifySelectionListeners(DefaultTree.java:637)
 at com.borland.bca.webgui.internal.html.tree.DefaultTree.setSelectedNode(DefaultTree.java:341)
 at com.borland.bca.webgui.internal.html.tree.model.AbstractNode.requestPerformed(AbstractNode.java:125)
 at com.borland.bca.webgui.internal.html.tree.model.DefaultNode.requestPerformed(DefaultNode.java:137)
 at com.borland.bca.webgui.internal.html.internal.RequestDispatcher.invokeRequestListenersOfComponent(RequestDispatcher.java:119)
 at com.segue.scc.webgui.component.HtmlServletPage.dispatchRequest(HtmlServletPage.java:535)
 at com.segue.scc.webgui.component.HtmlServletPage.display(HtmlServletPage.java:685)
 at com.segue.scc.webgui.SccUser.handleRequest(SccUser.java:456)
 at com.segue.scc.webgui.SccFrontendMainServlet.handleUserRequest(SccFrontendMainServlet.java:127)
 at com.borland.bca.webgui.core.BcaServlet.dispatchUser(BcaServlet.java:160)
 at com.borland.bca.webgui.core.BcaServlet.doGet(BcaServlet.java:74)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at com.borland.bca.webgui.core.EncodingFilter.doFilter(EncodingFilter.java:20)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
 at java.lang.Thread.run(Thread.java:619)

Resolution:

This exception can occur if the user account has groups assigned to it that do not exist for the Issue Manager project.  The exception can be resolved by removing groups that do not exist on the Issue Manager project from the user account and assigning an existing group.

Please apply the following steps to resolve the issue:

1)     Login in with a SuperUser that has access to all of SCTM (admin/admin)

2)     Go to the Original Issue Manager Project 

3)     Go to Configuration | Groups and make a note of the list of configured groups 

4)     Go to User Accounts

5)     Look at the section "Group and Role Assignments".  Is there a group specified that does not exist in the Configured Groups section of the Issue Manager project?

6)     If so, Change the Group and Role Assignments for the user to one that exists in the Groups section. 

7)     Alternatively you can add these missing groups in the Groups section