Invalid ROWID error
Has anyone faced the below error?
boldORA-01410: invalid ROWID ORA-06548: no more rows needed*bold*
Thanks in Advance
Balarenganathan wrote:
Has anyone faced the below error?
boldORA-01410: invalid ROWID ORA-06548: no more rows needed*bold*
Thanks in Advanceusually due to bad design or implementation of PL/SQL code
Similar Messages
-
Invalid rowid error while running the snapshot agent in transactional replication
Hi All,
I am getting an Invalid rowid error while replicating an large tables i.e around 30 millions rows from oracle(publisher) to sql server(Subscriber) while running the snapshot agent in transactional replication.
Its taking around 18 hours and its then its throwing this error.
Is there any faster way that i can replicate the initial snapshot this large table as 18 hours is very high on time.
Kindly suggest.i am always got quick and accurate response always..hope the same in this case also.
Thanks,Hi,
Could you please create a replication with some small tables for a test?
You can disable the firewall on both sides and rerun snapshot. Enable verbose logging to level 4 for snapshot agent and check the results if it fails.
http://support.microsoft.com/kb/312292
Here is a document says for the error: ORA-10632: Invalid rowid Cause: Segment Highwatermark was overwritten due to shrink and space reused Action: Reissue this command.
I also suggest you contact the Oracle support team for further help.
Thanks.
Tracy Cai
TechNet Community Support -
Invalid Rowid Error on Insert Row
I have a table on which i don't have any primary key defined (or don't want to define any primary key on it). The EO has therefore ROWID generated by wizard as primary key. Every thing works alright on updating records. But during the insert i get a error "Unable to save the changes oracle.jbo.DMLException: JBO-26080: Error while selecting entity for PeriodSourceEO". BTW i am using following code to insert a row.
PeriodVOImpl perGlobalVO = getPeriodVO();
PeriodVORowImpl perGlobalRow = (PeriodVORowImpl) perGlobalVO.createRow();
perGlobalRow.setNewRowState(Row.STATUS_NEW);
perGlobalVO.insertRow(perGlobalRow);
perGlobalVO.setCurrentRow(perGlobalRow);
I get the error on committing the transaction.
The error trace is
<BaseSQLBuilderImpl> <doRefreshSQL> [14182] Executing Refresh SQL...SELECT ROWID FROM TPOVPERIODSOURCE WHERE ROWID=?
<BaseSQLBuilderImpl> <bindWhereAttrValue> [14183] Where binding param 1: 686984
<BaseSQLBuilderImpl> <doRefreshSQL> [14184] SQL failure in doRefreshSQL - 'ORA-01410: invalid ROWID
Is insert not possibler using ROWID and I have to define a primary key to table? Or can someone point out workaround to it.Got the way to work around the problem. Just override the method protected void doRefreshSQL(int operation, java.util.ArrayList refreshAttrs) in the implementation of EntityImpl class.
-
Hi I am trying to insert data in a table and getting following error message.
There is no primary key in the table so I have to choose rowId as primary key and when in Process From request method I am calling the AM method for code commit(), I am getting this error.
oracle.apps.fnd.framework.OAException: oracle.jbo.DMLException: JBO-26080: Error while selecting entity for TestEO
java.sql.SQLException: ORA-01410: invalid ROWID
Thanks
AnoopAnoop,
If this is a custom table, y can't u have a primary key column. You can have that column as sequence.I think TAR won't help here, because in current version of BC4J this is a issue, and thats y Oracle says to have a primary key column in EO.
--Mukul -
Help to Identify the peace of code Causing - ORA-01410: invalid ROWID
Hi I have Plsql Block that runs monthly and process 10 million records and every once in a while it fails with the ORA-01410: invalid ROWID Error ,last month it failed two times with same error ,if any one could point me what is wrong this code ,i will work on it to fix. if you see the code we have exceptio n block at the end of the code ,we have procedure that inserts a record into log table ,so both the failures had inserted a record into the table that means it failed before it entered into for loop.
my question is can Fech statement cause invalid rowid.
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
DECLARE
cFetchLimit CONSTANT NUMBER := 100000;
nRunningTotal NUMBER := 0;
CURSOR curRawData IS
SELECT rawdata.*, SYS_GUID() combinedprofitdataid,
NVL((SELECT 'Y'
FROM SNAP_CDS_HR_NONSENSITIVE_DATA
WHERE emplid = LPAD(rawdata.fk_westprireltnshpmanagerempid,11,'0')),'N') hrempexists,
NVL((SELECT MAX('Y')
FROM SNAP_MAX_Entity
WHERE AU = DECODE(LENGTH(REPLACE(TRANSLATE(rawdata.fk_west_bookingau, '0123456789' ,'**********'), '*', NULL)), NULL, rawdata.fk_west_bookingau, NULL)
),'N') bookingauexists,
NVL((SELECT MAX('Y')
FROM SNAP_MAX_Entity
WHERE AU = DECODE(LENGTH(REPLACE(TRANSLATE(rawdata.fk_westprireltnshpmanagerempau, '0123456789' ,'**********'), '*', NULL)), NULL, rawdata.fk_westprireltnshpmanagerempau, NULL)
),'N') prirelmanempauexists,
NVL((SELECT MAX('Y')
FROM SNAP_MAX_ProductGroup
WHERE ProductGroupId = DECODE(LENGTH(REPLACE(TRANSLATE(rawdata.fk_west_productgroupid, '0123456789' ,'**********'), '*', NULL)), NULL, rawdata.fk_west_productgroupid, NULL)
),'N') productgroupexists,
NVL((SELECT MAX('Y')
FROM SNAP_MAX_Product
WHERE ProductId = rawdata.fk_west_productid
),'N') productidexists,
NVL((SELECT MAX('Y')
FROM SNAP_MAX_SubProduct
WHERE SubProductId = rawdata.fk_west_subproductid
),'N') subproductidexists,
(SELECT e.GL_ENTITY
FROM SNAP_CDS_HR_NONSENSITIVE_DATA e
WHERE e.emplid = LPAD(rawdata.fk_westprireltnshpmanagerempid,11,'0')
AND e.AU = rawdata.FK_WESTPRIRELTNSHPMANAGEREMPAU ) entity_fk_westprirelmanempau
FROM T_rawdata rawdata
WHERE rawdata.dda_flag = 'N';
TYPE RawData_aat IS TABLE OF curRawData%ROWTYPE INDEX BY PLS_INTEGER;
l_RawData RawData_aat;
TYPE CombinedProfitData_aat IS TABLE OF T_WIS_CDS_COMBINEDPROFITDATA%ROWTYPE INDEX BY PLS_INTEGER;
l_CombinedP CombinedProfitData_aat;
cpdIdx NUMBER := 0;
vcHREmpExists VARCHAR2(1) := 'N';
vcBookingAuExists VARCHAR2(1) := 'N';
vcPriRelManEmpAuExists VARCHAR2(1) := 'N';
vcProductGroupExists VARCHAR2(1) := 'N';
vcProductIDExists VARCHAR2(1) := 'N';
vcSubProductIDExists VARCHAR2(1) := 'N';
vcBEIDExists VARCHAR2(1) := 'N';
l_raw_accountnum t_wis_cds_h_act_rawdata.account%TYPE := NULL;
l_raw_bank_id t_wis_cds_h_act_rawdata.account%TYPE := NULL;
l_west_sourcesystem t_wis_cds_h_act_rawdata.sourcesystem%TYPE := NULL;
l_fnd_combinedprofitdataid T_WIS_CDS_COMBINEDPROFITDATA.combinedprofitdataid%TYPE := NULL;
FUNCTION BEIDExists(p_west_be_id VARCHAR2) RETURN VARCHAR2 IS
CURSOR curBEIDData IS
SELECT 'Y'
FROM SNAP_STOBEX_BUSINESS_ENTITY
WHERE be_id = p_west_be_id;
BEGIN
FOR recBEIDData IN curBEIDData LOOP
RETURN 'Y';
END LOOP;
RETURN 'N';
EXCEPTION
WHEN OTHERS THEN
P_WIS_CDS.LOG('exists', SQLCODE, SQLERRM);
RETURN 'N';
END BEIDExists;
BEGIN
OPEN curRawData;
LOOP
FETCH curRawData BULK COLLECT INTO l_RawData LIMIT cFetchLimit;
EXIT WHEN l_RawData.COUNT = 0;
l_CombinedP.DELETE;
cpdIdx := 0;
nRunningTotal := nRunningTotal + l_RawData.COUNT;
P_WIS_CDS.info('Merge_cp','0', 'Processing '||nRunningTotal||' rows @ '||SYSDATE);
FOR i IN l_RawData.FIRST..l_RawData.LAST LOOP
cpdIdx := (cpdIdx+1);
vcHREmpExists := 'N';
vcBookingAuExists := 'N';
vcPriRelManEmpAuExists := 'N';
vcProductGroupExists := 'N';
vcProductIDExists := 'N';
vcSubProductIDExists := 'N';
vcBEIDExists := 'N';
l_CombinedP(cpdIdx).exportsource := l_RawData(i).exportsource;
l_CombinedP(cpdIdx).exportsourcetype := l_RawData(i).exportsourcetype;
l_CombinedP(cpdIdx).fk_exportsourceid := l_RawData(i).exportsourceid;
IF l_RawData(i).fk_westprireltnshpmanagerempid IS NOT NULL THEN
l_CombinedP(cpdIdx).fk_westprireltnshpmanagerempid :=
LPAD(l_RawData(i).fk_westprireltnshpmanagerempid, 11, '0');
ELSE
l_CombinedP(cpdIdx).fk_westprireltnshpmanagerempid := NULL;
END IF;
l_CombinedP(cpdIdx).fk_west_productgroupid :=
l_RawData(i).fk_west_productgroupid;
l_CombinedP(cpdIdx).fk_west_productid :=
l_RawData(i).fk_west_productid;
l_CombinedP(cpdIdx).fk_west_subproductid :=
l_RawData(i).fk_west_subproductid;
l_CombinedP(cpdIdx).fk_west_bookingau := NULL;
IF l_RawData(i).fk_westprireltnshpmanagerempau IS NOT NULL OR l_RawData(i).fk_westprireltnshpmanagerempau <> '0' THEN
l_CombinedP(cpdIdx).fk_westprireltnshpmanagerempau :=
lpad(l_RawData(i).fk_westprireltnshpmanagerempau,7,'0'); ---->751 task
ELSE
l_CombinedP(cpdIdx).fk_westprireltnshpmanagerempau := NULL;
END IF;
l_CombinedP(cpdIdx).combinedprofitdataid := l_RawData(i).combinedprofitdataid; ---SYS_GUID();
l_CombinedP(cpdIdx).exportsource := l_RawData(i).exportsource;
l_CombinedP(cpdIdx).exportsourcetype := l_RawData(i).exportsourcetype;
l_CombinedP(cpdIdx).fk_exportsourceid := l_RawData(i).exportsourceid;
l_CombinedP(cpdIdx).endofmonthdate := l_RawData(i).endofmonthdate;
l_CombinedP(cpdIdx).account := l_RawData(i).account;
l_CombinedP(cpdIdx).westaccount := l_RawData(i).westaccount;
IF l_RawData(i).westaccount IS NOT NULL
THEN
l_CombinedP(cpdIdx).iseastaccountconvertedtowest := 'Y';
END IF;
BEGIN
SELECT customer.WEST_BE_ID,
linkage.parent_id,
linkage.top_parent_id
INTO l_CombinedP(cpdIdx).fk_west_be_id,
l_CombinedP(cpdIdx).fk_west_ber_id,
l_CombinedP(cpdIdx).fk_west_hlber_id
FROM SNAP_STOBEX_BE_BER_LINKAGE linkage,
T_EastToWest customer
WHERE customer.east_customerid = l_RawData(i).fk_customerid
AND customer.east_accountid = NVL(l_RawData(i).westaccount,l_RawData(i).account)
AND linkage.entity_id(+) = customer.west_be_id
AND linkage.entity_type(+) = 'BE'
AND ROWNUM = 1;
EXCEPTION
WHEN NO_DATA_FOUND THEN
BEGIN
SELECT customer.WEST_BE_ID,
linkage.parent_id,
linkage.top_parent_id
INTO l_CombinedP(cpdIdx).fk_west_be_id,
l_CombinedP(cpdIdx).fk_west_ber_id,
l_CombinedP(cpdIdx).fk_west_hlber_id
FROM SNAP_STOBEX_BE_BER_LINKAGE linkage,
T_EastToWest customer
WHERE customer.east_customerid = l_RawData(i).fk_customerid
AND customer.east_accountid = l_RawData(i).account
AND linkage.entity_id(+) = customer.west_be_id
AND linkage.entity_type(+) = 'BE'
AND ROWNUM = 1;
EXCEPTION
WHEN OTHERS THEN
l_CombinedP(cpdIdx).fk_west_be_id := NULL;
l_CombinedP(cpdIdx).fk_west_ber_id := NULL;
l_CombinedP(cpdIdx).fk_west_hlber_id := NULL;
END;
WHEN OTHERS THEN
l_CombinedP(cpdIdx).fk_west_be_id := NULL;
l_CombinedP(cpdIdx).fk_west_ber_id := NULL;
l_CombinedP(cpdIdx).fk_west_hlber_id := NULL;
END;
l_fnd_combinedprofitdataid := NULL;
BEGIN
SELECT COMBINEDPROFITDATAID
INTO l_fnd_combinedprofitdataid
FROM T_WIS_CDS_COMBINEDPROFITDATA cpd
WHERE cpd.fk_west_be_id = l_CombinedP(cpdIdx).fk_west_be_id
AND cpd.fk_west_productgroupid = l_CombinedP(cpdIdx).fk_west_productgroupid
AND cpd.fk_west_productid = l_CombinedP(cpdIdx).fk_west_productid
AND cpd.fk_west_subproductid = l_CombinedP(cpdIdx).fk_west_subproductid
AND extract(month from cpd.endofmonthdate) = extract(month from l_CombinedP(cpdIdx).endofmonthdate)
AND extract(year from cpd.endofmonthdate) = extract(year from l_CombinedP(cpdIdx).endofmonthdate)
AND cpd.revenue BETWEEN l_CombinedP(cpdIdx).revenue - 10.00 AND l_CombinedP(cpdIdx).revenue + 10.00
AND cpd.exportsource <> 'CP'
AND ROWNUM = 1;
EXCEPTION
WHEN NO_DATA_FOUND THEN
l_fnd_combinedprofitdataid := NULL;
WHEN OTHERS THEN
l_fnd_combinedprofitdataid := NULL;
END;
IF l_fnd_combinedprofitdataid IS NOT NULL THEN
l_CombinedP(cpdIdx).isduplicate := 'Y';
l_CombinedP(cpdIdx).fk_duplicatecpdid := l_fnd_combinedprofitdataid;
ELSE
l_CombinedP(cpdIdx).isduplicate := 'N';
l_CombinedP(cpdIdx).fk_duplicatecpdid := NULL;
END IF;
l_CombinedP(cpdIdx).iserror := 'N';
l_CombinedP(cpdIdx).errormessage := NULL;
IF l_CombinedP(cpdIdx).FK_WESTPRIRELTNSHPMANAGEREMPAU IS NULL AND l_CombinedP(cpdIdx).ENTITY_FK_WESTPRIRELMANEMPAU IS NOT NULL THEN
l_CombinedP(cpdIdx).iserror := 'Y';
IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('FK_WESTPRIRELTNSHPMANAGEREMPAU is NULL but Entity value exists. ')) < 250 THEN
l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'FK_WESTPRIRELTNSHPMANAGEREMPAU is NULL but Entity value exists. ';
END IF;
END IF;
IF l_CombinedP(cpdIdx).fk_westprireltnshpmanagerempid IS NULL AND
l_RawData(i).primaryrelationshipmanagerid IS NOT NULL THEN
l_CombinedP(cpdIdx).iserror := 'Y';
IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Missing CP RM/EMP ID translation. ')) < 250 THEN
l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Missing CP RM/EMP ID translation. ';
END IF;
ELSE
vcHREmpExists := l_RawData(i).HREmpExists;
IF vcHREmpExists <> 'Y' THEN
l_CombinedP(cpdIdx).iserror := 'Y';
IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Invalid CP RM/Emp ID translation. ')) < 250 THEN
l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Invalid CP RM/Emp ID translation. ';
END IF;
END IF;
END IF;
IF l_CombinedP(cpdIdx).fk_westprireltnshpmanagerempau IS NULL AND
l_RawData(i).primaryrelationshipmanagerau IS NOT NULL THEN
l_CombinedP(cpdIdx).iserror := 'Y';
IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Missing CP RM/EMP AU reference. ')) < 250 THEN
l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Missing CP RM/EMP AU reference. ';
END IF;
END IF;
vcPriRelManEmpAuExists := l_RawData(i).PriRelManEmpAuExists;
IF vcBookingAuExists <> 'Y' THEN
l_CombinedP(cpdIdx).iserror := 'Y';
IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Invalid CP RM/Emp AU translation. ')) < 250 THEN
l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Invalid CP RM/Emp AU translation. ';
END IF;
END IF;
IF l_CombinedP(cpdIdx).fk_west_productgroupid IS NULL THEN
l_CombinedP(cpdIdx).iserror := 'Y';
IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Missing CP Product Group translation. ')) < 250 THEN
l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Missing CP Product Group translation. ';
END IF;
ELSE
vcProductGroupExists := l_RawData(i).ProductGroupExists;
IF vcProductGroupExists <> 'Y' THEN
l_CombinedP(cpdIdx).iserror := 'Y';
IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Invalid CP Product Group translation. ')) < 250 THEN
l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Invalid CP Product Group translation. ';
END IF;
END IF;
END IF;
IF l_CombinedP(cpdIdx).fk_west_productid IS NOT NULL THEN
vcProductIdExists := l_RawData(i).ProductIdExists;
IF vcProductGroupExists <> 'Y' THEN
l_CombinedP(cpdIdx).iserror := 'Y';
IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Invalid CP Product translation. ')) < 250 THEN
l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Invalid CP Product translation. ';
END IF;
END IF;
END IF;
IF l_CombinedP(cpdIdx).fk_west_subproductid IS NOT NULL THEN
vcSubProductIdExists := l_RawData(i).SubProductIdExists;
IF vcSubProductIdExists <> 'Y' THEN
l_CombinedP(cpdIdx).iserror := 'Y';
IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Invalid CP Sub Product translation. ')) < 250 THEN
l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Invalid CP Sub Product translation. ';
END IF;
END IF;
END IF;
IF l_CombinedP(cpdIdx).fk_west_be_id IS NULL THEN
l_CombinedP(cpdIdx).iserror := 'Y';
IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Missing CP BE ID translation. ')) < 250 THEN
l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Missing CP BE ID translation. ';
END IF;
ELSE
vcBEIDExists := BEIDExists(l_CombinedP(cpdIdx).fk_west_be_id);
IF vcBEIDExists <> 'Y' THEN
l_CombinedP(cpdIdx).iserror := 'Y';
IF (LENGTH(NVL(l_CombinedP(cpdIdx).errormessage,0))+LENGTH('Invalid CP BE ID translation. ')) < 250 THEN
l_CombinedP(cpdIdx).errormessage := l_CombinedP(cpdIdx).errormessage||'Invalid CP BE ID translation. ';
END IF;
END IF;
END IF;
END LOOP;
FORALL i in l_CombinedP.FIRST..l_CombinedP.LAST
INSERT INTO T_WIS_CDS_COMBINEDPROFITDATA
VALUES l_CombinedP(i);
COMMIT;
END LOOP;
CLOSE curRawData;
COMMIT;
EXCEPTION
WHEN OTHERS THEN
IF curRawData%ISOPEN THEN
CLOSE curRawData;
END IF;
P_WIS_CDS.LOG('Error', SQLCODE, SQLERRM);
END;
/Thank youI just looked at all the ddls' i have the following syntax for all MV's
CREATE MATERIALIZED VIEW WIS.SNAP_MAX_ENTITY
TABLESPACE WIS_CDS_DATA01
PCTUSED 0
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE (
INITIAL 80K
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
BUFFER_POOL DEFAULT
NOCACHE
LOGGING
NOCOMPRESS
NOPARALLEL
BUILD IMMEDIATE
USING INDEX
TABLESPACE WIS_DATA01
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE (
INITIAL 80K
NEXT 80K
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
FREELISTS 1
FREELIST GROUPS 1
BUFFER_POOL DEFAULT
REFRESH FORCE ON DEMAND
WITH PRIMARY KEYEdited by: vijayp on Aug 7, 2012 6:44 PM
Edited by: vijayp on Aug 7, 2012 7:02 PM -
ORA-01722: invalid number error with Bulk collect
Hi ,
I have been using the script to delete old seasonal data from my application DB tables. The stored procedure has been created successfully but when i try to run the proc it has been throwing 'ORA-01722: invalid number' exception at line 'FETCH C1_CUR BULK COLLECT INTO C1_TYPE_VAR LIMIT v_bulklimit;'.
Could you please help me here?
Below is the stored proc:
CREATE OR REPLACE PROCEDURE clean_old_season_data(P_SEASON VARCHAR2) AS
CURSOR C1_CUR IS SELECT ROWID RID,pro.* FROM PROPS pro where pro.ITEMPK IN
(SELECT sve.pk FROM SAVEDVALUEENTRY sve WHERE sve.p_parent IN
(SELECT s.pk FROM SAVEDVALUES s WHERE s.P_MODIFIEDITEM IN
(SELECT a.PK
FROM products a
WHERE a.p_season IN (select s.pk from Seasons s where s.P_code=P_SEASON)
) ) ) and rownum<5;
CURSOR C2_DEL IS SELECT RID FROM PROPS_HISTORY;
TYPE C1_TYPE IS TABLE OF C1_CUR%ROWTYPE;
C1_TYPE_VAR C1_TYPE;
TYPE C2_TYPE IS TABLE OF UROWID;
C2_TYPE_VAR C2_TYPE;
ex_dml_errors EXCEPTION;
PRAGMA EXCEPTION_INIT(ex_dml_errors, -24381);
l_error_count NUMBER;
err_num NUMBER;
err_msg VARCHAR2 (300);
COMMIT_VARIABLE PLS_INTEGER:=0;
v_bulklimit NUMBER:=2;
BEGIN
/*------------------ Data Selection and INSERTION IN HISTORY TABLE ---------------------------------------*/
OPEN C1_CUR;
LOOP
DBMS_OUTPUT.put_line('Cursor opend now in loop');
FETCH C1_CUR BULK COLLECT INTO C1_TYPE_VAR LIMIT v_bulklimit;//ERROR OCCURS HERE
DBMS_OUTPUT.put_line('Cursor count is'|| C1_TYPE_VAR.COUNT);
FORALL I IN 1..C1_TYPE_VAR.COUNT SAVE EXCEPTIONS
INSERT INTO PROPS_HISTORY VALUES C1_TYPE_VAR(I);
COMMIT_VARIABLE := COMMIT_VARIABLE + v_bulklimit;
DBMS_OUTPUT.put_line('Commit variable'|| COMMIT_VARIABLE.COUNT);
IF COMMIT_VARIABLE = v_bulklimit THEN
COMMIT;
COMMIT_VARIABLE := 0;
END IF;
EXIT WHEN C1_CUR%NOTFOUND;
END LOOP;
DBMS_OUTPUT.put_line('Cursor closed now in loop and data inserted in history table');
CLOSE C1_CUR;
/*------------------ Data Selection and DELETION IN Live TABLE ---------------------------------------*/
COMMIT_VARIABLE := 0;
OPEN C2_DEL;
LOOP
FETCH C2_DEL BULK COLLECT INTO C2_TYPE_VAR LIMIT 2;
FORALL I IN 1..C2_TYPE_VAR.COUNT SAVE EXCEPTIONS
DELETE FROM PROPS WHERE ROWID = C2_TYPE_VAR(I);
COMMIT_VARIABLE := COMMIT_VARIABLE + 2;
IF COMMIT_VARIABLE = 2 THEN
COMMIT;
COMMIT_VARIABLE := 0;
END IF;
EXIT WHEN C2_DEL%NOTFOUND;
END LOOP;
CLOSE C2_DEL;
END;Although there are many things which should not have been done in the posted code, I could not find any reason why the Invalid number error should occur at the Fetch clause.
I would suggest you to Insert into Table by providing the Order of Columns i.e. Insert into table (col1, ... colN) values (coll(i).col1...col(i).colN);
I tested below code and it did not give any errors.
drop table test_table;
create table test_Table
rid varchar2(100),
emp_id number(5),
fname varchar2(20),
lname varchar2(50)
set serveroutput on;
declare
cursor c_cur is
select rowid rid, e.*
from employees e
where rownum < 10;
type typ_cur is table of c_cur%rowtype;
typ typ_cur;
l_bulk_limit number := 5;
begin
open c_cur;
loop
fetch c_cur bulk collect into typ limit l_bulk_limit;
dbms_output.put_line('Collection Count :: ' || typ.count);
forall i in 1..typ.count --typ.first..typ.last
insert into test_Table (rid, emp_id, fname, lname) values (typ(i).rid,typ(i).employee_id,typ(i).first_name,typ(i).last_name);
dbms_output.put_line('Processed ' || l_bulk_limit || ' records.');
exit when c_cur%notfound;
end loop;
commit;
end;
select * from test_table;PS:- 1. When you are processing only 4 Records, then why are you breaking them in 2 Loops?
2. Why Commit every time you are processing a DML? Why not maintain an Error Flag and Rollback the Transaction as soon as error is encountered?
3. Use "{code}" (Exclude Double Quotes) to format the code. I am not sure if works.
Regards,
P. -
Local Domain Index query fails with ora-01410: invalid rowid
Hello!
I have a task to implement partitioned domain index for range partitioned table.
As I understood from reference http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28425/dom_idx.htm
the main difference is to provide support for partitioning operations by
implementing corresponding ODCI interface functions.
For the first I decided to create something simple to not spend time on system partitioned
index storage table. My problem is that domain index works correctly when it's created without
support for partitioning and produces "*ORA-01410: INVALID ROWID*" when it's created
with LOCAL option.
Test query:
SELECT /* +index(from_sample_index) */ * FROM index_in_partitioned_tbl WHERE position_between(card_no) < 50 ORDER BY card_no DESC;
Index creared in this way returns 3 rows:
CREATE INDEX from_sample_index ON index_in_partitioned_tbl (card_no) INDEXTYPE IS position_indextype;
When index has been creared with LOCAL option I got "ORA-01410: INVALID ROWID" :
CREATE INDEX from_sample_index ON index_in_partitioned_tbl (card_no) INDEXTYPE IS position_indextype LOCAL;
I don't post implementation's source code to reduce amount of text in post. It works for global index.
If I copy rowid from index storage table and then put it into something like
SELECT card_no FROM index_in_partitioned_tbl WHERE rowid = 'AAAXHGAAEAAAFERAAh';
then it will be executed successfully without any errors.
I suppose the error could be somehow linked with "alter index" calls that Oracle makes when local domain index is created.
The calls are made with option "AlterIndexRebuild" - possibly they mark index as invalid (though it's shown as valid in SQL Developer)Solved :)
when index is LOCAL calls for ODCIINDEXSTART - ODCIINDEXFETCH - ODCIINDEXCLOSE are executed for each partition of base table.
In my case ODCIINDEXFETCH returns row_id's regardless of partition that are currently scanned for values. So first call returned rowid values for all partitions not only for the first partition and validation failed with "ora-01410: invalid rowid" -
Raise Form_Trigger_Failure on When-Button-Pressed ORA-01410 Invalid RowID
Hello to all...
I have an error whit Raise Form_Trigger_Failure on trigger When-Button-Pressed.
I guess the error is when does the Raise Form_Trigger_Failure
When validate something, this validation ask me if i want to continue.
When i answer NO, give me this error: ORA-01410 Invalid RowID
If i answer YES, the process continue and in an unexpected moment, give that error too
Why give me that error?
How can i resolve this error...help me
thanks...
Part of Code
FOR i IN 1..TItemsAsi1.LAST LOOP
IF TItemsAsi1(i).c_error IS NOT NULL THEN
l_error := l_error + 1;
IF TItemsAsi1(i).c_error = 'ND' THEN
IF NOT Fpa_mensaje.disp_consulta_sino('Atención','No hay datos suficientes para generar Asiento de cierre relacionado a Reconocimiento de los recursos del ejercicio') THEN
RAISE FORM_TRIGGER_FAILURE;
END IF ; ELSIF TItemsAsi1(i).c_error = 'AD' THEN
IF NOT Fpa_mensaje.disp_consulta_sino('Atención','Hay cuentas Acreedoras con saldo Deudor CUENTA: '||TItemsAsi1(i).c_cuenta||'. ¿Desea continuar con el cierre? ') THEN
RAISE FORM_TRIGGER_FAILURE;
END IF ; ELSIF TItemsAsi1(i).c_error = 'DA' THEN
IF NOT Fpa_mensaje.disp_consulta_sino('Atención','Hay cuentas Deudoras con saldo Acreedor CUENTA:'||TItemsAsi1(i).c_cuenta||'. ¿Desea continuar con el cierre? ') THEN
RAISE FORM_TRIGGER_FAILURE;
END IF ; END IF;END IF;END LOOP;delete from <table> where rowid like '<block id>%'Arrgh. To be honest, this is the worst sql-statement i have seen this year. i hope the statement will raise an error on execution, but even if it would get executed, what should be the reason for something like this? Delete anything which is stored in a specific block, regardless of the meaning ?
-
ORA-01410: invalid ROWID, when procedure is executed
Hi,
I am using Oracle 10g 10.2.0.3 on linux 64 bit
I am getting following error
ORA-12012: error on auto execute of job 17069
ORA-01410: invalid ROWID
ORA-06512: at "t1.DR1", line 12
ORA-06512: at line 1
t1 is the schema and DR1 is the procedure run every hour
Error in Alert log showing thirce time.
Following is the content of procedure
create or replace procedure t1.dr1
is
CURSOR CS1
IS
select * FROM t1.V_TL_DR1;
begin
FOR CURRENT_RECORD IN CS1
LOOP
begin
insert into t1.tr_dr1
values
(t1.tr_dr1_seq.nextval,CURRENT_RECORD.uuid,default,'ANY',DEFAULT,NULL,NULL,NULL,null);
if CURRENT_RECORD.dv_code in('SD1','SD2') then
INSERT INTO t1.dr1_writer
values
(t1.dr1_writer_feed_seq.nextval,CURRENT_RECORD.uuid,'OP1',DEFAULT,NULL,DEFAULT,NULL,null,DEFAULT,NULL);
else
INSERT INTO t1.dr1_writer
values
(t1.dr1_writer_feed_seq.nextval,CURRENT_RECORD.uuid,'OP2',DEFAULT,NULL,DEFAULT,NULL,null,DEFAULT,NULL);
end if;
exception
WHEN DUP_VAL_ON_INDEX then
dbms_output.put_line('IT IS NOT ALLOWED TO DUPLICATE');
end;
END LOOP;
end;
t1.V_TL_DR1 IS a view which has two columns uuid and dv_code
Could any one tell me that, is it something to do with above procedureCREATE OR REPLACE VIEW t1.V_TL_DR1 AS
select distinct ap.uuid uuid,ap.adv_code adv_code
from
(select alj.app_uid app_uid,alj.stages_uid stages_uid
,max(rate_AB) RATE_AB
,max(rate_Ac) RATE_AC
,max(rate_AD) RATE_AD
,MAX(CREATED) CREATED
from t1.aof alj, (select max(uuid) uuid,max(in_name) in_name from t1.stages where stage=50 group by app_uid) st2
where alj.stages_uid=st2.uuid
group by alj.app_uid,alj.stages_uid) alj
,t1.app ap
,t1.app_user appu
,(select * from t1.app_applicant where joint='P') applicants
WHERE
alj.app_uid=ap.uuid
and ap.user_uid=appu.uuid
and ap.uuid=applicants.app_uid(+)
and alj.created between systimestamp-(30/1440) and systimestamp-(10/1440)
and ap.app_status='N'
and
(RATE_AB is not null and RATE_AB<>0)
OR (RATE_AC not null and RATE_AC<>0)
OR (RATE_AD is not null and RATE_AD<>0 and applicants.residential_status not in('T','U'))
and appu.role='WEB'
and ap.created between systimestamp-90 and systimestamp
and ap.adv_code not in('UP1','UP2','UP3','UP4')Edited by: user605066 on 21-Feb-2011 02:32
Edited by: user605066 on 21-Feb-2011 02:35 -
How prevent invalid rowid / table damage?
In a table X with 5,000,000 records, and 100,000 dml sentences per day, how can I prevent table damage?
In last 2 weeks this table X was recovered two times, because it showed INVALID ROWID in a SELECT sentence wirth VALID indexes status.
Recreate table didn't worksAlso - is the error coming back on index retreived select. If so you could try rebuilding the index. Although I would think an index corruption would give alert log errors. Have you check the alert log?
-
Youtube Facebook Google etc, Invalid URL error
For many years now I've been putting up with a CONSTANT lingering problem with my Mac OS. These (on a very regular basis) irritating, "Invalid URL" errors.
The picture that you see below is an example of my problem. This example of a Youtube video giving me an error is from a recent article on www.macrumors.com.
Where the youtube video is supposed to be is just an Error. And as I scrolled down the page, all of the subsequent youtube videos had this same error.
So I went to youtube. After typing in the web address, I get the same error except that it fills the entire screen.
After about 20 minutes (of constant screen refreshes and data dumps within safari) the youtube videos finally loaded as if nothing was wrong (as you can see in the second photo).
Sometimes this problems lasts for 10 seconds. But normally it can take between 10 minutes to an hour to begin working again.
The other two websites that give me this same trouble is Google.com and Facebook.com. But Facebook being the most notorious. Not just because my actual facebook page won't load, but because of all of the news sites that load facebook garbage and coding searching for facebook. When the facebook ip address cannot be resolved, these annoying error pop-ups begin bombarding my screen. One minute facebook will work, and I'm reading down the newfeed, then all of the sudden nothing new will load. When I try to refresh the page, I get an error stating that it cannot load the page. Then I just have to wait.
As you can see from the picture below, Sometimes facebook just gives me an error that states, "Safari cannot open the page Facebook.com because Safari cannot establish a secure connection to the facebook server."
This happens EVERY single day. It's really just a crap-shoot whether or not I will be able to get onto Facebook.
Youtube is a little less often (usually happening about 3 or 4 times per week).
Google got so bad that I finally had to change my search provider to Bing, because Google almost never worked.
Has anyone else experienced these problems on their MAC?
I ask because I have 3 MAC computers. 2 Laptops and a MacPro tower.
And EVERY single one has this same problem.
This wasn't such a big deal; ie something I learned to live with... Up until I bought my wife (and Windows Vista convert) her new Macbook Air. And within an hour of booting that thing up for the first time, her Facebook errored out. And has done it pretty consistantly every day, at least twice, since then.
If anyone else has this problem, how did you fix it????????Here are the results:
I hope someone can make heads or tails out of this.
And please keep in mind that in the past I have completely wiped and reinstalled after reformatting and within an hour or 2 I get the same errors on the these websites.
Start time: 23:05:23 06/15/14
Model Identifier: MacBookPro5,5
System Version: OS X 10.9.3 (13D65)
Kernel Version: Darwin 13.2.0
Boot Mode: Normal
Time since boot: 49 minutes
FileVault: FileVault master keychain appears to be installed
Diagnostic reports
2014-05-19 UserEventAgent crash
2014-05-23 qmasterqd crash
2014-05-26 qmasterqd crash
2014-06-02 DivX Player crash
2014-06-02 PluginProcess crash
2014-06-02 com.apple.WebKit.WebContent crash
2014-06-02 com.apple.WebKit.WebContent crash
2014-06-02 com.apple.WebKit.WebContent crash
Log
Jun 13 01:43:18 AFP_VFS afpfs_dead: called on vfsid 4
Jun 13 01:43:18 ASP_TCP CancelPendingReqsWithID : Adding the invalid vfsid 4 and counter is 0 to the list
Jun 13 01:43:18 ASP_TCP CancelOneRequest: cancelling slot 15 error 89 reqID 2801 flags 0x29 afpCmd 0x45 so 0xffffff801586fca0
Jun 13 01:43:18 ASP_TCP CancelOneRequest: cancelling slot 16 error 89 reqID 2802 flags 0x29 afpCmd 0x22 so 0xffffff801586fca0
Jun 13 01:43:18 ASP_TCP CancelOneRequest: cancelling slot 17 error 89 reqID 2803 flags 0x29 afpCmd 0x22 so 0xffffff801586fca0
Jun 13 01:43:18 ASP_TCP CancelOneRequest: cancelling slot 18 error 89 reqID 2804 flags 0x29 afpCmd 0x22 so 0xffffff801586fca0
Jun 13 22:40:53 AFP_VFS afpfs_DoReconnect: Max reconnect time: 30 secs, Connect timeout: 15 secs for /Volumes/Storagedisk_6_1TB
Jun 13 22:41:28 AFP_VFS afpfs_dead: called on vfsid 3
Jun 13 22:41:28 ASP_TCP CancelPendingReqsWithID : Adding the invalid vfsid 3 and counter is 0 to the list
Jun 13 22:41:28 ASP_TCP CancelOneRequest: cancelling slot 20 error 89 reqID 10889 flags 0x29 afpCmd 0x22 so 0xffffff802230a058
Jun 13 22:41:28 ASP_TCP CancelOneRequest: cancelling slot 21 error 89 reqID 10890 flags 0x29 afpCmd 0x22 so 0xffffff802230a058
Jun 13 23:26:04 process Preview[95635] caught causing excessive wakeups. Observed wakeups rate (per sec): 744; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45020
Jun 14 00:16:15 process Preview[2207] caught causing excessive wakeups. Observed wakeups rate (per sec): 2593; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45020
Jun 14 00:17:23 process Preview[2339] caught causing excessive wakeups. Observed wakeups rate (per sec): 1991; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45210
Jun 14 02:45:19 process QuickLookUIHelpe[4321] caught causing excessive wakeups. Observed wakeups rate (per sec): 189; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45586
Jun 15 00:44:53 msdosfs_fat_uninit_vol: error 6 from msdosfs_fat_cache_flush
Jun 15 00:46:08 jnl: disk3s1: replay_journal: from: 283136 to: 1024512 (joffset 0x7a000)
Jun 15 00:46:12 jnl: disk3s1: journal replay done.
Jun 15 01:37:24 jnl: disk3s1: do_jnl_io: strategy err 0x6
Jun 15 01:37:24 jnl: disk3s1: write_journal_header: error writing the journal header!
Jun 15 01:37:24 jnl: disk3s1: close: journal 0xffffff8013ac5c20, is invalid. aborting outstanding transactions
Jun 15 01:37:26 jnl: disk3s1: replay_journal: from: 367616 to: 1361408 (joffset 0x3f000)
Jun 15 01:37:27 jnl: disk3s1: journal replay done.
Jun 15 10:33:57 process qmastercc[163] caught causing excessive wakeups. Observed wakeups rate (per sec): 1016; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 59722
Jun 15 22:20:37 process smcFanControl[246] caught causing excessive wakeups. Observed wakeups rate (per sec): 324; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 46105
kexts
com.squirrels.airparrot.framebuffer (3)
Daemons
org.macosforge.xquartz.privileged_startx
com.oracle.java.Helper-Tool
com.microsoft.office.licensing.helper
com.google.keystone.daemon
com.adobe.fpsaud
Agents
org.macosforge.xquartz.startx
com.oracle.java.Java-Updater
com.hp.help.tocgenerator
com.google.keystone.system.agent
com.divx.update.agent
com.divx.dms.agent
org.w0lf.cDock
com.adobe.ARM.UUID
launchd
/System/Library/LaunchAgents/com.apple.AirPortBaseStationAgent.plist
(com.apple.AirPortBaseStationAgent)
/Library/LaunchAgents/com.divx.dms.agent.plist
(com.divx.dms.agent)
/Library/LaunchAgents/com.divx.update.agent.plist
(com.divx.update.agent)
/Library/LaunchAgents/com.google.keystone.agent.plist
(com.google.keystone.system.agent)
/Library/LaunchAgents/com.hp.help.tocgenerator.plist
(com.hp.help.tocgenerator)
/Library/LaunchAgents/com.oracle.java.Java-Updater.plist
(com.oracle.java.Java-Updater)
/Library/LaunchAgents/org.macosforge.xquartz.startx.plist
(org.macosforge.xquartz.startx)
/Library/LaunchDaemons/com.adobe.fpsaud.plist
(com.adobe.fpsaud)
/Library/LaunchDaemons/com.apple.aelwriter.plist
(com.apple.aelwriter)
/Library/LaunchDaemons/com.google.keystone.daemon.plist
(com.google.keystone.daemon)
/Library/LaunchDaemons/com.microsoft.office.licensing.helper.plist
(com.microsoft.office.licensing.helper)
/Library/LaunchDaemons/com.oracle.java.Helper-Tool.plist
(com.oracle.java.Helper-Tool)
/Library/LaunchDaemons/org.macosforge.xquartz.privileged_startx.plist
(org.macosforge.xquartz.privileged_startx)
Library/LaunchAgents/com.adobe.ARM.UUID.plist
(com.adobe.ARM.UUID)
Library/LaunchAgents/com.apple.AddressBook.ScheduledSync.PHXCardDAVSource.UUID. plist
(com.apple.AddressBook.ScheduledSync.PHXCardDAVSource.UUID)
Library/LaunchAgents/org.w0lf.cDock.plist
(org.w0lf.cDock)
Bundles
/System/Library/Extensions/APExtFramebuffer.kext
(com.squirrels.airparrot.framebuffer)
/System/Library/Extensions/hpPlugInInit.kext
(com.hp.scanner.PlugInInit)
/System/Library/Extensions/hpPlugInInit.kext/Contents/Resources
(com.hp.scanner.PlugInInit)
/System/Library/Extensions/ssuddrv.kext
(com.devguru.driver.SamsungComposite)
/Library/Audio/Plug-Ins/Components/Ambience.component
(com.smartelectronix.magnus.Ambience)
/Library/Audio/Plug-Ins/Components/ARIA Player AU.component
(N/A)
/Library/Audio/Plug-Ins/Components/SmartMusicSoftSynth.component
(com.makemusic.audiounit.smartmusicsoftsynth)
/Library/Audio/Plug-Ins/VST/ARIA Player VST Multi.vst
(N/A)
/Library/Audio/Plug-Ins/VST/ARIA Player VST.vst
(N/A)
/Library/Internet Plug-Ins/DivX Web Player.plugin
(com.divx.DivXWebPlayer)
/Library/Internet Plug-Ins/Flash Player.plugin
(N/A)
/Library/Internet Plug-Ins/googletalkbrowserplugin.plugin
(com.google.googletalkbrowserplugin)
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin
(com.oracle.java.JavaAppletPlugin)
/Library/Internet Plug-Ins/o1dbrowserplugin.plugin
(com.google.o1dbrowserplugin)
/Library/Internet Plug-Ins/OVSHelper.plugin
(com.divx.OVSHelper)
/Library/Internet Plug-Ins/SharePointBrowserPlugin.plugin
(com.microsoft.sharepoint.browserplugin)
/Library/Internet Plug-Ins/SharePointWebKitPlugin.webplugin
(com.microsoft.sharepoint.webkitplugin)
/Library/Internet Plug-Ins/Silverlight.plugin
(com.microsoft.SilverlightPlugin)
/Library/Internet Plug-Ins/SurveillanceClient.plugin
(com.boxdeng.xvmsplugin)
/Library/PreferencePanes/Flash Player.prefPane
(com.adobe.flashplayerpreferences)
/Library/PreferencePanes/HP Scanjet.prefPane
(com.hp.scanjet.prefs)
/Library/PreferencePanes/JavaControlPanel.prefPane
(com.oracle.java.JavaControlPanel)
/Library/QuickTime/CanonMJPEGAVI.component
(jp.co.canon.MJPEGAVIExporter)
/Library/QuickTime/CanonMJPEGAVIDec.component
(jp.co.canon.CanonMJPEGAVIDec)
/Library/QuickTime/CanonText.component
(jp.co.canon.Text)
/Library/Spotlight/Finale.mdimporter
(com.makemusic.MDImporter.Finale)
Library/Address Book Plug-Ins/SkypeABDialer.bundle
(com.skype.skypeabdialer)
Library/Address Book Plug-Ins/SkypeABSMS.bundle
(com.skype.skypeabsms)
Library/Caches/com.apple.Safari/Extensions/AdBlock.safariextension
(com.betafish.adblockforsafari)
Library/Caches/com.apple.Safari/Extensions/ExifExt.safariextension
(de.phriedrich.exifext)
Library/Caches/com.apple.Safari/Extensions/My eBay Manager-2.safariextension
(com.ebay.safari.myebaymanager)
Library/Caches/com.apple.Safari/Extensions/Social Fixer.safariextension
(com.socialfixer)
Library/Caches/com.apple.Safari/Extensions/Turn Off the Lights.safariextension
(com.stefanvd.turnoffthelights)
Library/Internet Plug-Ins/Google Earth Web Plug-in.plugin
(com.Google.GoogleEarthPlugin.plugin)
Library/Internet Plug-Ins/WebEx64.plugin
(com.cisco_webex.plugin.gpc64)
Library/ScriptingAdditions/EasySIMBL.osax
(com.github.norio-nomura.EasySIMBL.osax)
dylibs
/usr/lib/libdvdcss.2.dylib
Contents of /etc/ssh_config
Host *
SendEnv LANG LC_*
Host *
XAuthLocation /opt/X11/bin/xauth
Font issues: 41
Listeners
launchd: afpovertcp
launchd: microsoft-ds
launchd: ssh
kdc: kerberos
nfsd: 1023
rpc.statd: exp1
rpc.lockd: 1017
rpcbind: sunrpc
rpc.rquot: garcon
Wi-Fi
link auth: wpa-psk
User login items
iTunesHelper.app
smcFanControl
Auto Mute.app
SurplusMeterAgent.app
RightZoom.app
SpeechSynthesisServer.app
Hidden apps
.magicJack/Softphone/magicJack.app
.magicJack/Softphone/splash.app
Restricted files: 2584
Safari extensions
ExifExt
Turn Off the Lights
My eBay Manager
AdBlock
Social Fixer
Elapsed time (s): 387 -
Hello
Can anyone help me with an "Invalid Binary" error on my app.
Apple's response is:
Dear developer,
We have discovered one or more issues with your recent submission for "DPS Notes". To process your submission, the following issues must be corrected:
Missing 64-bit support - Beginning on February 1, 2015 new iOS apps submitted to the App Store must include 64-bit support and be built with the iOS 8 SDK. Beginning June 1, 2015 app updates will also need to follow the same requirements. To enable 64-bit in your project, we recommend using the default Xcode build setting of “Standard architectures” to build a single binary with both 32-bit and 64-bit code.
Once these issues have been corrected, use Xcode or Application Loader to upload a new binary to iTunes Connect. Choose the new binary on the app’s Details page in My Apps on iTunes Connect, and click Submit for Review.
Regards,
The App Store team
Can someone from the Adobe DPS team let me know how I can recreate the .ipa file so that it will meet Apple's requirements.
They seem to have moved the goalposts since I created the original .ipa file in December. I thought I'd submitted it, just went back through iTunes Connect to check info as I hadn't heard anything from them, then hit this brick wall. Any help offered would be much appreciated.
Thanks
RebeccaHi
I've Updated App Builder, gone back to the DPS App Builder portal, regenerated new zip and ipa files and downloaded them.
I clicked the Application Loader 3.0 link, downloaded the latest Appication Version, clicked on the "Deliver your App" button, and submitted the newly built App that was built using 32.4.2 version. (All the app icons were listed as "stored on server" so I presume they are all ok). The .zip file appeared to 'deliver' to Apple successfully. I've tried to resubmit it but get ta "Redundant Binary Upload. There already exists a binary upload with build version..." error message, so presume the orginal binary upload was successful. I have no idea how I can get this app from the "prepare for submission", to "in review". The last time I thought I'd submitted this app I got as far as the "waiting for review" status, and no further.
At the moment I don't have a"+" button in the Build section - as mentioned on page 66 of Adobe's Step_by_step_guide_to_dps_se.pdf.
So I can't add the new .zip file to the iTunes Connect > My Apps portal in the Build section of the Versions tab.
I have put a support email into Apple, but don't expect a reply any day soon.
The problem with starting all the way back through the App wizard is that I really want to use all the same App Name, Bundle ID, and details etc.
Do you mean, going back to the Folio Producer Panel, and building a whole new App?
This process certainly isn't for the faint-hearted!
HELP! -
Case When Statement and ORA:01722 Invalid number error
Hi folks, I have posted this under another heading as well under E-business suite so apologies if some you have already seen it but I would really appreciate some help on this one. Any suggestions are most welcome.
We are trying to put together a calculation that returns the number of days absent an individual has had in a given time period. We need to cater for those absences that started before the period and are closed during it, absence that start during the period and end after it, and those that open and close within it.
The period is always a rolling 6 months from sysdate.
This is the calc we have come up with so far which works for some people but we get the invalid number error if the absence includes a half day - so 0.5, 1.5,etc.
This is probably over complicated but we are not techie at all so are learning as we go!
We are using the HRMS - Administration - Oracle Human Resources (Core) business area in 10G and the Absence Attendance and Person folders.
SUM(TO_NUMBER(NVL(( CASE WHEN Absence Attendance.Actual Start Date < TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') THEN ( CASE WHEN Absence Attendance."Actual End Date" > SYSDATE THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),SYSDATE) ) ELSE ( CASE WHEN ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) END ) END ) END ) IS NULL THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),SYSDATE) ) ELSE ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) END ) END ) END ) END ) END ) ELSE ( CASE WHEN ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) END ) END ) END ) IS NULL THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),SYSDATE) ) ELSE ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( Absence Attendance.Duration Days ) END ) END ) END ) END ) END ),( DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") )),'999999990D00'))Hi,
It could be that this is because you are using SYSDATE which contains the time as a fraction rather than TRUNC(SYSDATE) which just contains the current time. It could be that your working_dates_between raises this error.
However, your formula is far more complicated than it needs to be.
Firstly, you want to look at the date window ADD_MONTHS(TRUNC(SYSDATE), -6) to TRUNC(SYSDATE). Then you want to look at the portion of the absence that falls in the date window. This is GREATEST(Absence Attendance.Actual Start Date, ADD_MONTHS(TRUNC(SYSDATE), -6)) to LEAST(NVL(Absence Attendance."Actual End Date",TRUNC(SYSDATE)), TRUNC(SYSDATE)). You may need to add 1 to the absence end date because this is the last day of their absence rather than the date they return. It depends how you calculate the days between the start and end
date of the absence. You can create calculations for the start and end date of the absences within the 6 months time window. Create calculation AbsenceStart as
GREATEST(Absence Attendance.Actual Start Date, ADD_MONTHS(TRUNC(SYSDATE), -6))
and AbsenceEnd as
LEAST(NVL(Absence Attendance."Actual End Date",TRUNC(SYSDATE)), TRUNC(SYSDATE))
Then you need to only pick up absence that a part of the absence in your 6 month date window. You can use a condition in the workbook or a condition in a case statement to do this. You then need to calculate the difference between these dates and SUM all the values.
SUM(CASE WHEN AbsenceEnd >= AbsenceStart THEN WORKING_DAYS_BETWEEN(AbsenceStart, AbsenceEnd) END)
That's it. Not so complicated after all.
Rod West -
Case When Statement and ORA:1722 Invalid number error
Sorry I posted this in the wrong forum - I have the answer now
Cheers
HELP!!!
We are trying to put together a calculation that returns the number of days absent an individual has had in a given time period. We need to cater for those absences that started before the period and are closed during it, absence that start during the period and end after it, and those that open and close within it.
The period is always a rolling 6 months from sysdate.
This is the calc we have come up with so far which works for some people but we get the invalid number error if the absence includes a half day - so 0.5, 1.5,etc.
This is probably over complicated but we are not Techie at all so are learning as we go! We are using the HRMS - Administration - Oracle Human Resources (Core) business area in 10G and the Absence Attendance and Person folders.
SUM(TO_NUMBER(NVL(( CASE WHEN Absence Attendance.Actual Start Date < TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') THEN ( CASE WHEN Absence Attendance."Actual End Date" > SYSDATE THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),SYSDATE) ) ELSE ( CASE WHEN ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) END ) END ) END ) IS NULL THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),SYSDATE) ) ELSE ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) END ) END ) END ) END ) END ) ELSE ( CASE WHEN ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) END ) END ) END ) IS NULL THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),SYSDATE) ) ELSE ( CASE WHEN TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY') >= Absence Attendance.Actual Start Date THEN ( WORKING_DAYS_BETWEEN(TO_DATE(ADD_MONTHS(SYSDATE,-6),'DD-Mon-YYYY'),Absence Attendance."Actual End Date") ) ELSE ( CASE WHEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") ) IS NULL THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( CASE WHEN SYSDATE <= Absence Attendance."Actual End Date" THEN ( WORKING_DAYS_BETWEEN(Absence Attendance.Actual Start Date,SYSDATE) ) ELSE ( Absence Attendance.Duration Days ) END ) END ) END ) END ) END ),( DAYS_BETWEEN(Absence Attendance.Actual Start Date,Absence Attendance."Actual End Date") )),'999999990D00'))
Edited by: CPearce on Sep 25, 2008 8:03 AMHi,
It could be that this is because you are using SYSDATE which contains the time as a fraction rather than TRUNC(SYSDATE) which just contains the current time. It could be that your working_dates_between raises this error.
However, your formula is far more complicated than it needs to be.
Firstly, you want to look at the date window ADD_MONTHS(TRUNC(SYSDATE), -6) to TRUNC(SYSDATE). Then you want to look at the portion of the absence that falls in the date window. This is GREATEST(Absence Attendance.Actual Start Date, ADD_MONTHS(TRUNC(SYSDATE), -6)) to LEAST(NVL(Absence Attendance."Actual End Date",TRUNC(SYSDATE)), TRUNC(SYSDATE)). You may need to add 1 to the absence end date because this is the last day of their absence rather than the date they return. It depends how you calculate the days between the start and end
date of the absence. You can create calculations for the start and end date of the absences within the 6 months time window. Create calculation AbsenceStart as
GREATEST(Absence Attendance.Actual Start Date, ADD_MONTHS(TRUNC(SYSDATE), -6))
and AbsenceEnd as
LEAST(NVL(Absence Attendance."Actual End Date",TRUNC(SYSDATE)), TRUNC(SYSDATE))
Then you need to only pick up absence that a part of the absence in your 6 month date window. You can use a condition in the workbook or a condition in a case statement to do this. You then need to calculate the difference between these dates and SUM all the values.
SUM(CASE WHEN AbsenceEnd >= AbsenceStart THEN WORKING_DAYS_BETWEEN(AbsenceStart, AbsenceEnd) END)
That's it. Not so complicated after all.
Rod West -
"Invalid Cursor" Error in Form
Hi,
I wrote a procedure that take a REF CURSOR as an IN OUT argument. This procedure does an "OPEN cursor FOR qry" with a dynamic query:
OPEN l_cursor FOR
'SELECT A '||
'FROM B '||
'WHERE C = :l_var'
USING myVar;After calling the procedure, I do a LOOP with FETCH.
It works well when I use it in SQL*Plus with DBMS_OUTPUT but it returns a "ORA-01001 invalid cursor" error in Forms.
Any help is welcome!
Regards,
Olivier.I found a solution on Metalink:
Note:170881.1
Note: 1007395.6
Olivier.
Maybe you are looking for
-
Address Book on laptop is corrupt: which settings need to be reset?
The Address Book on each of my 2 laptops is corrupt (i.e. the AB when opened quits unexpectedly, without giving much options other than Report to Apple, and quit). But the Contacts data on MobileMe (and on the iPhone) is correct. I'd like to delete a
-
How can we handle the flatfile having the '~' as delimmiter in LSMW?
Hi i have flat file which is having twenty fields which r seperated by '~' how we can handle it in LSMW thanks
-
What's the best way to...
What's the best way to remove footage and projects from my hard drive... I want to make sure I get rid of everything related to certain projects... Is there a step by step tutorial somewhere on how to remove projects and thier footage one by one? Tha
-
When I download the digital copy of the Hunger Games, it stops at 4.0GB and first returns an error code -1309 and then the code -50. Please help me complete the download. I have tried removing the .tmp folder and downloading it again, but each time i
-
Delete dimension/cube in Analytic Workspace
Hello, I've created some dimensions and cubes in an analytic workspace using DBMS_AW package. But, How can I delete these objects using a similar methodology? I have not found any procedure like CREATE_AWDIMENSION/CREATE_AWCUBE that helps me to delet