Troubleshooting
Problem
We have a specific plan that has become broken. We can switch to a different View and the plan will open, but this is inconvenient. How can we resolve this error?
Symptom
An error is displayed instead of the plan:
TypeError: Cannot read properties of null (reading 'toLowerCase')
TypeError: Cannot read properties of null (reading 'toLowerCase')
at Object.doEvaluate (<servername>/ccm/web/_js/?exclude=G~H~I~J~K~L~M~N~O~P~Q~R~S~l&include=com.ibm.team.apt.viewlets.web.ui.internal.PlansViewlet~com.ibm.team.apt.web.ui.internal.viewlet.PlanModeViewlet~com.ibm.team.reports.workitem.web.ui.internal.ReportParamWorkItem&ss=UYZgO&_proxyURL=%2Fccm&locale=en-us:3948:32)
Cause
The problem can occur when the project's process template is changed, resulting in changes to the workflow state of existing work items. Because of the change, the new state of work items cannot be determined. This causes filters in the view, such as 'Exclude - State' to break the view. There are work items in the plan view whose "state" is not correctly set.
Environment
Engineering Workflow Management (EWM) 7.0.2 and above
Diagnosing The Problem
Use the error message in the Symptom to diagnose the problem.
Resolving The Problem
1) Create a query that mimics the plan.
i) Add a condition "Planned For" so that you include all the work items in the plan.
ii) Add columns to show the state or status of work items. If you have custom work item type, add all the relevant columns that capture the workflow state.
For example..
2) Check which work items are in an inappropriate state.
Some of the work items will have no state. Or they will be in an inappropriate state. Click on the column to sort by it, to see which work items have different state.
3) Use the work item query to make bulk change the state of all work items with no state or inappropriate state.
Click the "Edit Multiple Work Items" option in the query toolbar. "Add Attribute Change" to "Status" etc. to update the state attribute appropriately.
4) Close the plan and reopen it. It should open with no error.
Document Location
Worldwide
Product Synonym
EWM
Was this topic helpful?
Document Information
Modified date:
03 March 2026
UID
ibm17262496