Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Error: Component has no owner : unexpected!

On actions with source control (save Stream, save workspace) RTC raise this error:

An internal error occurred during: "Sharing Projects".
java.lang.IllegalStateException: Component has no owner : unexpected!


Thnks,
Ivan

0 votes



11 answers

Permanent link
link to the defect: https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=102649&tab=102649


Restart solved the problem!, and i tested few components and now everything looks ok, so i think this defect can be closed.
Thanks all for effort.
Ivan

1 vote


Permanent link
Ivan,

have you checked if all components in the Stream/Repository Workspace have an owner?

Ralph

On actions with source control (save Stream, save workspace) RTC raise this error:

An internal error occurred during: "Sharing Projects".
java.lang.IllegalStateException: Component has no owner : unexpected!


Thnks,
Ivan

0 votes


Permanent link
Ivan,

have you checked if all components in the Stream/Repository Workspace have an owner?

Ralph

On actions with source control (save Stream, save workspace) RTC raise this error:

An internal error occurred during: "Sharing Projects".
java.lang.IllegalStateException: Component has no owner : unexpected!


Thnks,
Ivan


It seems like all components have associated owner, but error message say Component has no owner : unexpected!. There is no detail about which component. Error message raise on every action with source in repository, and there is the same error when we try to save any action with components in different projects.

Some further details:

Web app server: WAS 6.1.0.27
version: RTCz 2.0.0.1
Server: z/OS 1.10

LOG:
!ENTRY org.eclipse.core.jobs 4 2 2010-01-07 15:31:25.436
!MESSAGE An internal error occurred during: "Saving Nbi".
!STACK 0
com.ibm.team.repository.common.transport.ServiceMethodInvocationError: java.lang.IllegalStateException: Component has no owner : unexpected!
at com.ibm.team.repository.transport.client.RemoteTeamService.getAppropriateException(Unknown Source)
at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(Unknown Source)
at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(Unknown Source)
at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(Unknown Source)
at $Proxy14.updateComponents(Unknown Source)
at sun.reflect.GeneratedMethodAccessor188.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(Unknown Source)
at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(Unknown Source)
at $Proxy14.updateComponents(Unknown Source)
at sun.reflect.GeneratedMethodAccessor188.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.ibm.team.scm.client.internal.ScmServiceInterfaceProxy$2.run(Unknown Source)
at com.ibm.team.repository.client.internal.TeamRepository$3.run(Unknown Source)
at com.ibm.team.repository.common.transport.CancelableCaller.call(Unknown Source)
at com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(Unknown Source)
at com.ibm.team.scm.client.internal.ScmClientLibraryContext.callCancelableService(Unknown Source)
at com.ibm.team.scm.client.internal.ScmServiceInterfaceProxy.invokeCancelableService(Unknown Source)
at com.ibm.team.scm.client.internal.ScmServiceInterfaceProxy.invoke(Unknown Source)
at $Proxy14.updateComponents(Unknown Source)
at com.ibm.team.scm.client.internal.FlowNodeConnection.applyComponentOperations(Unknown Source)
at com.ibm.team.scm.client.internal.FlowNodeConnection.applyComponentOperations(Unknown Source)
at com.ibm.team.filesystem.ui.operations.EditWorkspaceOperation.applyComponentOps(Unknown Source)
at com.ibm.team.filesystem.ui.operations.EditWorkspaceOperation.doComponentOps(Unknown Source)
at com.ibm.team.filesystem.ui.operations.EditWorkspaceOperation.editWorkspace(Unknown Source)
at com.ibm.team.filesystem.ui.operations.EditWorkspaceOperation.filesystemRun(Unknown Source)
at com.ibm.team.filesystem.ui.operations.FileSystemUIOperation.repositoryRun(Unknown Source)
at com.ibm.team.repository.rcp.ui.operations.RepositoryOperation.run(Unknown Source)
at com.ibm.team.filesystem.ui.views.TeamPlaceWorkingCopy.save(Unknown Source)
at com.ibm.team.filesystem.ui.views.TeamPlacePart2$TeamPlaceSaveable$1.run(Unknown Source)
at org.eclipse.ui.internal.SaveableHelper$5.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
Caused by: java.lang.IllegalStateException: Component has no owner : unexpected!
at com.ibm.team.scm.service.internal.utils.ComponentUtils.findOwner(ComponentUtils.java:191)
at com.ibm.team.scm.service.internal.utils.STCItemProvider.getOwnerRecord(STCItemProvider.java:239)
at com.ibm.team.scm.service.internal.utils.ProcessUtils.getProcessArea(ProcessUtils.java:271)
at com.ibm.team.scm.service.internal.utils.ProcessUtils.getProcessArea(ProcessUtils.java:198)..... etc

Thanks,
Ivan

0 votes


Permanent link
Ivan,

I have never seen anything like that. I hope someone more capable can answer this. Maybe with a bit more "history"?

E.g. Since when does that happen? I see RTCz 2.0.0.1 have you started with it? have you upgraded prior to this issue? Have you worked successfully with shared code before?
This might help other readers.

