It's all about the answers!

Ask a question

IllegalArgumentException when opening a project area in Eclipse editor


Martha (Ruby) Andrews (3.0k44251) | asked Apr 29 '13, 2:02 p.m.
JAZZ DEVELOPER
Recently a customer reported receiving this message when opening a project area for editing in the Eclipse RTC
client:

An internal error occurred during: "Loading"   

In the details was a stack trace that started with:
java.lang.IllegalArgumentExcep tion
at com.ibm.team.process.internal. client.workingcopies.
IterationStructureWorkingCopy$ LocalWorkingCopyManager.getWor kingCopy
(IterationStructureWorkingCopy .java:143)
at com.ibm.team.process.internal. client.workingcopies.
IterationStructureWorkingCopy. findCurrentState
(IterationStructureWorkingCopy .java:648)
at com.ibm.team.process.internal. client.workingcopies.
IterationStructureWorkingCopy. computeCurrentIterations
(IterationStructureWorkingCopy .java:369)
at com.ibm.team.process.internal. client.workingcopies.
IterationStructureWorkingCopy. computeIterationInformation
(IterationStructureWorkingCopy .java:356)
at com.ibm.team.process.internal. client.workingcopies.
IterationStructureWorkingCopy. access$2(IterationStructureWor kingCopy.   
java:352)
at com.ibm.team.process.internal. client.workingcopies.
IterationStructureWorkingCopy$ 1.execute(IterationStructureWo rkingCopy.
java:302)
at com.ibm.team.process.internal. client.workingcopies.ExecUtil. asyncExec
(ExecUtil.java:32)


What caused the error? 

One answer



permanent link
Martha (Ruby) Andrews (3.0k44251) | answered Apr 29 '13, 2:07 p.m.
JAZZ DEVELOPER
The exception occurred because the iteration that was set as the current iteration for one of the development lines was not listed as a valid iteration for the project area.

To get around the exception, the user set a different iteration as the current iteration by editing the project area in the web client. The project area editor in the web does not do the same check as the Eclipse client, so it did not raise an error when the project was opened.

Further investigation showed that at some point several iterations had been removed from the iteration structure associated with the project area. The iteration that was listed as the current iteration was one of them. It is not clear how this happened.

Ruby

Martha (Ruby) Andrews
Jazz Foundation L3 Developer

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.