26687 error, no instantiation SCN provided

We have servers RAC1 and RAC2, using streams to replicate from RAC2 to RAC1
I had to drop and recreate a table
Now we get the following error
26687 error, no instantiation SCN provided
for "db"."table" in source database "string"
After recreating and loading the table, I got the SCN from RAC1 using
DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER
then on RAC2 I executed
DBMS_APPLY_ADMIN.SET_TABLE_INSTANTIATION_SCN
("schema.table", "RAC1", 1.470+10)
What am I missing and how can I fix this problem
Thanks

You can look at instanciation SCNs using the following request at destination DB:
SELECT * from DBA_APPLY_INSTANTIATED_OBJECTS;
You can check the values against SCN at the source database.
The following statement enables to look at SCN taken during prepare phase
SELECT * from dba_capture_prepared_tables;
Either fix the SCN value
Either reinstaciate table by
1 preparing the table for instanciation
2 export the table from source to destination
You may benefit from taking a look at Oracle Streams Replication Administrator's Guide chapter 14 which mention your error code.

Similar Messages

  • ORA-26687: no instantiation SCN provided for ... in source database ...

    We are testing streams on Databases between our Main and Branch Campus. We set up the Capture, Propagation and the Apply for the databases and receive the error on the Apply process when doing an insert:
    ORA-26687: no instantiation SCN provided for [TABLE] in source database [DATABASE]
    We are running Oracle 10.2.0.2.0
    Thank you in advance for your help.

    At source, execute the following as strmadmin
    SELECT * FROM DBA_CAPTURE_PREPARED_TABLES;
    Get the SCN for the correspoing table and use at destination
    At destination:
    BEGIN
    DBMS_APPLY_ADM.SET_TABLE_INSTANTIATION_SCN (
    source_object_name => 'schema.tablename',
    source_database_name => 'global db name of source',
    instantiation_scn => &iscn);
    END;
    Enter iscn that you got at souce.
    Retry the error. This will work.

  • STREAMS ORA-26687: no instantiation SCN provided for...

    Hi guys,
    I set streams replication on two instance oracle 10.2.0.3 capture and propagation seems working fine but on the apply side I got error message ORA-26687: no instantiation SCN provided for "SCOTT"."EMP" in source database "DB5.REGRESS.RDBMS.DEV.US.ORACLE.COM" and I tried to instantiate the SCN to Required SCN from
    select REQUIRED_CHECKPOINT_SCN
    from dba_capture;
    also tried to export import the table scott.emp again to instantiate to SCN but it didn't work still get the same error. Any Idea ?

    Set the instantiation SCN to few thousands less to current SCN. It will take care of the SCN. Otherwise find the required SCN and instantiate that number. Of course you need to stop streams process before doing it.
    You can find the required SCN by using the following qury:
    select REQUIRED_CHECKPOINT_SCN
    from dba_capture;

  • ORA-26687 No Instantiation SCN provided

    Hi All Guru, i am newbies to stream.
    I have try to setup the stream with full database replication.
    However the apply process keep aborted on target db with error ORA-26698 No Instantiation SCN provided for "WSYS"."WK$INSTANCE" in source database "primdb".
    I have already tried perform instantiation by using :
    DECLARE
    iscn NUMBER; -- Variable to hold instantiation SCN value
    BEGIN
    iscn := DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER();
    DBMS_OUTPUT.PUT_LINE ('Instantiation SCN is: ' || iscn);
    END;
    connect STRMADMIN/STRMADMIN@destination
    BEGIN
    DBMS_APPLY_ADM.SET_GLOBAL_INSTANTIATION_SCN(
    source_database_name => 'primdb',
    instantiation_scn => &iscn );
    END;
    Please advise how to workaround this issue ?
    thanks.
    Does anyone have any note on how to setup stream for one way replication from source to target (full database replication) ?
    Thanks in advance.

    It would be helpful to know which version (3 decimal places) you are working with and what variation on Streams you have chosen.
    For example under some situations you might want to do this:
    conn / as sysdba
    set serveroutput on
    DECLARE
    f_scn NUMBER;
    BEGIN
      f_scn := 0;
      dbms_capture_adm.build(:f_scn);
      dbms_output.put_line('The first_scn value is ' || :f_scn);
    END;
    /

  • Getting status as ERROR while instantiating Business Object in work flow?

    Hi,
    Getting status as ERROR while instantiating Business Object in work flow.
    How to rectify it.
    Tahnks in Advance.
    Moderator message: please have a look at the dedicated Workflow forum on SCN.
    Edited by: Thomas Zloch on Jan 19, 2012

    Hi,
    Go to SWDD and create a new workflow. This workflow will have two steps. This is just for test purpose so we are not going to define any triggering event etc.  First step will instantiate (creating a runtime object) a business object and second step will use that runtime object to execute one of its method. We know that to instantiate any BO we need the object key to be passed. Key uniquely identifies a runtime instance of Business Object (henceforth we will refer it as BO or business object interchangeably). 
    use Business Object SYSTEM and method GENERICINSTANTIATE to instantiate any Business Object in workflow

  • Error while generating Data provider

    We are facing a weird issue while using Design Studio 1.2. Locally the tool works fine but when we use it from BI-Launchpad or through BI Enterprise it gives intermittent error "Error while generating Data Provider"
    Same setup works fine in our Validation Environment.
    We have tried running repair for Design Studio, redeploy the war files, creating new view but issue still exist.
    We have BI 4.0 SP7 installed on Windows 2008 R2 system.
    4 CMS running in cluster, Design Studio 1.2 is installed on 3 Nodes out of 4.
    For now we are using 1 tomcat to access the system to narrow down the issue.
    Experts please help us to resolve this issue.
    Attach is the error message we are receiving

    I am not clear what your data source is, but I recommend checking the PAM https://websmp102.sap-ag.de/~sapidb/011000358700001013822013E because there are some limitations with Design Studio and BI4.0

  • Error while instantiating report Z_RD_ABSENCE_REPORT

    Hi Guys,
    we have just patched BWD, and while testing the broadcast setting i came across the following error.
    Error while instantiating report Z_RD_ABSENCE_REPORT 
    Notification Number RSBOLAP 014 
    I am opening report designer and when i publish via Bex Broadcaster this message is shown. I have checked SDN and sap market place but most of the soultion seem to focus on WAD.
    My feeling is that it is a JAVA error and is somethng basis might be able to fix.
    Please can anyone let me know if they have come across this problem before, and help would be much appriciated.
    Thanks
    Forhad

    Hello Forhad,
    RSBOLAP 014 is a issue regarding communication between ABAP (backend ) VS BI Java side.
    Read the note 937697 and follow his manual instructions.
    This note will start the BI Diagnostics. There you will see a red mark with RSBOLAP issue. COrrect this red mark following the recommendation on "Action" field.
    Good luck.
    Edward S. John

  • Error when generating Data Provider

    Hi ,
    While executing a query in the Quality system I get an error  stating - "Error while generating Data Provider".
    When the same query is executed in the Production system , it executes successfully .
    Any pointer , Please reply asap .
    Regards
    Manpreet

    Hi Manpreet,
    Use the 'verify' icon in the query designer to check whether your query definition is correct. Also u  you
    can check if you can execute the query in the backend with transaction RSRT2. In  RSRT2 try re-generating
    the query before running it.
    Hope it helps.
    Regards,
    Javed

  • XSL-1047: (Error) Invalid instantiation of 'xsl:output' in 'INSERT' context

    Following is my development environment:
    JDeveloper 9i Release Candidate
    JDeveloper JVM 1.3.1
    Oracle XML Parser v2 9.2.0.0.0
    I'm using the Oracle XML Parser V2 9.2.0.0.0 library to apply a stylesheet to an XML document. However when I invoke the call to processor.processXSL() an XSLException is thrown with the following details:
    oracle.xml.parser.v2.XSLException: <Line 1, Column 116>: XSL-1047: (Error) Invalid instantiation of 'xsl:output' in 'INSERT' context.
    exception
    Below is the sequence of events:
    // Create an instance of XSLProcessor to perform the transformation
    XSLProcessor processor = new XSLProcessor();
    // create a Reader from a String object that contains the stylesheet text
    StringReader r = new StringReader( stylesheet );
    // create a new XSL stylesheet, passing it the Reader object reference
    XSLStylesheet sheet = processor.newXSLStylesheet(r);
    // apply the stylesheet
    // the variable sheet represents the XSLStylesheet object
    // the variable source represents the XMLDocument object
    // this call throws the exception
    DocumentFragment df =
    processor.processXSL(sheet,source);
    I've included the Stylesheet and source XML file I'm processing below.
    Note: My application works fine when I use the Oracle XML Parser v2 9.0.1 library. (although I have to use new XSLStylesheet() in place of XSLProcessor.newXSLStylesheet())
    Any ideas on what has changed between the two releases? I do have a reproducible test case that I can send on if required?
    thanks in advance
    private String stylesheet =
    "<INSERT xsl:version=\"1.0\" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\"> "+
    "<xsl:output method=\"xml\" indent=\"yes\"/> "+
    "<ROWSET table_name=\"acc_database\"> "+
    " <xsl:for-each select=\"DATABASES/DATABASE\"> "+
    " <ROW> "+
    " <DBID><xsl:value-of select=\"DBID\"/></DBID> "+
    " <DBNAME><xsl:value-of select=\"DBNAME\"/></DBNAME> "+
    " <DBSIZE><xsl:value-of select=\"DBSIZE\"/></DBSIZE> "+
    " <DBPATHNAME><xsl:value-of select=\"DBPATHNAME\"/></DBPATHNAME> "+
    " <DBUSER><xsl:value-of select=\"DBUSER\"/></DBUSER> "+
    " <DBPASSWORD><xsl:value-of select=\"DBPASSWORD\"/></DBPASSWORD> "+
    " <ISAPPDB><xsl:value-of select=\"ISAPPDB\"/></ISAPPDB> "+
    " <ISATTACHEDDB><xsl:value-of select=\"ISATTACHEDDB\"/></ISATTACHEDDB> "+
    " <CONVERTDB><xsl:value-of select=\"CONVERTDB\"/></CONVERTDB> "+
    " <VERSION><xsl:value-of select=\"VERSION\"/></VERSION> "+
    " </ROW> "+
    " </xsl:for-each> "+
    "</ROWSET> "+
    "</INSERT>";
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!-- this file was generated by the Oracle Migration Workbench Exporter for MS Access 9.2.0.1.0 on 13/02/02 15:16:52 -->
    <!-- Do not modify this file as any modification will invalidate the export and subsequent migration of your MS Access database -->
    <DATABASES>
    <DATABASE>
    <DBID>1</DBID>
    <DBNAME>xmltest</DBNAME>
    <DBSIZE>1</DBSIZE>
    <DBPATHNAME>E:\xmltest.mdb</DBPATHNAME>
    <DBUSER>xmltest</DBUSER>
    <DBPASSWORD>oracle</DBPASSWORD>
    <ISAPPDB>1</ISAPPDB>
    <ISATTACHEDDB>0</ISATTACHEDDB>
    <CONVERTDB>1</CONVERTDB>
    <VERSION>4.0</VERSION>
    <TABLES>
    <TABLE PRIMARY_KEY="1">
    <TBLID>1</TBLID>
    <DBID>1</DBID>
    <TBLNAME>xsu_test</TBLNAME>
    <CNVTABLESTRUCT>1</CNVTABLESTRUCT>
    <CNVMOVEDATA>1</CNVMOVEDATA>
    <CNVRI>1</CNVRI>
    <CNVVALIDATION>1</CNVVALIDATION>
    <CNVDEFAULT>1</CNVDEFAULT>
    <CNVADDTIMESTAMP>1</CNVADDTIMESTAMP>
    <ATTACHTABLEBACKTOACCESS>1</ATTACHTABLEBACKTOACCESS>
    <SAVEPASSWORD>0</SAVEPASSWORD>
    <CNVMAKEUPDATEABLE>1</CNVMAKEUPDATEABLE>
    <RETAINLOCALCOPY>0</RETAINLOCALCOPY>
    <SYNCWITHSERVER>1</SYNCWITHSERVER>
    <OWNERID>1</OWNERID>
    <VALIDATIONTEXT></VALIDATIONTEXT>
    <VALIDATIONRULE></VALIDATIONRULE>
    <NUMBEROFROWS>1</NUMBEROFROWS>
    <CACHINGTABLE>0</CACHINGTABLE>
    <DESCRIPTION></DESCRIPTION>
    <COLUMNS>
    <COLUMN>
    <COLID>1</COLID>
    <TBLID>1</TBLID>
    <COLNAME>id</COLNAME>
    <COLTYPE>4</COLTYPE>
    <COLTYPEDESC>Long</COLTYPEDESC>
    <COLAUTOINCR>1</COLAUTOINCR>
    <NEXTCOUNTERVALUE>0</NEXTCOUNTERVALUE>
    <MAXLENGTHSOURCE>0</MAXLENGTHSOURCE>
    <AVGLENGTHSOURCE>0</AVGLENGTHSOURCE>
    <COLTEXTSIZE>4</COLTEXTSIZE>
    <ALLOWZEROLENGTH>0</ALLOWZEROLENGTH>
    <DEFAULTVALUE></DEFAULTVALUE>
    <COLREQUIRED>1</COLREQUIRED>
    <COLCOLLATINGORDER>1033</COLCOLLATINGORDER>
    <COLORDPOSITION>1</COLORDPOSITION>
    <VALIDATIONRULE></VALIDATIONRULE>
    <VALIDATIONTEXT></VALIDATIONTEXT>
    <COLUMNDESCRIPTION></COLUMNDESCRIPTION>
    </COLUMN>
    <COLUMN>
    <COLID>2</COLID>
    <TBLID>1</TBLID>
    <COLNAME>name</COLNAME>
    <COLTYPE>10</COLTYPE>
    <COLTYPEDESC>Text</COLTYPEDESC>
    <COLAUTOINCR>0</COLAUTOINCR>
    <NEXTCOUNTERVALUE>0</NEXTCOUNTERVALUE>
    <MAXLENGTHSOURCE>0</MAXLENGTHSOURCE>
    <AVGLENGTHSOURCE>0</AVGLENGTHSOURCE>
    <COLTEXTSIZE>50</COLTEXTSIZE>
    <ALLOWZEROLENGTH>0</ALLOWZEROLENGTH>
    <DEFAULTVALUE></DEFAULTVALUE>
    <COLREQUIRED>1</COLREQUIRED>
    <COLCOLLATINGORDER>1033</COLCOLLATINGORDER>
    <COLORDPOSITION>2</COLORDPOSITION>
    <VALIDATIONRULE></VALIDATIONRULE>
    <VALIDATIONTEXT></VALIDATIONTEXT>
    <COLUMNDESCRIPTION></COLUMNDESCRIPTION>
    </COLUMN>
    </COLUMNS>
    <INDEXES>
    <INDEX>
    <INDID>1</INDID>
    <TBLID>1</TBLID>
    <DBID>1</DBID>
    <INDNAME>id</INDNAME>
    <CNVINDEX>1</CNVINDEX>
    <ISPRIMARY>0</ISPRIMARY>
    <ISUNIQUE>0</ISUNIQUE>
    <ISFOREIGN>0</ISFOREIGN>
    <IGNORENULLS>0</IGNORENULLS>
    <ISREQUIRED>0</ISREQUIRED>
    <INDEX_COLUMNS>
    <INDEX_COLUMN>
    <INDCOLID>1</INDCOLID>
    <INDID>1</INDID>
    <COLID>1</COLID>
    <COLORDER>1</COLORDER>
    </INDEX_COLUMN>
    </INDEX_COLUMNS>
    </INDEX>
    <INDEX>
    <INDID>2</INDID>
    <TBLID>1</TBLID>
    <DBID>1</DBID>
    <INDNAME>PK_xsu_test</INDNAME>
    <CNVINDEX>1</CNVINDEX>
    <ISPRIMARY>1</ISPRIMARY>
    <ISUNIQUE>1</ISUNIQUE>
    <ISFOREIGN>0</ISFOREIGN>
    <IGNORENULLS>0</IGNORENULLS>
    <ISREQUIRED>1</ISREQUIRED>
    <INDEX_COLUMNS>
    <INDEX_COLUMN>
    <INDCOLID>2</INDCOLID>
    <INDID>2</INDID>
    <COLID>1</COLID>
    <COLORDER>1</COLORDER>
    </INDEX_COLUMN>
    </INDEX_COLUMNS>
    </INDEX>
    </INDEXES>
    </TABLE>
    </TABLES>
    <RELATIONS>
    </RELATIONS>
    </DATABASE>
    <ATTACHED_TABLES>
    </ATTACHED_TABLES>
    </DATABASES>

    Your problem is that your stylesheet is illegal.
    You're using the "simple form" of the stylesheet which
    is equivalent to having a single root template.
    If you use the simple form, you cannot use: <xsl:include>,
    <xsl:import>, <xsl:output>, <xsl:param>
    or any other <xsl:XXX> element which must be at the "top-level"
    of the stylesheet.
    The solution is to change from:
    <INPUT xsl:version="1.0" xmlns:xsl="...">
       <xsl:output>
    </INPUT>.
    which is illegal to:
      <xsl:stylesheet version="1.0" xmlns:xsl="...">
        <xsl:output>
        <xsl:template match="/">
          <INPUT>
          </INPUT>
        </xsl:template>
      </xsl:stylesheet>

  • Smartview Error: "Cannot Connect to Provider. Make Sure It Is Running in the Specified Host/Port (503)

    I am having an issue retrieving on a SmartView grid running 11.1.2.2.309.01 and SmartView 11.1.2.2.102.I have a grid with three attribute dimension and, at first it was long running and gave me a netretry netinterval error. I shared with my administrator and, they gave me the registry updates to increase my timeout for my default browser. Now, I try to retrieve the same sheet and after approximately five minutes, I get the message, "Smartview Error: "Cannot Connect to Provider. Make Sure It Is Running in the Specified Host/Port (503)". I am not sure what this means. I can retrieve on other grids with one attribute dimension or a regular retrieve but, for some reason, I notice when I retrieve on multiple attribute dimensions, I am having this issue. I had this tested with others and, they are experiencing the same result. Any thoughts. Thanks in advance         

    The timeout was updated to 7 minutes but, the timeout on the APS was never updated. What happened was there was a 7,000 member dimension where attributes where being used to build a retrieve. The attributes were what was causing the issue. Not to say you should not use attributes. Ultimately, an alternate hierarchy in the 7,000 member dimension will  help but, I used other members to get the results I need. I just never saw the error message before and, did not see it in oracle support.. Thanks.

  • SQL Server Agent - [165] ODBC Error: 0, Named Pipes Provider: Could not open a connection to SQL Server [2]. [SQLSTATE 08001]

    Hi,
    I keep receiving the error below in the SQL Server Agent Error Log;
    [165] ODBC Error: 0, Named Pipes Provider: Could not open a connection to SQL Server [2]. [SQLSTATE 08001]
    It is occurring approximately 20 times an hour and i cannot link it to any job failures. All jobs on the same SQL instance are working.
    The server is a clustered server and there are no errors occuring in the SQL Server error log at the same time. I have attempted to trace using profiler looking for errors and warnings but anything that does occur doesn't seem to correspond to the reported
    times of the errors within the sql agent error log.
    Please could someone point me where to look next?
    Many thanks.

    Please may I add that this is on a SQL Server 2008 R2 Enterprise edition patched to 10.50.1600.
    Nah, that server is not patched at all, because 10.50.1600 is the RTM version. Find Service Pack 2 and install at the next maintenance window, after having performed tests according to your local policy.
    It is not going to resolve your particular problem though.
    It seems like you have a job that attempts to a connect to s server that is down or non-existing. The job may be configured to return success also on failures. I would check if there are jobs that target other servers.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • I installed Adobe FlashPlayer version 13.0 however I am getting an error message "Plug in error". Can anybody provide an answer. I already uninstall the version and install it again with the same results. Thanks.

    I installed Adobe FlashPlayer version 13.0 however I am getting an error message "Plug in error". Can anybody provide an answer. I already uninstall the version and install it again with the same results. Thanks.

    Adobe admits to a Flash problem here:
    http://forums.adobe.com/message/6285851#6285851
    YOu can apply the fix they show and tehn wait for them to fix the problem

  • Getting Error :Error when instantiating WebService runtime

    Hello All,
                  I am a new to Webservices and writing a test program .I am using the ECC 5.0 .I am calling a Webservice from R/3 .I am  trying to call this webservice  :[http://webservices.daehosting.com/services/isbnservice.wso?WSDL].
    I am getting the following exception
    {<?xml version="1.0" encoding="utf-8" ?>
    - <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
    - <asx:values>
      <SYSTEMFAULT href="#o68" />
      </asx:values>
    - <asx:heap xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:abap="http://www.sap.com/abapxml/types/built-in" xmlns:cls="http://www.sap.com/abapxml/classes/global" xmlns:dic="http://www.sap.com/abapxml/types/dictionary">
    - <cls:CX_AI_SYSTEM_FAULT id="o68">
    - <CX_ROOT>
      <TEXTID>F63AFF63DBE4BB4786A7F52CC4167145</TEXTID>
      <PREVIOUS href="#o55" />
      <KERNEL_ERRID />
    - <INTERNAL_SOURCE_POS>
      <PROGID>191</PROGID>
      <CONTID>558</CONTID>
      </INTERNAL_SOURCE_POS>
      </CX_ROOT>
      <CX_STATIC_CHECK />
    - <CX_AI_SYSTEM_FAULT>
      <CODECONTEXT>Local</CODECONTEXT>
      <CODE>ERROR_WEBSERVICE_RUNTIME_INIT</CODE>
      <ERRORTEXT>Error when instantiating WebService runtime (Error when initializing SOAP client application )</ERRORTEXT>
      <LANGUAGE />
      </CX_AI_SYSTEM_FAULT>
      </cls:CX_AI_SYSTEM_FAULT>
    - <cls:CX_XMS_SYSERR_PROXY id="o55">
    - <CX_ROOT>
      <TEXTID>3F829CAF9A45633CE10000000A155117</TEXTID>
      <PREVIOUS />
      <KERNEL_ERRID />
    - <INTERNAL_SOURCE_POS>
      <PROGID>0</PROGID>
      <CONTID>0</CONTID>
      </INTERNAL_SOURCE_POS>
      </CX_ROOT>
      <CX_STATIC_CHECK />
    - <CX_XMS_SYSTEM_ERROR>
      <ID>ERROR_WEBSERVICE_RUNTIME_INIT</ID>
      <P1>Error when initializing SOAP client application</P1>
      <P2 />
      <P3 />
      <P4 />
      <INFO />
      <CATEGORY>XIProxy</CATEGORY>
      <AREA>ABAP</AREA>
      <RETRY>M</RETRY>
      </CX_XMS_SYSTEM_ERROR>
    - <CX_XMS_SYSERR_PROXY>
      <CO_AREA_ABAP>ABAP</CO_AREA_ABAP>
      </CX_XMS_SYSERR_PROXY>
      </cls:CX_XMS_SYSERR_PROXY>
      </asx:heap>
      </asx:abap>}
    This is what i have given in LPCONFIG Tcode
    LPCONFIG->General setting-> Call parameters->
    URL->http://webservices.daehosting.com/services/isbnservice.wso?WSDL
    Please help out what I am missing here
    Thanks
    Krishna

    I had the same error, while implementing a new client webservice.
    The Error ERROR_WEBSERVICE_RUNTIME_INIT was in my case solved by:
    1. regenerating the CL_SOAP_APPLICATION_CLIENT class.
    and
    2. deleting the LPCONFIG setting and creating a new one.
    Edwin.

  • TypeError: Error #1007: Instantiation attempted on a non-constructor.

    So I am trying out Flex 4 and started so by creating a basic class that extends the spark.components.Application class.
    package
        import spark.components.Application; 
        public class SimpleApp extends Application
            public function SimpleApp():void
                super();
    It compiles time but at runtime I am getting this error:
    TypeError: Error #1007: Instantiation attempted on a non-constructor.
    at mx.preloaders::Preloader/initialize()
    at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::initialize()
    at mx.managers::SystemManager/initHandler()
    Anyone have any insight into this? I found this http://forums.adobe.com/message/2724794 but it doesn't really seem to be a whole lot of help in my case.

    K so I just setup a simple mxml file for it
    <?xml version="1.0"?>
    <sa:SimpleApp xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:mx="library://ns.adobe.com/flex/mx"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:sa="com.simpleapp.*" />
    Now it seems to be happy. Thanks.

  • TypeError: Error #1007: Instantiation attempted on a non-constructor... sometimes

    package{
              import flash.display.MovieClip;
              import flash.events.MouseEvent;
              public class MainTimeline extends MovieClip{
                             private var movieArray:Array = new Array(8);
                             private          var myMovieClip:Array = new Array(18);
                             private          var sco:Array = new Array(6);
                             private var i:Number = 0;
                             private var rangeX:Number = 0;
                             private          var sumScore:Number = 0;
                             public function MainTimeline(){
                                            movieArray = [tele01, tele02, tele03, tele04, duck01, monkey01, pig01, boom01]; //Animation MovieClip from library
                                            myMovieClip = [myMovieClip1, myMovieClip2, myMovieClip3, myMovieClip4, myMovieClip5, myMovieClip6]; //Blank MovieClip from library
                                            for (i = 0; i < 6; i++)
                                                           var number:Number = Math.floor(Math.random() * 9);
                                                           myMovieClip[i] = new movieArray[number]; //create Animation MovieClip to Blank MovieClip
                       myMovieClip[i].x = rangeX;
                                                           myMovieClip[i].y = 90;
                                                           sco[i] = 50;
                                                           addChild(myMovieClip[i]);
                                                           rangeX += 132;
               myMovieClip[0].addEventListener(MouseEvent.CLICK, disappear1);
               myMovieClip[1].addEventListener(MouseEvent.CLICK, disappear2);
               function disappear1(e:MouseEvent):void {
                                                          myMovieClip[0].visible=false;
                      sumScore = sumScore + sco[0];
                      score.text = sumScore.toString();
                                        function disappear2(e:MouseEvent):void {
                                                      myMovieClip[1].visible=false;
                                                      sumScore = sumScore + sco[1];
                                                      score.text = sumScore.toString();
    I am a Newbie of AS3 and I dont't undersatnd why this code can run successfully sometimes, sometimes not and told me "TypeError: Error #1007: Instantiation attempted on a non-constructor."
    Please, help me... I try to solve anything. Thank you.

    Change...
    myMovieClip[i] = new movieArray[number];
    to
    myMovieClip[i] = new Array[number];
    OR
    myMovieClip[i] = movieArray[number];
    I'm not sure of the intention

Maybe you are looking for

  • Songs "missing" from playlist still in library

    I've seen similar threads but my issue is slightly different. I do apologize if this is a duplicate post. In many of my playlists, a song will now be marked as missing by an exclamation point.  However, the song is still in the library and I can manu

  • Conversion Error in Inbound Idoc

    Hi team, I have a file with Chinese characters on them. Running the program RSEINB00 results to a conversion error. After debugging, I found out that the error was caused by these Chinese characters. I am already logged in 'ZF' language. Is there som

  • File to MS-Access database

    Hello All, I have been trying with scenario where in File content needs to create records in MS-Access database. As it is MS-Access there would not be any specific driver installation and i configured everything as specified and required but still i

  • BODS / SAP : what set-ups are required for communicating with each other ?

    Hi. There is a new SAP system And there is a new BODS installation. Both on independent server machines but on the same lan network. On the test system of BODS. We tried to see how the communication happens with SAP. While we try some test jobs by tr

  • Collab API: Setting properties on a task/task list

    Anyone know whether it is possible to set a task/tasklist to display in the calendar programmatically? Cant see an obvious way of doing it (and we really need to!)