Connector HP ALM

Description
PolarionNumb
Posts: 1
Joined: Wed May 22, 2019 10:24 am

Connector HP ALM

Postby PolarionNumb » Wed May 22, 2019 1:22 pm

Hello everyone,

I have configured a connector to HP ALM to synchronize Requirements. It only works fine in one direction. When I create requirements in polarion the entities will be either created or updated in HP ALM. It is also possible to update entities in HP ALM and synchronize it with Polarion. But it is not possible to create a requirement in HP ALM and then sync it with Polarion. This means HP ALM ist not possible to create a requirement in Polarion.

Maybe some has an idea what could be the problem and can help me by finding a solution.

Thanks




Here is the log entry, when the synchronizing failed:

Code: Select all

2019-05-22 15:33:19,466 [ajp-nio-8889-exec-1 | u:admin] INFO  root  - Job "Connector Sync Job" has id dfbf06e8-0a914805-2787dfb1-a2eec743
2019-05-22 15:33:19,470 [ajp-nio-8889-exec-1 | u:admin] INFO  root  - State of job "Connector Sync Job" changed to UNSCHEDULED
2019-05-22 15:33:19,471 [ajp-nio-8889-exec-1 | u:admin] INFO  root  - Working directory of root job "Connector Sync Job" is C:\Polarion\data\workspace\polarion-data\jobs\20190522-1533
2019-05-22 15:33:19,471 [ajp-nio-8889-exec-1 | u:admin] INFO  root  - Job "Connector Sync Job" runs as user "admin"
2019-05-22 15:33:19,471 [ajp-nio-8889-exec-1 | u:admin | u:admin] INFO  root  - State of job "Connector Sync Job" changed to ACTIVATING
2019-05-22 15:33:19,482 [ajp-nio-8889-exec-1 | u:admin | u:admin] INFO  root  - State of job "Connector Sync Job" changed to WAITING
2019-05-22 15:33:19,484 [Worker-17: Connector Sync Job | u:admin] INFO  root  - State of job "Connector Sync Job" changed to RUNNING
2019-05-22 15:33:20,050 [Worker-17: Connector Sync Job | u:admin | job: synchronizer] INFO  root  - Synchronizing from My_first_test to HPALM-ALM-MSF-Empty.
2019-05-22 15:33:25,938 [Worker-17: Connector Sync Job | u:admin | job: synchronizer] INFO  root  - New items from Polarion:   0
2019-05-22 15:33:25,943 [Worker-17: Connector Sync Job | u:admin | job: synchronizer] INFO  root  - New items from right side:   1
2019-05-22 15:33:25,950 [Worker-17: Connector Sync Job | u:admin | job: synchronizer] INFO  root  - Items to be synchronized:   9
2019-05-22 15:33:25,979 [Worker-17: Connector Sync Job | u:admin | job: synchronizer] ERROR root  - Target node for update REQ-27 not found, update will be ignored.
2019-05-22 15:33:25,990 [Worker-17: Connector Sync Job | u:admin | job: synchronizer] ERROR root  - Target node for update REQ-28 not found, update will be ignored.
2019-05-22 15:33:25,999 [Worker-17: Connector Sync Job | u:admin | job: synchronizer] ERROR root  - Target node for update REQ-29 not found, update will be ignored.
2019-05-22 15:33:26,007 [Worker-17: Connector Sync Job | u:admin | job: synchronizer] ERROR root  - Target node for update REQ-30 not found, update will be ignored.
2019-05-22 15:33:26,018 [Worker-17: Connector Sync Job | u:admin | job: synchronizer] ERROR root  - Target node for update REQ-31 not found, update will be ignored.
2019-05-22 15:33:26,027 [Worker-17: Connector Sync Job | u:admin | job: synchronizer] ERROR root  - Target node for update REQ-32 not found, update will be ignored.
2019-05-22 15:33:26,035 [Worker-17: Connector Sync Job | u:admin | job: synchronizer] ERROR root  - Target node for update REQ-33 not found, update will be ignored.
2019-05-22 15:33:26,044 [Worker-17: Connector Sync Job | u:admin | job: synchronizer] ERROR root  - Target node for update REQ-34 not found, update will be ignored.
2019-05-22 15:33:26,053 [Worker-17: Connector Sync Job | u:admin | job: synchronizer] ERROR root  - Target node for update REQ-35 not found, update will be ignored.
2019-05-22 15:33:26,074 [Worker-17: Connector Sync Job | u:admin | job: synchronizer] ERROR root  - Unexpected error executing synchronization task.
java.lang.IndexOutOfBoundsException: Index: 9, Size: 0
   at java.base/java.util.ArrayList.rangeCheckForAdd(ArrayList.java:787)
   at java.base/java.util.ArrayList.add(ArrayList.java:512)
   at com.polarion.synchronizer.internal.hierarchy.ItemTree$Node.reinsert(ItemTree.java:170)
   at com.polarion.synchronizer.internal.hierarchy.ItemTree$Node.addNode(ItemTree.java:146)
   at com.polarion.synchronizer.internal.mapping.HierarchyProcessor.insertSecondaryChanges(HierarchyProcessor.java:168)
   at com.polarion.synchronizer.internal.mapping.HierarchyProcessor.<init>(HierarchyProcessor.java:116)
   at com.polarion.synchronizer.internal.mapping.DefaultFieldMappingGroup.loadHierarchyProcessor(DefaultFieldMappingGroup.java:23)
   at com.polarion.synchronizer.internal.mapping.MultiTypeMapping.loadHierarchyProcessor(MultiTypeMapping.java:139)
   at com.polarion.synchronizer.internal.MultiItemMapping.processHierarchy(MultiItemMapping.java:198)
   at com.polarion.synchronizer.internal.MultiItemMapping.executeMapping(MultiItemMapping.java:192)
   at com.polarion.synchronizer.internal.SynchronizationTask.update(SynchronizationTask.java:245)
   at com.polarion.synchronizer.internal.SynchronizationTask.synchronize(SynchronizationTask.java:214)
   at com.polarion.synchronizer.internal.SynchronizationTask.execute(SynchronizationTask.java:183)
   at com.polarion.synchronizer.MultiSynchronizationContext.execute(MultiSynchronizationContext.java:77)
   at com.polarion.synchronizer.SynchronizationJobUnit.runInternal(SynchronizationJobUnit.java:78)
   at com.polarion.platform.jobs.spi.AbstractJobUnit.run(AbstractJobUnit.java:194)
   at com.polarion.platform.jobs.internal.eclipse.WrappedEclipseRootJob$2$1.runWEx(WrappedEclipseRootJob.java:210)
   at com.polarion.platform.jobs.internal.eclipse.WrappedEclipseRootJob$2$1.runWEx(WrappedEclipseRootJob.java:1)
   at com.polarion.core.util.RunnableWEx.runWRet(RunnableWEx.java:61)
   at com.polarion.platform.persistence.internal.JobContextService.doInContext(JobContextService.java:24)
   at com.polarion.platform.persistence.internal.JobContextService.doInContext(JobContextService.java:1)
   at com.polarion.platform.jobs.internal.eclipse.WrappedEclipseRootJob$2.run(WrappedEclipseRootJob.java:202)
   at java.base/java.security.AccessController.doPrivileged(Native Method)
   at java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:484)
   at com.polarion.platform.internal.security.SubjectNDC.doAsPrivileged(SubjectNDC.java:80)
   at com.polarion.platform.jobs.internal.eclipse.WrappedEclipseRootJob.runJob(WrappedEclipseRootJob.java:192)
   at com.polarion.platform.jobs.internal.eclipse.WrappedEclipseRootJob.runJobs(WrappedEclipseRootJob.java:168)
   at com.polarion.platform.jobs.internal.eclipse.WrappedEclipseRootJob.run(WrappedEclipseRootJob.java:101)
   at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)
2019-05-22 15:33:26,083 [Worker-17: Connector Sync Job | u:admin] INFO  root  - State of job "Connector Sync Job" changed to FINISHED
2019-05-22 15:33:26,090 [Worker-17: Connector Sync Job | u:admin] INFO  root  - Status of job "Connector Sync Job" is FAILED:
Synchronization finished, but errors occurred. See system log for details.


Return to “Polarion Application Lifecycle Management (ALM)”

Who is online

Users browsing this forum: No registered users and 12 guests