ORA-02292 Error (ASAP.FK_DE_GL_AS_SE__NS_NS_CO2) Saving Network System After Deleting Network Elements
(Doc ID 2916652.1)
Last updated on FEBRUARY 18, 2023
Applies to:
Oracle Communications MetaSolv Solution - Version 6.3.1 and laterInformation in this document applies to any platform.
Symptoms
Unable to delete a component from a Network System Design. "ORA-02292: integrity constraint (ASAP.FK_DE_GL_AS_SE__NS_NS_CO) violated" errors, followed by a "Save of network system failed" error for the same reason, are received when attempting to save the Network System Design after deleting one of the components. Note all of the equipment associations have been removed for the component that needs to be deleted.
ERROR
A data-related error occurred. Please use the detail button for more information.
The server encountered the following Exception:
java.sql.SQLIntegrityConstraintViolationException: ORA-02292: integrity
constraint (ASAP.FK_DE_GL_AS_SE__NS_NS_CO2) violated - child record found
at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:509)
at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:461)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1104)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:550)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:268)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:655)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:270)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:91)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:970)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1205)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3666)
at oracle.jdbc.driver.T4CPreparedStatement.executeInternal(T4CPreparedStatement.java:1426)
at oracle.jdbc.driver.OraclePreparedStatement.executeLargeUpdate(OraclePreparedStatement.java:3756)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3736)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1063)
at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:170)
at com.metasolv.jdbc.MSVPreparedStatement.executeUpdate(MSVPreparedStatement.java:98)
at MetaSolv.persistent.jdbc.JDSC.delete(JDSC.java:328)
at MetaSolv.persistent.jdbc.JDSC.delete(JDSC.java:270)
at com.mslv.core.api.internal.netmgmt.design.control.handlers.ModelEventHandler.perform(ModelEventHandler.java:123)
at com.mslv.core.api.internal.netmgmt.design.control.EventController.handleEvent(EventController.java:61)
at com.mslv.core.api.internal.netmgmt.delegate.pbpackage.ns.InvProcessNetworkDesign.processDeletes(InvProcessNetworkDesign.java:1079)
at com.mslv.core.api.internal.netmgmt.delegate.pbpackage.ns.InvProcessNetworkDesign.processRequest(InvProcessNetworkDesign.java:206)
at com.mslv.core.api.internal.netmgmt.delegate.pbpackage.ns.InvNetworkDesignRoot.process(InvNetworkDesignRoot.java:106)
at MetaSolv.utilities.powerbuilder.BusinessObject.processRequest(BusinessObject.java:67)
at com.mslv.webapp.pblistener.PBListener.invokeClass(PBListener.java:640)
at com.mslv.webapp.pblistener.PBListener.doPost(PBListener.java:431)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecur!tyHelper$ServletServiceAction.run(StubSecur!tyHelper.java:295)
at weblogic.servlet.internal.StubSecur!tyHelper$ServletServiceAction.run(StubSecur!tyHelper.java:260)
at weblogic.servlet.internal.StubSecur!tyHelper.invokeServlet(StubSecur!tyHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:353)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:250)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3796)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3763)
at weblogic.Secur!ty.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:344)
at weblogic.Secur!ty.service.Secur!tyManager.runAsForUserCode(Secur!tyManager.java:197)
at weblogic.servlet.provider.WlsSecur!tyProvider.runAsForUserCode(WlsSecur!tyProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.d*SecuredExecute(WebAppServletContext.java:2451)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2299)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1720)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1680)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:272)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:655)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)
Caused by: Error : 2292, Position : 0, Sql = DELETE ASAP.NS_NS_COMP where NS_COMP_ID = :1 AND NS_NS_COMP_SEQ = :2 , OriginalSql = DELETE
ASAP.NS_NS_COMP where NS_COMP_ID = ? AND NS_NS_COMP_SEQ = ?, Error Msg = ORA-02292: integrity constraint (ASAP.FK_DE_GL_AS_SE__NS_NS_CO2) violated - child record found
at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:513)
... 52 more
Miscellaneous error: MetaSolv.utilities.powerbuilder.d_netdes_ns_ns_comp.
The server encountered the following Exception: Miscellaneous error:
MetaSolv.utilities.powerbuilder.d_netdes_ns_ns_comp.
at com.mslv.core.global.MSLVException.createMSLVException(MSLVException.java:169)
<<< REST OF STACK TRACE REMOVED >>>
Error
Save of network system failed.
The server encountered the following Exception:
java.sql.SQLIntegrityConstraintViolationException: ORA-02292: integrity
constraint
(ASAP.FK_DE_GL_AS_SE__NS_NS_CO2) violated - child record found
at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:509)
at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:461)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1104)
<<< REST OF STACK TRACE REMOVED >>>
Cause
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
Symptoms |
Cause |
Solution |
References |