IBM Support

"TypeError: Cannot call method 'getIdentifier' of null" when opening a plan in Taskboard view

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:
      1. Open the project area in Eclipse client.
      2. Navigate to Process Configuration tab > Project Configuration > Configuration Data > Work Items > Workflows.
      3. Select a workflow in the Choose the Workflow to edit' drop down.
      4. In the States section, ensure that all states have a valid Group assigned. The value should not be none.
      5. 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:
      1. 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.
      2. Select ALL the work items in the result set. You may use [Ctrl + A] on your keyboard to select all the records.
      3. Right click anywhere under the Type column and select Synchronize Attributes option in the context menu.



      4. Rerun the query and ensure no work item is returned.


Leverage the Jazz Community

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.
Refer to technote 1319600 for details and links.

[{"Product":{"code":"SSUC3U","label":"IBM Engineering Workflow Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Agile Planning","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"4.0.1;4.0.2;4.0.3;4.0.4;4.0.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Team Concert

Document Information

Modified date:
16 June 2018

UID

swg21665992