Troubleshooting
Problem
This technote provides troubleshooting information to use when you open a plan in Taskboard view in IBM Rational Team Concert (RTC) and encounter a problem indicating NULL TypeError.
Symptom
The error message can be different depending on the version of RTC and browser being used. It can be one of the following messages:
TypeError: Cannot call method 'getIdentifier' of null
TypeError: 'null' is null or not an object
TypeError: path[_nnn--] is null, where nnn is a number
Sample Error Messages:
TypeError: Cannot call method 'getIdentifier' of null
at dojo.declare.doGetElementEntry
(
https://clm405.example.com/jazz/web/_js/?exclude=I~J~K~L~M~N~O~P~Q~R~S~T~U~V~W~X~Z~a~b~d~p&include=com.ibm.team.apt.web.ui.internal.page.PlanningPageMain&ss=D2E4U&_proxyURL=%2Fjazz&locale=en-us:7902:20)
**************
TypeError: 'null' is null or not an object
**************
TypeError: path[_147--] is null
([object Object],[object Array],2,[object Object])@https://clm405.example.com:9443/ccm/web/_js/?exclude=A&include=com.ibm.team.apt.web.ui.internal.page.PlanningPageMain&ss=D1GvL&_proxyURL=%2Fccm&locale=en-us:59051
Cause
There are 2 possible causes:
- Some workflow states in the project are not assigned a valid state group.
- Changes made to the workflow definition or configurations in the project's process template result in some existing work items being in an invalid workflow state.
Diagnosing The Problem
- Review the process configurations for your project and confirm that all the workflow states have a state group assigned.
For example, the screenshot below shows that the 'Verified' workflow state does not have any state group assigned to it.
- Review existing work items in the project area and ensure they are in a valid workflow state. You can create a query to list work items by a specific type and add a condition to check if any of these work items are not in any of the states of the workflow associated with that particular work item type.
For example, assuming that Defect Workflow is associated with the Defect work item type and there are 3 states in the Defect Workflow. The query's conditions will look like below:
Type is 'Defect' AND Status is not in ('New', 'Reopened', 'Verified')
Output of the query shows work items that are in an invalid state. The Status column will show some workflow state ID instead of a valid workflow state name.
Resolving The Problem
- Ensure that Workflow states of all the workflows in the project area are assigned with a valid state group. The state group value should not be 'none'.
Follow the steps below to validate workflow state group:
- Open the project area in Eclipse client.
- Navigate to Process Configuration tab > Project Configuration > Configuration Data > Work Items > Workflows.
- Select a workflow in the Choose the Workflow to edit' drop down.
- In the States section, ensure that all states have a valid Group assigned. The value should not be none.
- Repeat step 3 and 4 for all the workflows in the project area.
- Ensure all work items are in a valid workflow state. If the query in the Diagnosing the problem section above returns some work items, select to synchronize those work items.
Follow the steps below to synchronize work items:
- In Eclipse client, create and run the query mentioned in the Diagnosing the problem section in this technote. Ensure the Type attribute is included in the result set.
- Select ALL the work items in the result set. You may use [Ctrl + A] on your keyboard to select all the records.
- Right click anywhere under the Type column and select Synchronize Attributes option in the context menu.
- Rerun the query and ensure no work item is returned.
The Jazz based products have an active community that can provide you with additional resources. Browse and contribute to the User forums, contribute to the Team Blog and review the Team wiki. |
---|
Product Synonym
Rational Team Concert
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21665992