It's all about the answers!

Ask a question

Error When Loading Plan

Dax Haslam (2025) | asked Oct 30 '12, 12:41 p.m.

I have a plan view that throws the following error when loading in the web client (this is with the debug flag enabled but error occurs regardless):

TypeError: Cannot read property 'id' of undefined
TypeError: Cannot read property 'id' of undefined
at dojo.declare.getId (
at Function.ResolvedPlanMode.isDefaultConfigurationElement (
at dojo.declare.constructor (
at new (
at null. (
at null.fCallback (
at dojo.declare.callback (
at dojo.declare.withItems (
at null. (
at null.fCallback (

This problem occurs for all Plans associated with this team area regardless of Iteration (however any plans associated with the parent team area are fine).

This initially started when I was attempting to customize some views using the Eclipse Client.  I had copied a view in the Eclipse client and then from the web client created an expression (restrict owned by field).  Then upon viewing/saving the custom view in the eclipse client it stopped working in the web client.  I was able to fix it by deleting the custom view.

However now I don't have any custom views in place and the problem has started occurring again (again seemed to occur while jumping between eclipse and web view).

Any ideas on how to fix these plans so they load correctly in the webclient?

Accepted answer

permanent link
Daniel Pool (2644) | answered Oct 30 '12, 7:58 p.m.

This looks similar to an issue being tracked in jazzdev.

which refers to

which says...

Today we have fixed this problem.
What was the problem? There where "invalid plan modes" inside the process configuration. Deleting them fixed the problem.

How did we do it?
- Opening the "Project Area" in Eclipse by right clicking it and choosing "open".
- choose "Process Configuration"
- expand "Project Configuration > Configuration Data > Planning" and open Plan Modes (unconfigured)
- mark "Invalid Plan Modes" and click on delete
- click on save

If this fixes the issue could you do me a favor and add a comment to the defect Better handle corrupt or invalid view modes while loading a plan (230709) that you experienced this problem?

Dax Haslam selected this answer as the correct answer

Dax Haslam commented Nov 04 '12, 11:29 p.m. | edited Nov 04 '12, 11:36 p.m.

Thanks Dan that worked! - So in my scenario we have another project using a shared process from another project.  I ended up doing a slight variation on your steps to get this to work:

Open the "Child Project" area in Eclipse and select Process Configuration tab.

Project Configuration -> Configuration Data -> Planning -> Plan Views

Click “Customize this Configuration Data” and I saw multiple “Invalid Plan Mode” options.  I deleted the invalid plan modes.  Saved and then reverted the Process Configuration Source so that it would continue to inherit from the other process area.  This fixed my plans... Oddly though when you go back and look in the Plan Views section again of the child project area it still has an invalid plan area and I can't seem to actually get rid of it... However the plan views still work.

Andrew Codrington commented Oct 09 '13, 5:10 p.m.

Well, that was exciting.

Pressed 'Save' after editing a plan view in Eclipse 3.6 with the 4.1 RTC client plugin on a 4.0.2 server. Then the phone started ringing....

Deleted the Invalid plan view and things seem sane again.

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.