It's all about the answers!

Ask a question

IllegalArgumentException when opening a project area in Eclipse editor

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

An internal error occurred during: "Loading"   

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

What caused the error? 

One answer

permanent link
Martha (Ruby) Andrews (3.0k44351) | answered Apr 29 '13, 2:07 p.m.
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.


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.