Error: InsteadOfInsert into View

I am getting this error:
ORA-20001: ORA-29532: Java call terminated by uncaught Java exception:
oracle.xml.sql.OracleXMLSQLException: Exception
'java.lang.IllegalArgumentException:Timestamp format must be yyyy-mm-dd
hh:mm:ss.fffffffff' encountered during processing ROW element 0All prior XML
row changes were rolled back. in the XML document.
Trying to insert this:
(xml)
<ROWSET>
     <ROW num="1">
          <OUT_ID>8879</OUT_ID>
          <OUT_STATUS>OPN</OUT_STATUS>
          <FIRST_RPT_TS>03/01/2002 13:06:41</FIRST_RPT_TS>
          <CUST_CNT>5</CUST_CNT>
          <O_CALL_CNT>0</O_CALL_CNT>
          <DEV_TYP>999</DEV_TYP>
          <ETOR_TS>03/01/2002 13:06:41</ETOR_TS>
          <TRBL_CD>BIG</TRBL_CD>
          <CIRCUIT>CT-100</CIRCUIT>
          <CREW>PIKE</CREW>
          <OPR_CMT>THIS IS A TEST COMMENT</OPR_CMT>     
          <TRANS>
               <TRANS_ITEM>
               <OUT_ID>8879</OUT_ID>
               <TRNFRMR_ID>011426065</TRNFRMR_ID>
               <INIT_TS>03/01/2002 13:06:41</INIT_TS>
               </TRANS_ITEM>
               <TRANS_ITEM>
               <OUT_ID>8877</OUT_ID>
               <TRNFRMR_ID>011426066</TRNFRMR_ID>
               <INIT_TS>03/01/2002 13:06:41</INIT_TS>
               </TRANS_ITEM>
          </TRANS>     
     </ROW>
</ROWSET>
into this view:
(outage_v)
MSGTYPE NUMBER
OUT_ID NOT NULL CHAR(32)
OUT_STATUS NOT NULL CHAR(3)
FIRST_RPT_TS NOT NULL DATE
CUST_CNT NUMBER(7)
O_CALL_CNT NUMBER(7)
DEV_TYP NUMBER(22)
END_TS DATE
ETOR_TS DATE
TRBL_CD NOT NULL VARCHAR2(64)
PO_DEV VARCHAR2(32)
CIRCUIT VARCHAR2(32)
CREW VARCHAR2(38)
OPR_CMT VARCHAR2(255)
TRANS TRANS_LIST
SELECT     0 AS MSGTYPE,
          O.OUT_ID,
          O.OUT_STATUS,
          O.FIRST_RPT_TS,
          O.CUST_CNT,
          O.O_CALL_CNT,
          O.DEV_TYP,
          O.END_TS,
          O.ETOR_TS,
          O.TRBL_CD,
          O.PO_DEV,
          O.CIRCUIT,
          O.CREW,
          O.OPR_CMT,
          CAST(MULTISET(SELECT
               OUT_ID,
               TRNFRMR_ID,
               INIT_TS
               FROM OMS.OUTAGE_TRANSFORMER OT
               WHERE OT.OUT_ID = O.OUT_ID) AS TRANS_LIST) TRANS
          FROM OMS.OUTAGE O
