Opening a project plan results in "Unable to instantiate the configuration element" error

Technote (troubleshooting)


Problem(Abstract)

Attempts to open a project plan results in the error "Unable to instantiate the configuration element 'com.ibm.team.apt.internal.common.plantype.IPlanType'" in both IBM Rational Team Concert Eclipse and Web Clients.

Symptom

Steps to reproduce:

Using Eclipse Client:

  1. In the Eclipse client, connect to the project area
  2. Navigate to Plans > All Plans
  3. Right click on a plan and select Open.
    The following error is displayed in the Plan Editor view:

    Unable to instantiate the configuration element 'com.ibm.team.apt.internal.common.plantype.IPlanType
image


Using Web Client:
  1. In the Web client, select the project area
  2. Select Plans > All Plans
  3. Click on a plan to open.
    The following error is displayed:

    Unable to instantiate the configuration element 'com.ibm.team.apt.internal.common.plantype.IPlanType

image

Cause

The error Unable to instantiate the configuration element 'com.ibm.team.apt.internal.common.plantype.IPlanType occurs when viewing a project plan because the scheduler id "com.ibm.team.apt.scheduler.traditionalScheduler" is missing in the project area process configuration.


Resolving the problem

The error can be resolved by adding the missing scheduler to the following configuration-data xmlns in the Process Configuration Source tab of the project area:

<configuration-data xmlns="http://com.ibm.team.apt.configuration/planConfigurationElement"
final="false" id="com.ibm.team.apt.configuration.planConfigurationElement">


Steps to resolve the error:

  1. In the Eclipse client, open the project area

  2. Navigate to Process Configuration Source tab

  3. Select File > Find/Replace... to open Find/Replace window

  4. In the Find/Replace window, enter the following string in the Find: field

    com.ibm.team.apt.configuration.planConfigurationElement



  5. Click the Find button

  6. The search should find the following configuration-data xmlns:

    <configuration-data xmlns="http://com.ibm.team.apt.configuration/planConfigurationElement" final="false" id="com.ibm.team.apt.configuration.planConfigurationElement">



  7. Add the following scheduler information in the configuration-data xmlns found in step #6:

    <scheduler description="Traditional Scheduler calculates the critical path and the schedule dates by resolving the dependencies and considering the constraints."
    id="com.ibm.team.apt.scheduler.traditionalScheduler"
    implementation="com.ibm.team.apt.attribute.scheduler.traditional"
    name="Traditional Scheduler">
    </scheduler>


Examples of configuration-data xmlns BEFORE and AFTER the change:

BEFORE:

<configuration-data xmlns="http://com.ibm.team.apt.configuration/planConfigurationElement" final="false" id="com.ibm.team.apt.configuration.planConfigurationElement">
<filter description="Exclude risk work items."
id="com.ibm.team.apt.filter.excludeRisk" implementation=
"com.ibm.team.apt.shared.ui.internal.filter.WorkItemTypeFilter"
name="Risks">
<parameters>
<parameter key="types" value="task;defect;projectchangerequest;issue;com.ibm.team.workitem.workItemType.businessneed;com.ibm.team.workitem.workItemType.riskaction;com.ibm.team.workitem.workItemType.milestone"/>
</parameters>
</filter>
</configuration-data>



AFTER:

<configuration-data xmlns="http://com.ibm.team.apt.configuration/planConfigurationElement" final="false" id="com.ibm.team.apt.configuration.planConfigurationElement">
<scheduler description="Traditional Scheduler calculates the critical path and the schedule dates by resolving the dependencies and considering the constraints."
id="com.ibm.team.apt.scheduler.traditionalScheduler"
implementation="com.ibm.team.apt.attribute.scheduler.traditional"
name="Traditional Scheduler">
</scheduler>
<filter description="Exclude risk work items."
id="com.ibm.team.apt.filter.excludeRisk" implementation=
"com.ibm.team.apt.shared.ui.internal.filter.WorkItemTypeFilter"
name="Risks">
<parameters>
<parameter key="types" value="task;defect;projectchangerequest;issue;com.ibm.team.workitem.workItemType.businessneed;com.ibm.team.workitem.workItemType.riskaction;com.ibm.team.workitem.workItemType.milestone"/>
</parameters>
</filter>
</configuration-data>


Leverage the Jazz Community

Jazz and Rational Team Concert 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.

Rate this page:

(0 users)Average rating

Document information


More support for:

Rational Team Concert
General Information

Software version:

3.0, 3.0.1

Operating system(s):

AIX, Linux, Solaris, Windows

Reference #:

1515247

Modified date:

2011-09-28

Translate my page

Machine Translation

Content navigation