Hi Amandeep,
I recently ran into this issue and this is how I was able to resolve it.
1. Export the problematic views and drop them
2. delete from "_SYS_REPO"."INACTIVE_OBJECT" where object_name
= '<VIEW_NAME>'
3. Run a SELECT query to obtain OID for the views/procedure:
select * from "SYS"."P_OBJECTS_" where NAME like '%<VIEW_NAME>%'
Take note of the OID
If you dont see a OID run the following delete statements
select * from "_SYS_REPO"."RUNTIME_OBJECTS" where OBJECT_NAME LIKE
'%SYS_BIC:<package_name>%'
Please run the following to delete the runtime objects:
delete from "_SYS_REPO"."RUNTIME_OBJECTS" where OBJECT_NAME = '%_SYS_BIC:<package_name>/<view_name>%'
4. delete from "_SYS_REPO"."RUNTIME_OBJECTS" where OBJECT_NAME like
'%OID%'
5. Re-import the views and activate them again.
Let me know if it works.
Thanks
Suresh