Ralph

0 votes


Permanent link
Ivan,

I have never seen anything like that. I hope someone more capable can answer this. Maybe with a bit more "history"?

E.g. Since when does that happen? I see RTCz 2.0.0.1 have you started with it? have you upgraded prior to this issue? Have you worked successfully with shared code before?
This might help other readers.

Ralph


Further details:
RTCz 2.0.0.1 is first installation. This happened first time yesterday, now the same error is happening to everyone.
Prior to that source control operation worked normallly for two mounths. We have created number of projects, and tested RTC repository creating number of components. Someone somehow managed to screw one component, and now whenever in any project we try to do some source control operations RTC repository raise an error. It seems like RTC trys to create component table prior to every operation and then brakes (because of that one broken component), leaving us with uncomplete save. I will provide some screenshoot tomorow, and somehow try to find which component is broken. The questions are: How to fix this? What caused this to happend? In production environment this could be a major problem, and will cause
delay in test phase.

Thanks,
Ivan

0 votes


Permanent link
I've never seen this either. You definitely should submit a Defect work
item with tis information, to make sure it comes to the attention of the
appropriate development and support teams, so they can get this fixed.

Cheers,
Geoff

IvanB wrote:
rschoonwrote:
Ivan,
I have never seen anything like that. I hope someone more capable
can answer this. Maybe with a bit more "history"?
E.g. Since when does that happen? I see RTCz 2.0.0.1 have you
started with it? have you upgraded prior to this issue? Have you
worked successfully with shared code before?
This might help other readers.

Ralph

Further details:
RTCz 2.0.0.1 is first installation. This happened first time
yesterday, now the same error is happening to everyone.
Prior to that source control operation worked normallly. We have
created number of projects, and tested RTC repository creating number
of components. Someone somehow managed to screw one component, and now
whenever in any project we try to do some source control operations
RTC repository raise an error. It seems like RTC trys to create
component table prior to every operation and then brakes (because of
that one broken component), leaving us with uncomplete save. I will
provide some screenshoot tomorow, and somehow try to find which
component is broken. The questions are: How to fix this? What caused
this to happend? In production environment this could be a major
problem, and will cause
delay in test phase.

Thanks,
Ivan

0 votes


Permanent link
Further details, DB2 error log:

error -803:

DSNT408I SQLCODE = -803, ERROR: AN INSERTED OR UPDATED VALUE IS
INVALID BECAUSE INDEX IN INDEX SPACE COMP1UX8 CONSTRAINS
COLUMNS OF THE TABLE SO NO TWO ROWS CAN CONTAIN DUPLICATE
VALUES IN THOSE COLUMNS.

unique indeks on table is this:

COMPONENT_NTR_WS_C (WORKSPACE_ITEM_ID, COMPONENT_ITEM_ID)

and error show up for this SQL:

INSERT INTO SCM.COMPONENT_ENTRY (STATE_ID, ITEM_ID, CONTEXT_ID,
MODIFIED, MODIFIED_BY_ITEM_ID, COMPONENT_ITEM_ID, CHANGEHISTORY_ITEM_ID,
WORKSPACE_ITEM_ID) VALUES (?, ?, ?, ?, ?, ?, ?, ?)


Thanks,
Ivan

0 votes


Permanent link
This is definitely a bug.

Please raise a work item on Source Control and subscribe me to it (John
Camelon). If you have any other details that could help us in
reproducing it, I would appreciate it.

Thanks,
JohnC
SCM Server


rschoon wrote:
Ivan,

I have never seen anything like that. I hope someone more capable can
answer this. Maybe with a bit more "history"?

E.g. Since when does that happen? I see RTCz 2.0.0.1 have you started
with it? have you upgraded prior to this issue? Have you worked
successfully with shared code before?
This might help other readers.

Ralph

0 votes


Permanent link
This is definitely a bug.

Please raise a work item on Source Control and subscribe me to it (John
Camelon). If you have any other details that could help us in
reproducing it, I would appreciate it.

Thanks,
JohnC
SCM Server


rschoon wrote:
Ivan,

I have never seen anything like that. I hope someone more capable can
answer this. Maybe with a bit more "history"?

E.g. Since when does that happen? I see RTCz 2.0.0.1 have you started
with it? have you upgraded prior to this issue? Have you worked
successfully with shared code before?
This might help other readers.

Ralph


I have opened Defect 102649 regarding this error. Unfortunately i dont now wich operation coused it, but will help you any way i can.

Can you propose any suggestion that could fix this isssue. Or there is nothing else to do but bring up new RTC repository (it will take time and resources)?

Thank you,
Ivan

0 votes


Permanent link
link to the defect: https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=102649&tab=102649

0 votes

1–15 items
page 1of 1 pagesof 2 pages

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jan 07 '10, 9:21 a.m.

Question was seen: 11,247 times

Last updated: Jan 07 '10, 9:21 a.m.

Confirmation Cancel Confirm