ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Endevor GitBridge - Empty Endevor Elements could not be initialized

book

Article ID: 199589

calendar_today

Updated On:

Products

Endevor Software Change Manager (SCM)

Issue/Introduction

Operation: Initialize repository
Result: WARNING
Message: Not all elements were initialized.
 Branch Master: The branch was initialized with 9 elements. The following elements could not be initialized:

  DEV4A/2/AUDIT/AUDIT/COBOL/NEWTEST (013417960105EA35) 
  Reason: connection to endevor refused
  DEV4A/2/AUDIT/AUDIT/COBOL/TEST (013416C000CA5918) 
  Reason: connection to endevor refused


2020-09-11 15:41:35.015  INFO 2204 --- [DefaultQuartzScheduler_Worker-1] c.c.e.i.m.b.t.impl.RecursiveActionTask   : Running action: RETRIEVE 'DEV4A/2/AUDIT/AUDIT/COBOL/NEWTEST (013417960105EA35)'
2020-09-11 15:41:36.202 ERROR 2204 --- [DefaultQuartzScheduler_Worker-1] c.c.e.i.c.e.r.responses.EndevorResponse  : Error parsing Endevor response

java.lang.NullPointerException: null
 at com.ca.endevor.integration.connector.endevor.rest.responses.EndevorResponse.createFromResource(EndevorResponse.java:66)
 at com.ca.endevor.integration.connector.endevor.rest.impl.services.ElementService.retrieve(ElementService.java:71)
 at com.ca.endevor.integration.modules.background.task.impl.helper.EndevorIntegrationHelper.retrieveElement(EndevorIntegrationHelper.java:343)
 at com.ca.endevor.integration.modules.background.task.impl.helper.EndevorIntegrationHelper.performElementAction(EndevorIntegrationHelper.java:296)
 at com.ca.endevor.integration.modules.background.task.impl.RecursiveActionTask.runAction(RecursiveActionTask.java:86)
 at com.ca.endevor.integration.modules.background.task.impl.RecursiveActionTask.execute(RecursiveActionTask.java:68)
 at com.ca.endevor.integration.modules.background.task.impl.RecursiveActionTask.run(RecursiveActionTask.java:52)
 at com.ca.endevor.integration.modules.background.job.impl.runner.AbstractEndevorBranchJobRunner.runTask(AbstractEndevorBranchJobRunner.java:95)
 at com.ca.endevor.integration.modules.background.job.impl.runner.CloneInventoryJobRunner.runTasks(CloneInventoryJobRunner.java:137)
 at com.ca.endevor.integration.modules.background.job.impl.runner.CloneInventoryJobRunner.processOperation(CloneInventoryJobRunner.java:72)
 at com.ca.endevor.integration.modules.background.job.impl.runner.CloneInventoryJobRunner.processOperations(CloneInventoryJobRunner.java:54)
 at com.ca.endevor.integration.modules.background.job.impl.runner.InitRepositoryJobRunner.processOperation(InitRepositoryJobRunner.java:76)
 at com.ca.endevor.integration.modules.background.job.impl.runner.InitRepositoryJobRunner.processOperation(InitRepositoryJobRunner.java:40)
 at com.ca.endevor.integration.modules.background.job.impl.runner.AbstractJobRunner.processOperations(AbstractJobRunner.java:140)
 at com.ca.endevor.integration.modules.background.job.impl.runner.AbstractJobRunner.runJob(AbstractJobRunner.java:103)
 at com.ca.endevor.boot.scheduler.QuartzJob.execute(QuartzJob.java:29)
 at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
 at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)

2020-09-11 15:41:36.218 ERROR 2204 --- [DefaultQuartzScheduler_Worker-1] c.c.e.i.m.b.t.impl.RecursiveActionTask   : Found exception running action: RETRIEVE 'DEV4A/2/AUDIT/AUDIT/COBOL/NEWTEST (013417960105EA35)'.

Environment

Release : 18.1

Component : CA Endevor Software Change Manager

Endevor GitBridge 2.4.4

Resolution

BridgeForGit-2.4.4-fix2.jar contains code fix to handle Empty Endevor elements. 

Solution: 

Stop Bridge for Git, replace BridgeForGit.jar with latest fix, start Bridge for Git Application.

 

Operation: Initialize repository
Result: SUCCESS
Message: Repository successfully initialized.
        Branch Master: The branch was initialized with 11 elements.