TABLES:
(OUTAGE)
OUT_ID NOT NULL CHAR(32)
OUT_STATUS NOT NULL CHAR(3)
FIRST_RPT_TS NOT NULL DATE
CUST_CNT NUMBER(7)
O_CALL_CNT NUMBER(7)
DEV_TYP NUMBER(22)
END_TS DATE
ETOR_TS DATE
TRBL_CD NOT NULL VARCHAR2(64)
PO_DEV VARCHAR2(32)
CIRCUIT VARCHAR2(32)
CREW VARCHAR2(38)
OPR_CMT VARCHAR2(255)
(OUTAGE_TRANSFORMER)
OUT_ID NOT NULL CHAR(32)
TRNFRMR_ID NOT NULL CHAR(32)
INIT_TS NOT NULL DATE
OBJECT TYPE:
(OUTAGE_TRANS_T)
OUT_ID CHAR(32)
TRNFRMR_ID CHAR(32)
INIT_TS DATE
CREATE OR REPLACE TYPE OUTAGE_TRANS_T AS OBJECT (
     OUT_ID CHAR(32),
     TRNFRMR_ID CHAR(32),
     INIT_TS DATE
CREATE TYPE "TRANS_LIST" AS
TABLE OF "OUTAGE_TRANS_T"
TRIGGER:
CREATE OR REPLACE TRIGGER instead_of_insert_on_Outage
INSTEAD OF INSERT ON OUTAGE_V
FOR EACH ROW
DECLARE
liOUTID           NUMBER;
tran_t          OUTAGE_TRANS_T;
trans_l          TRANS_LIST;
iMSGTYPE          NUMBER;          
BEGIN
     BEGIN
     iMSGTYPE := :new.MSGTYPE;
     SELECT COUNT(*)
     INTO     liOUTID
     FROM
          OMS.OUTAGE O
     WHERE
          O.OUT_ID = :new.OUT_ID AND
          O.OUT_STATUS = :new.OUT_STATUS AND
          O.OPR_CMT = :new.OPR_CMT AND
          O.CREW = :new.CREW AND
          O.ETOR_TS = :new.ETOR_TS AND
          O.PO_DEV = :new.PO_DEV AND
          O.DEV_TYP = :new.DEV_TYP AND
          O.CIRCUIT=:NEW.CIRCUIT AND          
          3 = iMSGTYPE;
     /* IF WE FOUND IT EXIT WE DON'T NEED TO UPDATE */
     IF liOUTID > 0
     THEN     
          GOTO get_out;          /* this means we already have this info */
     else
          liOUTID := 0;
     end if;
     /* DELETE FROM OT AND O TABLES */
     if iMSGTYPE = 2
     THEN
          DELETE FROM OMS.OUTAGE_TRANSFORMER OT
          WHERE      
               OT.OUT_ID = :new.OUT_ID;
          DELETE FROM OMS.OUTAGE O
          WHERE      
               O.OUT_ID = :new.OUT_ID;     
          GOTO get_out;
     END IF;
     SELECT COUNT(*)
     INTO     liOUTID
     FROM OMS.OUTAGE O
     WHERE O.OUT_ID = :new.OUT_ID;
     IF liOUTID > 0
     THEN
          UPDATE OMS.OUTAGE
               SET
               OUT_STATUS=:NEW.OUT_STATUS,
               FIRST_RPT_TS=:NEW.FIRST_RPT_TS,
               CUST_CNT=:NEW.CUST_CNT,
               O_CALL_CNT=:NEW.O_CALL_CNT,
               DEV_TYP=:NEW.DEV_TYP,
               END_TS=:NEW.END_TS,
               ETOR_TS=:NEW.ETOR_TS,
               TRBL_CD=:NEW.TRBL_CD,
     PO_DEV=:NEW.PO_DEV,
               CIRCUIT=:NEW.CIRCUIT,
     CREW=:NEW.CREW,
               OPR_CMT=:NEW.OPR_CMT
               WHERE
     OUT_ID=:NEW.OUT_ID;
          FOR i IN 1..trans_l.COUNT LOOP
               tran_t := trans_l(i);
               INSERT INTO OMS.OUTAGE_TRANSFORMER
                    (OUT_ID,
                    TRNFRMR_ID,
                    INIT_TS)
               VALUES
                    (tran_t.OUT_ID,
                    tran_t.TRNFRMR_ID,
                    to_date(tran_t.INIT_TS, 'mm/dd/yyyy hh24:mi:ss'));
          END LOOP;
     ELSIF liOUTID = 0
     THEN
          INSERT INTO OMS.OUTAGE(
               OUT_ID,
               OUT_STATUS,
               FIRST_RPT_TS,
               CUST_CNT,
               O_CALL_CNT,
               DEV_TYP,
               END_TS,
               ETOR_TS,
               TRBL_CD,
               PO_DEV,
               CIRCUIT,
               CREW,
               OPR_CMT)
               VALUES(
               :NEW.OUT_ID,
               :NEW.OUT_STATUS,
               :NEW.FIRST_RPT_TS,
               :NEW.CUST_CNT,
               :NEW.O_CALL_CNT,
               :NEW.DEV_TYP,
               :NEW.END_TS,
               :NEW.ETOR_TS,
               :NEW.TRBL_CD,
               :NEW.PO_DEV,
               :NEW.CIRCUIT,
               :NEW.CREW,
               :NEW.OPR_CMT);
          trans_l := :new.TRANS;
          FOR i IN 1..trans_l.COUNT LOOP
               tran_t := trans_l(i);
               INSERT INTO OMS.OUTAGE_TRANSFORMER
                    (OUT_ID,
                    TRNFRMR_ID,
                    INIT_TS)
               VALUES
                    (tran_t.OUT_ID,
                    tran_t.TRNFRMR_ID,
                    to_date(tran_t.INIT_TS, 'mm/dd/yyyy hh24:mi:ss'));
          END LOOP;
     END IF;
     <<get_out>>
     NULL;
     EXCEPTION
     WHEN OTHERS
     THEN
--          outageHandler.LogErrMsg('instead_of_insert_on_Outage', TO_CHAR(SQLCODE), SQLERRM);
END;
END;

The error occurs on the execution of this section:
FOR i IN 1..trans_l.COUNT LOOP
tran_t := trans_l(i);
INSERT INTO OMS.OUTAGE_TRANSFORMER
(OUT_ID,
TRNFRMR_ID,
INIT_TS)
VALUES
(tran_t.OUT_ID,
tran_t.TRNFRMR_ID,
to_date(tran_t.INIT_TS, 'mm/dd/yyyy hh24:mi:ss'));
END LOOP;
I have tried it with nad without the 'to_date' function call.
This is urgent!!!!

Similar Messages

  • Error in Create Views

    Hi All,
    Create view is giving the following error : com.waveset.exception.ItemNotFound.
    Below is the code as well the error in the trace....please suggest how to find the exact error and the error in the code:
    <Action id='1' name='Create Views' application='com.waveset.session.WorkflowServices'>
    <Argument name='op' value='createView'/>
    <Argument name='type' value='Process'/>
    <Argument name='task.owner' value='Configurator'/>
    <Argument name='endUser' value='true'/>
    <Argument name='result'>
    <ref>variableMapping</ref>
    </Argument>
    <Argument name='process'>
    <ref>currentWorkflow</ref>
    </Argument>
    <Argument name='viewId' value='Process'/>
    <Return from='view' to='newViews' append='true'/>
    </Action>
    <Action id='2' name='Check in Views' application='com.waveset.session.WorkflowServices'>
    <Iterate for='newView' in='newViews'/>
    <Argument name='op' value='checkinView'/>
    <Argument name='view' value='$(newView)'/>
    <Argument name='endUser' value='true'/>
    Trace error:
    Action Create Views
    Result title set to 'Create Views'
    Argument op = createView
    Argument type = Process
    Argument task.owner = Configurator
    Argument endUser = true
    Resolved reference variableMapping = {UserName-1=User1, TestADT, RequestType=EntireSystem, AutoImplementationReqd=No, SA Note=null, Position=null, stewardId=[[email protected]], formButton=Submit, [email protected], StewardImplementationReqd=Yes, Name=TestADT User1, SecurityImplementationReqd=Yes, ResGroupMap=null, [email protected], Country=null, [email protected], SubArea=null, selectedForm=SRF RemoveUser, SystemName=AppTalk (H02), isAutomation=false, StewardApprovalReqd=No, Explanation-1=User Left Best Buy, TaskRoles=null, Permissions01=aAS, resourceAction=null, BusinessArea=null, Manager=Manager, TestADT, GRCRequestReqd=No, SecurityAdminApprovalReqd=No, frm_ApprovalsList=[[email protected], approver2:SRS], currentWorkflow=Old Framework_SRW Type 1 Approval Workflow, Optional Comments=ASASA, requestorUserId=a9200701, siteID=null, selectedEnablers=null, endDate=null, Request=Me, UID-1=A9200701, StewardApprovalReqd2=No, selectedEnablersLabels=null, selectedTaskRolesLabels=null, ManagerApprovalReqd=No, Rows=1, startDate=null}
    Argument result = {UserName-1=User1, TestADT, RequestType=EntireSystem, AutoImplementationReqd=No, SA Note=null, Position=null, stewardId=[[email protected]], formButton=Submit, [email protected], StewardImplementationReqd=Yes, Name=TestADT User1, SecurityImplementationReqd=Yes, ResGroupMap=null, [email protected], Country=null, [email protected], SubArea=null, selectedForm=SRF RemoveUser, SystemName=AppTalk (H02), isAutomation=false, StewardApprovalReqd=No, Explanation-1=User Left Best Buy, TaskRoles=null, Permissions01=aAS, resourceAction=null, BusinessArea=null, Manager=Manager, TestADT, GRCRequestReqd=No, SecurityAdminApprovalReqd=No, frm_ApprovalsList=[[email protected], approver2:SRS], currentWorkflow=Old Framework_SRW Type 1 Approval Workflow, Optional Comments=ASASA, requestorUserId=a9200701, siteID=null, selectedEnablers=null, endDate=null, Request=Me, UID-1=A9200701, StewardApprovalReqd2=No, selectedEnablersLabels=null, selectedTaskRolesLabels=null, ManagerApprovalReqd=No, Rows=1, startDate=null}
    Resolved reference selectedForm = SRF RemoveUser
    Resolved reference currentWorkflow = Old Framework_SRW Type 1 Approval Workflow
    Argument process = Old Framework_SRW Type 1 Approval Workflow
    Argument viewId = Process
    Argument variableMapping = {UserName-1=User1, TestADT, RequestType=EntireSystem, AutoImplementationReqd=No, SA Note=null, Position=null, stewardId=[[email protected]], formButton=Submit, [email protected], StewardImplementationReqd=Yes, Name=TestADT User1, SecurityImplementationReqd=Yes, ResGroupMap=null, [email protected], Country=null, [email protected], SubArea=null, selectedForm=SRF RemoveUser, SystemName=AppTalk (H02), isAutomation=false, StewardApprovalReqd=No, Explanation-1=User Left Best Buy, TaskRoles=null, Permissions01=aAS, resourceAction=null, BusinessArea=null, Manager=Manager, TestADT, GRCRequestReqd=No, SecurityAdminApprovalReqd=No, frm_ApprovalsList=[[email protected], approver2:SRS], currentWorkflow=Old Framework_SRW Type 1 Approval Workflow, Optional Comments=ASASA, requestorUserId=a9200701, siteID=null, selectedEnablers=null, endDate=null, Request=Me, UID-1=A9200701, StewardApprovalReqd2=No, selectedEnablersLabels=null, selectedTaskRolesLabels=null, ManagerApprovalReqd=No, Rows=1, startDate=null}
    Argument initialApprovals = [[email protected], approver2:SRS]
    Calling application 'com.waveset.session.WorkflowServices'
    Application requested argument op
    Application requested argument viewId
    Application requested all arguments
    Application requested argument subject
    Application requested argument loginApplication
    Application requested argument authorized
    Application returned =
    <WavesetResult>
    <ResultItem type='error' status='error'>
    <ResultError throwable='com.waveset.exception.ItemNotFound'>
    <Message id='TaskDefinition:Old Framework_SRW Type 1 Approval Workflow'>
    </Message>
    <StackTrace>com.waveset.exception.ItemNotFound: TaskDefinition:Old Framework_SRW Type 1 Approval Workflow&#xA;&#x9;at com.waveset.object.ObjectCache.getHandle(ObjectCache.java:851)&#xA;&#x9;at com.waveset.object.ObjectCache.getObject(ObjectCache.java:578)&#xA;&#x9;at com.waveset.object.ObjectCache.getObject(ObjectCache.java:546)&#xA;&#x9;at com.waveset.server.InternalSession.getObject(InternalSession.java:526)&#xA;&#x9;at com.waveset.server.ViewMaster.getTaskDefinition(ViewMaster.java:719)&#xA;&#x9;at com.waveset.view.ProcessViewer.findProcess(ProcessViewer.java:847)&#xA;&#x9;at com.waveset.view.ProcessViewer.createView(ProcessViewer.java:386)&#xA;&#x9;at com.waveset.object.ViewMaster.createView(ViewMaster.java:499)&#xA;&#x9;at com.waveset.session.WorkflowServices.createView(WorkflowServices.java:1369)&#xA;&#x9;at com.waveset.session.WorkflowServices.call(WorkflowServices.java:478)&#xA;&#x9;at com.waveset.workflow.WorkflowEngine.callApplication(WorkflowEngine.java:4381)&#xA;&#x9;at com.waveset.workflow.WorkflowEngine.callAction(WorkflowEngine.java:4208)&#xA;&#x9;at com.waveset.workflow.WorkflowEngine.callAction(WorkflowEngine.java:3521)&#xA;&#x9;at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:3361)&#xA;&#x9;at com.waveset.workflow.WorkflowEngine.makeTransition(WorkflowEngine.java:2901)&#xA;&#x9;at com.waveset.workflow.WorkflowEngine.checkExplicitTransitions(WorkflowEngine.java:2792)&#xA;&#x9;at com.waveset.workflow.WorkflowEngine.checkTransitions(WorkflowEngine.java:2578)&#xA;&#x9;at com.waveset.workflow.WorkflowEngine.processSteps(WorkflowEngine.java:1983)&#xA;&#x9;at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1835)&#xA;&#x9;at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1818)&#xA;&#x9;at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1743)&#xA;&#x9;at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:861)&#xA;&#x9;at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:505)&#xA;&#x9;at com.waveset.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:256)&#xA;&#x9;at com.waveset.task.TaskThread.run(TaskThread.java:132)&#xA;</StackTrace>
    </ResultError>
    </ResultItem>
    </WavesetResult>

    where is your 'TaskDefinition:Old Framework_SRW Type 1 Approval Workflow' objcet, have you imported that workflow into Idm or check the name.
    error:
    com.waveset.exception.ItemNotFound: TaskDefinition:Old Framework_SRW Type 1 Approval Workflow

  • ORA-12008: error in materialized view refresh path... Bug?

    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE    11.2.0.3.0      Production
    TNS for Linux: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    SQL> drop materialized view log on test_tbl;
    Materialized view log dropped.
    SQL> drop materialized view mv_test_tbl;
    Materialized view dropped.
    SQL> drop table test_tbl;
    Table dropped.
    SQL> create table test_tbl(
      2   test_id   number(10)   primary key,
      3   test_name varchar2(10) not null)
      4  ;
    Table created.
    SQL> insert into test_tbl values (1,'bob');
    1 row created.
    SQL> insert into test_tbl values (2,'joe');
    1 row created.
    SQL> insert into test_tbl values (3,'john');
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> create materialized view log on test_tbl
      2  with primary key , rowid, sequence
      3  (
      4   test_name
      5  )
      6  including new values;
    Materialized view log created.
    SQL> create materialized view mv_test_tbl
      2  refresh fast on commit
      3  as
      4  select test_id,
      5         test_name
      6  from   test_tbl;
    Materialized view created.
    SQL> update test_tbl set test_name = 'hello' where test_id = 1000;
    0 rows updated.
    SQL> commit;
    Commit complete.Ok, so that's all good. Now if I create the materialized view log with the COMMIT SCN option:
    SQL> drop materialized view log on test_tbl;
    Materialized view log dropped.
    SQL> drop materialized view mv_test_tbl;
    Materialized view dropped.
    SQL> create materialized view log on test_tbl
      2  with primary key , rowid, sequence
      3  (
      4   test_name
      5  ),
      6  commit scn
      7  including new values;
    Materialized view log created.
    SQL> create materialized view mv_test_tbl
      2  refresh fast on commit
      3  as
      4  select test_id,
      5         test_name
      6  from   test_tbl;
    Materialized view created.
    SQL> update test_tbl set test_name = 'hello' where test_id = 1000;
    0 rows updated.
    SQL> commit;
    commit
    ERROR at line 1:
    ORA-12008: error in materialized view refresh path
    ORA-01006: bind variable does not exist
    SQL>Committing an update that updates no rows against a master table for a single table fast refreshable materialized view results in the error above when the materialized view log on the master table is created with the COMMIT SCN option. I'm guessing that this isn't how things are supposed to work. Or am I missing something here? Anyone else encountered this before?
    Cheers.
    Edited by: Stain on Jan 25, 2013 1:27 PM

    Query Rewrite is an option for a Materialized View, not a Materialized View Log. Also, query rewrite is used as an optimization technique which "transforms a SQL statement expressed in terms of tables or views into a statement accessing one or more materialized views that are defined on the detail tables". I don't think it plays any role in the refresh path.
    Regardless, it made no difference.
    SQL> create materialized view mv_test_tbl
      2  refresh fast on commit
      3  ENABLE QUERY REWRITE
      4  as
      5  select test_id,
      6         test_name
      7  from   test_tbl
      8  ;
    Materialized view created.
    SQL> update test_tbl set test_name = 'hello' where test_id = 1000;
    0 rows updated.
    SQL> commit;
    commit
    ERROR at line 1:
    ORA-12008: error in materialized view refresh path
    ORA-01006: bind variable does not exist
    SQL>Edited by: Stain on Jan 25, 2013 2:06 PM

  • ORA-12096: error in materialized view log

    Hi All,
    I had created a fast refresh materialized view. Log was also created.
    Now i dropped the mv and the logs.
    But now every time i update or insert into this customer table i get error message.
    ORA-12096: error in materialized view log on Customer
    ORA-00942: table or view does not exist
    There are entries in the DBA_MVIEW_LOGS for customer table.
    Please suggest.

    Hi,
    What database version are you on?
    And do you have access to Metalink/My Oracle Support?
    Found this, by the way:
    ORA-12096: error in materialized view log on <table>
    If problems occur when you try to access a log file for a materialized view, the system issues an ORA-12096 error message which is followed by the actual error. If the ORA-12096 error message is accompanied by an ORA-00942 message, the problem may be due to an online reorganization that was only partially undone. In this case, you can drop the log file for the materialized view manually (after you have verified that it is no longer required):
    DROP MATERIALIZED VIEW LOG ON <table>;
    Edited by: hoek on Jul 29, 2009 2:15 PM

  • ORA-12008: error in materialized view refresh path ;;; PLZ HELP ME

    Hi all,
    I 'm using Oracle Database 10g Enterprise Edition Release 10.2.0.1.0; I got these errors when I tried to refresh my materialized view ;
    ORA-12008: error in materialized view refresh path
    ORA-01555: snapshot too old: rollback segment number 5 with name "_SYSSMU5$"
    too small
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2255
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2461
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2430
    I don't understand what mean these errors and why i got them?
    Someone can help me please ?
    Thanks
    regards,

    thank you Justin,
    I found in my alertDB.log this line ;
    Mon Aug 20 03:00:54 2007
    ORA-01555 caused by SQL statement below (SQL ID: 64a7sdbbvknta, Query Duration=1021 sec, SCN: 0x0004.4a145344):
    Mon Aug 20 03:00:54 2007
    INSERT /*+ BYPASS_RECURSIVE_CHECK */ INTO "MANAGEMENT"."MVIEW_COMPUTERS"("ID","WINVERSION","ANTIVIRUS","GUID","INSTALLDT","CONNECTION_TYPE","GROUPID
    ","QUOVACOUNTRY") SELECT "C"."ID","C"."WINVERSION","C"."ANTIVIRUS","C"."GUID","C"."INSTALLDT","C"."CONNECTIONTYPE","C"."GROUPID","C"."QUOVACOUNTRY"
    FROM "MANAGEMENT"."COMPUTERS" "C"
    So i execute this query to found the TUNED_UNDORETENTION value ;
    SELECT *
    FROM V$UNDOSTAT v
    WHERE v.MAXQUERYID = '64a7sdbbvknta'
    and i have this result :
    BEGIN_TIME     20070820 02:53:42
    END_TIME     20070820 03:03:42
    UNDOTSN     1
    UNDOBLKS     51242
    TXNCOUNT     5012
    MAXQUERYLEN     1060
    MAXQUERYID     64a7sdbbvknta
    MAXCONCURRENCY     21
    UNXPSTEALCNT     0
    UNXPBLKRELCNT     0
    UNXPBLKREUCNT     0
    EXPSTEALCNT     14
    EXPBLKRELCNT     51392
    EXPBLKREUCNT     0
    SSOLDERRCNT     1
    NOSPACEERRCNT     0
    ACTIVEBLKS     606920
    UNEXPIREDBLKS     19896
    EXPIREDBLKS     612728
    TUNED_UNDORETENTION     1841
    I don't know exactly which value i should set my parameter?
    Message was edited by:
    HAGGAR

  • ORA-12096 error in materialized view log on %s . %s

    Hi,
    I faced the peculiar error message "ORA-12096 error in materialized view log on ..." when trying to insert into a table. But .. there is not a materialized view log (none in the current schema nor in other users' schema).
    Note:I use OraDB10g v2
    Thanks ....a lot
    Sim

    Sim,
    NOthing relevant is coming up over metalink for the erorr. Some non-required results are coming but I dnt think that they are helpful. The most nearest to your error is this thread over google,
    http://translate.google.com/translate?hl=en&sl=zh-CN&u=http://blog.chinaunix.net/u/7121/showart_460192.html&sa=X&oi=translate&resnum=8&ct=result&prev=/search%3Fq%3DORA-12096%2Berror%2Bin%2Bmaterialized%2Bview%2Blog%2Bon%2BORA-00942%2Btable%2Bor%2Bview%2Bdoes%2Bnot%2Bexist....%26hl%3Den%26rls%3Dcom.microsoft:en-US:%26rlz%3D1I7GGLJ%26pwst%3D1
    It does talk abot the same thing, mview logs.
    Do let me know what you got.
    Cheers
    Aman....

  • Error in materialized view refresh path

    I have a procedure that manuall refreshes a materialized view. It almost always gets the following errors:
    ERROR at line 1:
    ORA-12008: error in materialized view refresh path
    ORA-08103: object no longer exists
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2255
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2461
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2430
    ORA-06512: at "MGT2.ITV_026_SP", line 35
    ORA-06512: at line 1
    When I run the same refresh of the materialized view directly from SQL*Plus, it never gets the error. It takes only about 5 minutes. OEM says the undo tablespace can support retention of 753 minutes if I'm understanding the graph.
    Thanks for your help..

    I will take a wild guess:
    MGT2.VW_PRINT_026
    Is a materialized view too.
    This error means that while doing a refresh to VW_MAT_026 it
    source mv, the VW_PRINT_026 wasn't exists, i.e. has been in the refresh process.
    You didn't get it in Sql*Plus because you are doing it step by step.
    The solution - make sure that VW_PRINT_026 completed it refresh before doing
    The VW_MAT_026 refresh, e.g.
    not tested-
    begin
    dbms_snapshot.refresh('VW_PRINT_026');
    dbms_snapshot.refresh('VW_MAT_026');
    end;Another option - the VW_PRINT_026 is a table created "on the fly"
    And in some scenario - the table isn't exists yet...
    If this is the case you should check if the object exist before doing the
    VW_MAT_026 refresh, e.g.
    not tested-
    declare
    ll_exists number;
    begin
    select 1 into ll_exists from all_objects where owner ='MGT2' and
    object_name ='VW_PRINT_026';
    dbms_snapshot.refresh('VW_MAT_026');
    when others then raise;
    end;Amiel

  • An error prevented the view from loading

    I'm using SQL Server 2012 Express and I'm building a report with one table.  I dragged and dropped two data set elements into the table that has two columns (Product Name and Product Description).  Both the dataset elements have
    a data type of varchar (50) in SQL Server 2012 Express.  The table with those two elements is the only data I have in Design view.  When I click on Preview, the Preview screen states 'An error prevented the view from loading.'.  This is difficult
    to diagnose, because in the Error List there are '0 Errors', '0 Warnings', and '0 Messages'.  I would like help understanding if there is another error log I can observe to understand the issue, or if there are basic SQL Server 2012 Express Reporting
    Services debugging techniques.  Please help.  Thank you,
    Additionally, when I run the query in SQL Server 2012 Express and Reporting Services Query Designer the query results are correct.
    Also, when I click the start debugging button, the report displays and I can export it to pdf, however the Previous still displays the error.

    Well, funny stuff.  I shut the solution down yesterday, then I booted my computer today and started the solution AND JUST LIKE MAGIC....it works.  I can't explain it.  Persistence pays, that's the answer sometimes.

  • Error: ORA-12008: error in materialized view refresh path

    Hello Dba' s
    We are on 12.0.6 EBS with 10.2.0.5 DB on Sun solaris SPARC 64 bit.
    We are getting below error while Refreshing Materialized View.
    Start of log messages from FND_FILE
    Error: ORA-12008: error in materialized view refresh path
    ORA-00600: internal error code, arguments: [kcblasm_1], [103], [], [], [], [], [], [] Occured while Refreshing Materialized View
    End of log messages from FND_FILE
    Not sure how to proceed.We have just upgraded our database from 10.2.0.3 to 10.2.0.5.
    Also we still have our test instance with 10.2.0.3 database ,there refreshing MV completed successfully.
    Also refreshing through TOAD gives below error:-
    BEGIN
    DBMS_SNAPSHOT.REFRESH(
    LIST => 'XXPPL.XXPPL_OPM_TRANSACTIONS_MV'
    ,PUSH_DEFERRED_RPC => TRUE
    ,REFRESH_AFTER_ERRORS => FALSE
    ,PURGE_OPTION => 1
    ,PARALLELISM => 0
    ,ATOMIC_REFRESH => TRUE
    ,NESTED => FALSE);
    END;
    Error at line 2
    ORA-12008: error in materialized view refresh path
    ORA-00600: internal error code, arguments: [kcblasm_1], [103], [], [], [], [], [], []
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2256
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2462
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2431
    ORA-06512: at line 2
    Please advice.
    Thanks,
    Edited by: user12209274 on Nov 23, 2010 2:10 AM

    thank you Justin,
    I found in my alertDB.log this line ;
    Mon Aug 20 03:00:54 2007
    ORA-01555 caused by SQL statement below (SQL ID: 64a7sdbbvknta, Query Duration=1021 sec, SCN: 0x0004.4a145344):
    Mon Aug 20 03:00:54 2007
    INSERT /*+ BYPASS_RECURSIVE_CHECK */ INTO "MANAGEMENT"."MVIEW_COMPUTERS"("ID","WINVERSION","ANTIVIRUS","GUID","INSTALLDT","CONNECTION_TYPE","GROUPID
    ","QUOVACOUNTRY") SELECT "C"."ID","C"."WINVERSION","C"."ANTIVIRUS","C"."GUID","C"."INSTALLDT","C"."CONNECTIONTYPE","C"."GROUPID","C"."QUOVACOUNTRY"
    FROM "MANAGEMENT"."COMPUTERS" "C"
    So i execute this query to found the TUNED_UNDORETENTION value ;
    SELECT *
    FROM V$UNDOSTAT v
    WHERE v.MAXQUERYID = '64a7sdbbvknta'
    and i have this result :
    BEGIN_TIME     20070820 02:53:42
    END_TIME     20070820 03:03:42
    UNDOTSN     1
    UNDOBLKS     51242
    TXNCOUNT     5012
    MAXQUERYLEN     1060
    MAXQUERYID     64a7sdbbvknta
    MAXCONCURRENCY     21
    UNXPSTEALCNT     0
    UNXPBLKRELCNT     0
    UNXPBLKREUCNT     0
    EXPSTEALCNT     14
    EXPBLKRELCNT     51392
    EXPBLKREUCNT     0
    SSOLDERRCNT     1
    NOSPACEERRCNT     0
    ACTIVEBLKS     606920
    UNEXPIREDBLKS     19896
    EXPIREDBLKS     612728
    TUNED_UNDORETENTION     1841
    I don't know exactly which value i should set my parameter?
    Message was edited by:
    HAGGAR

  • Live Office : An error occurred from viewer control. (LO 02029)

    MS PowerPoint 2007
    BusinessObjects Live Office XI 3.1 SP2 FixPack 2.4
    I insert a chart of a Web Intelligence document into a PowerPoint slide.
    In the insert wizard, I change "Page Mode" to "Quick Mode".
    This error message pops up :
    An error occurred from viewer control. (LO 02029)
    Details :
    WSE839: An HTTP response was received that used the following content type: text/xml;charset=utf-8. The following content type was expected: multipart/related; type=application/xop+xml.
    This error message is not documented in on the SAP Support Portal.
    Thanks for any help on this.
    Hans

    Are you useing Drill Filters ?
    Drills are not supported in Live Office.
    In SAP Business Objects 4.0, if the drill bar is enabled in Web Intelligence, an error message will be displayed as such: "An error occured from viewer control, (LO 02029)", with the details reading "This feature is not implemented (Error: RWI 00013)".
    Environment
    Live Office 3.1
    Web Intelligence Enterprise Edition 3.1
      Also applies to:  
    Live Office 4.0 SP 01
    SAP BusinessObjects BI 4.0 SP 01

  • Error message into a Variable.

    Dear users,
    I have a rather usual (unusual from the weekend beers for me though!!) query which I can't figure out a proper way to implement.
    My requirement is like this:
    I have a message class in which I want to define a text 'Employee number & not found'.
    I want to use this in the program, but not to raise this error. Instead, I want to move this error message with the Employee number into a Character(200) variable.
    So instead of using MESSAGE e0xx(messageclass) USING employee number, I would like to move the error text into a variable which looks like:
    lv_text = e0xx(messageclass) USING '1234'   which stores the text 'Employee number 1234 not found' in lv_text.
    How would I acheive it??
    Thanks, V!

    Try tis way
    message e999(00) with i_emp-empno into lv_text.
    press f1 in message will provide you more details

  • How can I put all output error message into a String Variable ??

    Dear Sir:
    I have following code, When I run it and I press overflow radio button, It outputs following message:
    Caught RuntimeException: java.lang.NullPointerException
    java.lang.NullPointerException
         at ExceptionHandling.ExceptTest.actionPerformed(ExceptTest.java:72)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:291)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.Component.processMouseEvent(Component.java:6038)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
         at java.awt.Component.processEvent(Component.java:5803)
         at java.awt.Container.processEvent(Container.java:2058)
         at java.awt.Component.dispatchEventImpl(Component.java:4410)
         at java.awt.Container.dispatchEventImpl(Container.java:2116)
         at java.awt.Component.dispatchEvent(Component.java:4240)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
         at java.awt.Container.dispatchEventImpl(Container.java:2102)
         at java.awt.Window.dispatchEventImpl(Window.java:2429)
         at java.awt.Component.dispatchEvent(Component.java:4240)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)Caught RuntimeException: java.lang.NullPointerException
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)I hope to catch all these error message into a String Variable such as StrErrorMsg, then I can use System.out.println(StrErrorMsg) to print it out or store somewhere, not only display at runtime,
    How can I do this??
    Thanks a lot,
    See code below.
    import java.awt.Frame;
    import java.awt.GridLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import java.io.FileInputStream;
    import javax.swing.ButtonGroup;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JRadioButton;
    public class ExceptTest extends JFrame implements ActionListener {
        private double[] a;
      private JRadioButton divideByZeroButton;
      private JRadioButton badCastButton;
      private JRadioButton arrayBoundsButton;
      private JRadioButton nullPointerButton;
      private JRadioButton negSqrtButton;
      private JRadioButton overflowButton;
      private JRadioButton noSuchFileButton;
      private JRadioButton throwUnknownButton;
      public ExceptTest() {
        JPanel p = new JPanel();
        ButtonGroup g = new ButtonGroup();
        p.setLayout(new GridLayout(8, 1));
        divideByZeroButton = addRadioButton("Divide by zero", g, p);
        badCastButton = addRadioButton("Bad cast", g, p);
        arrayBoundsButton = addRadioButton("Array bounds", g, p);
        nullPointerButton = addRadioButton("Null pointer", g, p);
        negSqrtButton = addRadioButton("sqrt(-1)", g, p);
        overflowButton = addRadioButton("Overflow", g, p);
        noSuchFileButton = addRadioButton("No such file", g, p);
        throwUnknownButton = addRadioButton("Throw unknown", g, p);
        getContentPane().add(p);
      private JRadioButton addRadioButton(String s, ButtonGroup g, JPanel p) {
        JRadioButton button = new JRadioButton(s, false);
        button.addActionListener(this);
        g.add(button);
        p.add(button);
        return button;
      public void actionPerformed(ActionEvent evt) {
        try {
          Object source = evt.getSource();
          if (source == divideByZeroButton) {
            a[1] = a[1] / a[1] - a[1];
          } else if (source == badCastButton) {
            Frame f = (Frame) evt.getSource();
          } else if (source == arrayBoundsButton) {
            a[1] = a[10];
          } else if (source == nullPointerButton) {
            Frame f = null;
            f.setSize(200, 200);
          } else if (source == negSqrtButton) {
            a[1] = Math.sqrt(-1);
          } else if (source == overflowButton) {
            a[1] = 1000 * 1000 * 1000 * 1000;
            int n = (int) a[1];
          } else if (source == noSuchFileButton) {
            FileInputStream is = new FileInputStream("Java Source and Support");
          } else if (source == throwUnknownButton) {
            throw new UnknownError();
        } catch (RuntimeException e) {
          System.out.println("Caught RuntimeException: " + e);
          e.printStackTrace();
          System.out.println("Caught RuntimeException: " + e);
        } catch (Exception e) {
          System.out.println("Caught Exception: " + e);
      public static void main(String[] args) {
        JFrame frame = new ExceptTest();
        frame.setSize(150, 200);
        frame.addWindowListener(new WindowAdapter() {
          public void windowClosing(WindowEvent e) {
            System.exit(0);
        frame.show();
    }

    yes, I update as follows,
    but not looks good.
    import java.io.*;
    public class UncaughtLogger implements Thread.UncaughtExceptionHandler {
        private File file;
        private static String errorMessage;
        public UncaughtLogger(File file) {
            this.file = file;
            //Thread.setDefaultUncaughtExceptionHandler(this);
        public UncaughtLogger(String str) {
            this.errorMessage = str;
            Thread.setDefaultUncaughtExceptionHandler(this);
        //@Override()
        public void uncaughtException(Thread t, Throwable e){
            try {
                log(e);
            } catch (Throwable throwable) {
                System.err.println("error in logging:");
                throwable.printStackTrace();
        private void log(Throwable e) throws IOException {
            PrintWriter out = new PrintWriter(new FileWriter(file, true));
            try {
                e.printStackTrace(out);
            } finally {
                out.close();
        private static UncaughtLogger logger = new UncaughtLogger(new File("C:/temp/log.txt"));
        private static UncaughtLogger logger2 = new UncaughtLogger(errorMessage);
        public static void main(String[] args) {
                String s1 = "Hello World!";
                s1 = null;
                String s2 = s1.getClass().getName();
                System.out.println(s1);
                System.out.println(s2);
                System.out.println("errorMessage =" + errorMessage);
    }

  • Error message into warning message KO450

    Hi,
    There are  unsettle RA  value in project PAD-9114. Because of  this unsettle RA  value in  the project  we are not able to  close the project and receiving error message like below:
    1.There is still WIP for wbs
    2.Balance of  wbs is not zero.
    There is still WIP for WBS PAD-9114
    Message no. KO450
    Diagnosis
    The WIP for WBS PAD-9114 has not been cleared.
    System Response
    WBS PAD-9114 cannot be deleted.
    Procedure
    Calculate the WIP for WBS PAD-9114 so that it can be cleared.  Then settle WBS PAD-9114, including the cleared WIP in the settlement.
    How  to change  above  error message   into warning message so that   it will allow us to  close  the project.
    With regards,
    V.krishnamoorthy

    Hi,
    Thanks  for your answer. But still i am receiving the same error
    There is still WIP for WBS PAD-9114
    Message no. KO450
    Diagnosis
    The WIP for WBS PAD-9114 has not been cleared.
    System Response
    WBS PAD-9114 cannot be deleted.
    Procedure
    Calculate the WIP for WBS PAD-9114 so that it can be cleared.  Then settle WBS PAD-9114, including the cleared WIP in the settlement.
    With regards,
    V.krishnamoorthy

  • Error ,message into table

    Hi all,
    i am trying to put a error message into a table...any idea how i can get this without doing move 'matnr & is in error' into my table?
    thanx

    Hi,
    There's a few ways you could do this;
    Construct your message first (i.e. combine the message text and variables into one string, then move this into the table)
    or
    Don't store the text, instead store the message ID, number and variable parts of the message.  This has the advantage if you're running a multi-language system the log can be used by users of different languages.
    Regards,
    Nick

  • Capturing oracle error codes into a variable

    Hi
    Can someone show me how it is possible to save an Oracle defined error code into a variable? What I am trying to do is when a stored procedure fails an Oracle error is raised, such as ORA-xxxx, then pass this code into variable to be saved into a log.
    How do I achieve this?

    user633278 wrote:
    How do I achieve this?Function SQLCODE in PL/SQL exception handler returns error code. SQLERRM returns message:
    SQL> declare
      2      x number;
      3  begin
      4      x := 1/0;
      5    exception
      6      when others
      7        then
      8          dbms_output.put_line('Error code: ' || SQLCODE);
      9          dbms_output.put_line('Error message: ' || SQLERRM);
    10  end;
    11  /
    Error code: -1476
    Error message: ORA-01476: divisor is equal to zero
    PL/SQL procedure successfully completed.
    SQL> SY.

Maybe you are looking for

  • Having trouble ingesting media- Prelude gives error message

    In Adobe Prelude, everytime I click on "Ingest Media" or go to File---Ingest Media, I get an error message that says that Adobe Prelude has encountered a serious error and needs to shut down.

  • Trouble installing itunes to Windows XP

    rachyl-orry i thought I belonged in the same category when making the prior post. I have Windows XP. I can se the itunes icon on my main scren after sign on. The cd that came with my nano seemed to install fine and even finished. i have already updat

  • Firewire 800 express card 34

    I'm finding it impossible to purchase one of these cards in the UK Anyone had any luck? products to avoid? compatibility issues? Would be very grateful S

  • PXI 2564 how to

    I am trying to power a solenoid valve that needs 24V supply. I have a PXI 2564 slot which I am planning on using to supply the voltage and then turn it off (or relay) when I want the valve opened and closed. My question is to how I am supposed to (or

  • How do I makr comcast my home page?

    When I sign into FireFox, I have tried making Comcast my home page. It always reverts back to google.