Description
This page will help you find a solution, if your snapshot is failing and the below mentioned error is found in the Cast-MSx.log.txt file.
ORA-01422: exact fetch returns more than requested number of rows ORA-06512: at "L820_8913_DTI.DSS_APP_FIND_PARENT_CLASS", line 25 ORA-06512: at "L820_8913_DTI.DSSAPP_FILL_METHOD_M_LINKS", line 17 ORA-06512: at "L820_8913_DTI.DSSAPP_SCOPE_INIT_CLASSES", line 125 ORA-06512: at line 1
Observed in CAST AIP
Release | Yes/No |
---|---|
8.3.x | |
8.2.x | x < 5 |
8.1.x | |
8.0.x | |
7.3.x |
Observed on RDBMS
RDBMS | Yes/No |
---|---|
Oracle Server | |
Microsoft SQL Server | |
CSS3 | |
CSS2 |
Step by Step Scenario
Take snapshot of an application sharing an object with another application
Impact on Analysis Results and Dashboard
Snapshot fails
Action Plan
This error is encountered when some object belongs to several applications : only one row is expected, but if the object is shared between several applications, the query will return several rows.The issue will be fixed in Service Pack 8.2.5
Apply the attached script, which will update procedure DSS_APP_FIND_PARENT_CLASS (add a DISTINCT clause to the SELECT query, and re-take snapshot.Check if your application has object of type "JV_GENERIC_INTERFACE" by executing the below query on the Knowledge Base -
select count(idkey) from keys where objtyp = 990
- If the query returns a value greater than 0 then there are objects of type JV_GENERIC_INTERFACE in your analysis results which are not handled in the procedure, this bug will be fixed in a future version of Cast AIP, apply the below workaround -
- Install the stored procedure FIX_DSS_APP_FIND_PARENT_CLASS.sql on Knowledge Base
- Rerun the snapshot by skipping analysis
- If the query returns 0 then contact Cast Technical Support and provide them with Relevant Input
- If the query returns a value greater than 0 then there are objects of type JV_GENERIC_INTERFACE in your analysis results which are not handled in the procedure, this bug will be fixed in a future version of Cast AIP, apply the below workaround -
Notes/comments
Ticket # 8913 , 11566