search cancel

Stopping/Pausing a phase result in NullPointerException

book

Article ID: 253118

calendar_today

Updated On:

Products

Continuous Delivery Director

Issue/Introduction

We have upgraded to version 8.4 . But when executing a release it stays forever in running and you can neither stop nor pause the phase as it results in below error.

2022-10-23 11:38:47.858 [https-jsse-nio-8443-exec-2] [**********************] ERROR com.ca.rp.utils.InvokerWithRetries - Caught an exception during invocation of 'changePhaseExecution' - no retry for it - throw it.
java.lang.NullPointerException: null
at com.ca.rp.execution.impl.VersionsPromotionHandler.lambda$handlePromotedVersionData$0(VersionsPromotionHandler.java:91)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:56

Environment

Release : 8.4

Component: CONTINUOUS DELIVERY DIRECTOR

Resolution

  • Login to CDD UI
  • Navigate to Administration -> Environments
  • Select and Edit the environment which are mapped to Phase 
  • Check "Mark as Production Environment" and save

  • In case if the environment is not Production, do below step else skip
    • Edit environment again and uncheck "Mark as Production Environment" and save
  • Try to stop the phase again, it should stop.
 

Attachments