My Oracle Support Banner

Invalid Gap Selection Validation Exception (Doc ID 2688600.1)

Last updated on JULY 14, 2020

Applies to:

Oracle Communications Unified Inventory Management - Version and later
Information in this document applies to any platform.


On : version, Network Management

Getting Invalid Gap Selection Validation Exception. How to resolve this?

We are experiencing exception while resolving connectivity Gap with Pipe from below API. Where in it is working from GUI and creates Jumper automatically.
Business Logic:-
pipes = finder.findById(Pipe.class, "OS-"+pipeid);
Pipe pipe = pipes.iterator().next();
connectivityPath = connectivityPath.refresh();
PipeConfigurationItem gapItem = connectivityPath.getChildConfigItems().get(0);
connectivity=manager.addSegmentsToConnectivityPath(connectivity, connectivityPath, gapItem, connectivityList);

Exception Log :-

oracle.communications.inventory.api.exception.ValidationException: Invalid Gap selection
  at oracle.communications.inventory.api.connectivity.impl.ConnectivityManagerImpl.validateGapItem(
  at oracle.communications.inventory.api.connectivity.impl.ConnectivityManagerImpl.addSegmentsToConnectivityPath(
  at oracle.communications.inventory.api.connectivity.impl.ConnectivityManagerImpl.addSegmentsToConnectivityPath(
  at com.vodacom.inventory.rule.migration.RackShelfCardLoader.findAndAssignWDMChannel(
  at com.vodacom.inventory.rule.migration.RackShelfCardLoader.importRackShelfCardLoader(

Steps to Produce Issue:
1. Crate connectivity between A & Z Logical Device (OTU 4 Connectivity)
2. Create Pipe with capacity between A & B Logical Device.
3. Try to add Pipe segment with the Above API.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.