IllegalArgumentException when openning a project area from RTC Eclipse client
RTC Client/Server: 4.0.0.1
Opening a project area using RTC Eclipse client resulted in the following error (Note, this works from RTC Web client)
An internal error occurred during: "Loading"
java.lang.IllegalArgumentExcep
tion
at com.ibm.team.process.internal.
client.workingcopies.Iteration
StructureWorkingCopy$LocalWork
ingCopyManager.getWorkingCopy(
IterationStructureWorkingCopy.java:143)
at com.ibm.team.process.internal.
client.workingcopies.Iteration
StructureWorkingCopy.findCurre
ntState(IterationStructureWorkingCopy.java:648)
at com.ibm.team.process.internal.
client.workingcopies.Iteration
StructureWorkingCopy.computeCu
rrentIterations(IterationStructureWorkingCopy.java:369)
at com.ibm.team.process.internal.
client.workingcopies.Iteration
StructureWorkingCopy.computeIt
erationInformation(IterationStructureWorkingCopy.java:356)
at com.ibm.team.process.internal.
client.workingcopies.Iteration
StructureWorkingCopy.access$2(
IterationStructureWorkingCopy.java:352)
at com.ibm.team.process.internal.
client.workingcopies.Iteration
StructureWorkingCopy$1.execute
(IterationStructureWorkingCopy.java:302)
at com.ibm.team.process.internal.
client.workingcopies.ExecUtil.
asyncExec(ExecUtil.java:32)
at com.ibm.team.process.internal.
client.workingcopies.Iteration
StructureWorkingCopy.asyncUpda
te(IterationStructureWorkingCopy.java:344)
at com.ibm.team.process.internal.
client.workingcopies.ProjectAr
eaWorkingCopy.getIterationStru
cture(ProjectAreaWorkingCopy.java:92)
at com.ibm.team.process.internal.
client.workingcopies.ProjectAr
eaWorkingCopy.asyncInitialize(
ProjectAreaWorkingCopy.java:60)
at com.ibm.team.process.internal.
ide.ui.editors.ProjectAreaEdit
orInputFuture.constructEditorI
nput(ProjectAreaEditorInputFuture.java:81)
at com.ibm.team.process.internal.
ide.ui.editors.AbstractItemEdi
torInputFuture$1.run(AbstractItemEditorInputFuture.java:92)
at org.eclipse.core.internal.jobs
.Worker.run(Worker.java:54)
Also expanding "All Plans" node resulted in the following error (Note, against this works fine from RTC Web client)
An internal error occurred during: "Fetching children of All Plans"
java.lang.NullPointerException
at com.ibm.team.apt.internal.clie
nt.util.IterationStructure.sho
wIteration(IterationStructure.java:100)
at com.ibm.team.apt.internal.ide.
ui.navigator.PlanningContentPr
ovider.showIteration(PlanningContentProvider.java:471)
at com.ibm.team.apt.internal.ide.
ui.navigator.PlanningContentPr
ovider.fetchDeferredChildren(PlanningContentProvider.java:282)
at org.eclipse.ui.progress.Deferr
edTreeContentManager$1.run(DeferredTreeContentManager.java:235)
at org.eclipse.core.internal.jobs
.Worker.run(Worker.java:54)
Opening a project area using RTC Eclipse client resulted in the following error (Note, this works from RTC Web client)
An internal error occurred during: "Loading"
java.lang.IllegalArgumentExcep
at com.ibm.team.process.internal.
at com.ibm.team.process.internal.
at com.ibm.team.process.internal.
at com.ibm.team.process.internal.
at com.ibm.team.process.internal.
at com.ibm.team.process.internal.
at com.ibm.team.process.internal.
at com.ibm.team.process.internal.
at com.ibm.team.process.internal.
at com.ibm.team.process.internal.
at com.ibm.team.process.internal.
at com.ibm.team.process.internal.
at org.eclipse.core.internal.jobs
Also expanding "All Plans" node resulted in the following error (Note, against this works fine from RTC Web client)
An internal error occurred during: "Fetching children of All Plans"
java.lang.NullPointerException
at com.ibm.team.apt.internal.clie
at com.ibm.team.apt.internal.ide.
at com.ibm.team.apt.internal.ide.
at org.eclipse.ui.progress.Deferr
at org.eclipse.core.internal.jobs
One answer
This turned out to be a problem where the iteration marked as the current iteration was not in the list of iterations associated with the project area.
It is not clear how the project got into such a state. ProcessService allows saving a development line with current iteration that is not in collection of iterations (263227)
tracks the work done to prevent such a problem from occurring in the future.
Ruby
Martha (Ruby) Andrews
Jazz Foundation L3 Developer
It is not clear how the project got into such a state. ProcessService allows saving a development line with current iteration that is not in collection of iterations (263227)
tracks the work done to prevent such a problem from occurring in the future.
Ruby
Martha (Ruby) Andrews
Jazz Foundation L3 Developer