Help Understanding Event Model

I am having trouble getting items initialized ontime. I have
read the flex 3 development guide and some other docunentation a
couple of times and i have read other posts on this forum
concerning the creationComplete event. I still don't have a clear
picture of how this works.
The development guide says the following:
initialize - Dispatched when a component and all its children
have been created, but before the component size has
been determined.
creationComplete - Dispatched when the component has been
laid out and the component is visible (if appropriate).
From this, I am assuming that using a creationComplete event
for a parent object should have access to any component ids on
child objects.
However, this is not happening in my code.
I have the following scenario:
Container1
->Container2 (child of Container1)
-->Datagrid (child of Container2)
In container 1, I attempt to register an event listener with
the itemClick event of the datagrid using the creationComplete
event. This fails. However, if I move this registration to a click
event on Container 1, it is successful. So the problem appears to
be related to instantiation of the datagrid. So why would the
dataGrid not be instantiated by the time the Container1
creationComplete event fires?

"rss181919" <[email protected]> wrote in
message
news:gfeqai$gr6$[email protected]..
>I am having trouble getting items initialized ontime. I
have read the flex
>3
> development guide and some other docunentation a couple
of times and i
> have
> read other posts on this forum concerning the
creationComplete event. I
> still
> don't have a clear picture of how this works.
>
> The development guide says the following:
> initialize - Dispatched when a component and all its
children have been
> created, but before the component size has
> been determined.
> creationComplete - Dispatched when the component has
been laid out and the
> component is visible (if appropriate).
A lot of this depends. For instance, if Container1 is a
ViewStack or if
Container2 is added via addChild, Container2 might or might
exist at
creationComplete of Container1. All bets are off on creation
of children of
Container2 at creationComplete of Container1 :-).
> From this, I am assuming that using a creationComplete
event for a parent
> object should have access to any component ids on child
objects.
>
> However, this is not happening in my code.
> I have the following scenario:
> Container1
> ->Container2 (child of Container1)
> -->Datagrid (child of Container2)
>
> In container 1, I attempt to register an event listener
with the itemClick
> event of the datagrid using the creationComplete event.
This fails.
> However,
> if I move this registration to a click event on
Container 1, it is
> successful.
> So the problem appears to be related to instantiation of
the datagrid. So
> why
> would the dataGrid not be instantiated by the time the
Container1
> creationComplete event fires?
Try dispatching a custom bubbling event from the
creationComplete event of
the datagrid that you listen for from Container1. Or, just
have Container2
do the handling and generate a custom event based on the
itemClick. That's
probably the "Flexier" way to handle it.
HTH;
Amy

Similar Messages

  • Need help about 2948g model by s/n FOX0529011C

    Help please to understand what model of 2948g series switch have serial number FOX0529011C I would like to bay this one,but i don't know what is this (I need onlu 2948g-layer 3 model). The seller don't know too
    Thank you

    Hi again,
    Problem solved, here is what I did:
    *An Https service is required, go the transaction SMICM, click GoTo->Services,
    *If no https service is listed, create one (port = 443),
    You can check SMICM trace file in order to make sure sapcryptolib settings (profile parameters etc.) are correct:
    [Thr 8700]   profile param "ssl/ssl_lib" = "C:\usr\sap\...\exe\sapcrypto.dll"
               resulting Filename = "C:\usr\sap\...\exe\sapcrypto.dll"
    [Thr 8700] =   found SAPCRYPTOLIB  5.5.5C pl26  (Mar  6 2009) MT-safe
    [Thr 8700] =   current UserID:xxxxx
    [Thr 8700] =   found SECUDIR environment variable
    [Thr 8700] =   using SECUDIR=C:\usr\sap\...\sec
    [Thr 8700] = Success    SapCryptoLib SSL ready!
    [Thr 8700] =================================================

  • I need help understanding how the Apple components integrate to create a system across all my devices?

    I need help understanding how the Apple components connect to create a whole system across all my devices?
    Is there a resource that describes current system and associated functionality?
    For example:
    Buy A, B, C to achieve "X" 
    You will need:
    an internet provider which supports <specs>
    add D to achieve "Y"
    You will need:
    an internet provider which supports <specs>
    add "E" to achieve "Z"
    You will need:
    an internet provider which supports <specs>
    For example, I am looking at the Gen 6 Airport extreme.  For intended performance do I need broadband? if so what are the specs, or will basic internet service suffice?  Do I need the internet provider's modem or does the Airport extreme replace that?  And then I think, if I am doing this, I should also look at Apple TV....What do I need and Why?  Then I look at the New Desk top coming out in the fall, and I think well, if I wait and get this, what does this component do for the system, and what becomes redundant? What does this awesome desktop do for my ability to sit and use a new macbook air when I travel  or sit on the couch in my PJs?
    If there was a place that plainly stated "if you buy the new dektop you can configure a system including only these components and achieve <this result> and by adding <additional components> you will achieve this result.
    I have been to the genius store a few times, but I come out of there more confused unless I have SPECIFIC questions or already know what to buy. 
    A "System Configuration App" would be a really great sales tool--Just saying.

    I have no idea what "fully optimized" means.
    No Apple device will let you watch broadcast TV. The Apple TV is a good option for watching streaming TV from iTunes, NetFlix and Hulu. If you want to watch from other sources, you may need to look at other devices.
    Any Mac computer or iPad will allow you to surf the web.
    What business software?
    Time Capsule is a good option for back ups.
    Update what across all devices?
    For accessing documents from all devices, a service like Dropbox is your best bet.
    I have no idea what "step as far away from an internet provider as possible" means. If you want Internet access, you need an Internet provider.
    Lighting fast speed for what? Processor? The specs are listed for all devices in the Online Store. Internet? We're back to the service provider.
    Technology changes. The only way to keep pace with it beyond a couple of years is to buy new stuff.
    The bottom line is you need to look at the specs for devices availble and at your budget and decide what best meets your needs. If you are unable to do that on your own, there are lot of technology consultants out there who will, for a fee, look at your exact situation, make recommendations and even handle the purchase and set up. Perhaps that would be the best route for you.
    Best of luck.

  • I need help with event structure. I am trying to feed the index of the array, the index can vary from 0 to 7. Based on the logic ouput of a comparison, the index buffer should increment ?

    I need help with event structure.
    I am trying to feed the index of the array, the index number can vary from 0 to 7.
    Based on the logic ouput of a comparison, the index buffer should increment
    or decrement every time the output of comparsion changes(event change). I guess I need to use event structure?
    (My event code doesn't execute when there is an  event at its input /comparator changes its boolean state.
    Anyone coded on similar lines? Any ideas appreciated.
    Thanks in advance!

    You don't need an Event Structure, a simple State Machine would be more appropriate.
    There are many examples of State Machines within this forum.
    RayR

  • Import finished with few errors...Help understanding it!

    Hi all,
    Yesterday, I finished to do an import in oracle. I used the impdp command and got few errors after the import was done. Here are some bits from my log. It was very long but I shortened it with the most common errors. I would appreciate your help understanding what does each error mean, and whether there's a solution available.
    Thanks!
    El sql que falla es:
    CREATE TABLESPACE "SYSAUX" DATAFILE SIZE 125829120 LOGGING ONLINE PERMANENT BLOCKSIZE 16384 EXTENT MANAGEMENT LOCAL AUTOALLOCATE DEFAULT NOCOMPRESS SEGMENT SPACE MANAGEMENT AUTO
    ORA-39083: Fallo de creación del tipo de objeto TABLESPACE con el error:
    ORA-02236: nombre de archivo no válido
    El sql que falla es:
    CREATE TABLESPACE "IN_SGC_BD" DATAFILE '+DISKGROUP_BD/sgtc/datafile/rsgtc_in_sgt_bd1' SIZE 132120576 LOGGING ONLINE PERMANENT BLOCKSIZE 16384 EXTENT MANAGEMENT LOCAL AUTOALLOCATE DEFAULT NOCOMPRESS SEGMENT SPACE MANAGEMENT MANUAL
    Procesando el tipo de objeto DATABASE_EXPORT/PASSWORD_VERIFY_FUNCTION
    ORA-31684: El tipo de objeto PASSWORD_VERIFY_FUNCTION ya existe
    Procesando el tipo de objeto DATABASE_EXPORT/SCHEMA/SEQUENCE/GRANT/OWNER_GRANT/OBJECT_GRANT
    ORA-39111: Se ha saltado el tipo de objeto dependiente OBJECT_GRANT:"SYSTEM", ya existe el tipo de objeto base SEQUENCE:"SYSTEM"."SDE_LOGFILE_LID_GEN"
    ORA-39083: Fallo de creación del tipo de objeto SYNONYM con el error:
    ORA-00995: falta el identificador de sinónimos o no es válido
    BEGIN
    dbms_resource_manager.create_consumer_group('AUTO_TASK_CONSUMER_GROUP','System maintenance task consumer group','ROUND-ROBIN');COMMIT; END;
    Procesando el tipo de objeto DATABASE_EXPORT/SYSTEM_PROCOBJACT/POST_SYSTEM_ACTIONS/PROCACT_SYSTEM
    ORA-39083: Fallo de creación del tipo de objeto PROCACT_SYSTEM con el error:
    ORA-29393: el usuario JAIMESP no existe o no está conectado
    El sql que falla es:
    BEGIN
    dbms_resource_manager.create_plan_directive('PLAN_DIA','SGTC_USR','',30,NULL,NULL,NULL,NULL,NULL,NULL,NULL,30,600,5,'SGTC_SWITCH',NULL,TRUE,NULL,10240,1800,900,1800);
    dbms_resource_manager.create_plan_directive('PLAN_DIA','SGTC_EDITOR','',40,NULL,NULL,NULL,NULL,NULL,NULL,NULL,10,600,10,'SGTC_SWITCH',NULL,TRUE,NULL,512000,1800,600,3600);
    dbms_r
    ORA-39083: Fallo de creación del tipo de objeto PROCACT_SYSTEM con el error:
    ORA-06550: línea 2, columna 72:
    PLS-00103: Se ha encontrado el símbolo "CHECK" cuando se esperaba uno de los siguientes:
    in like like2 like4 likec between member submultiset
    Procesando el tipo de objeto DATABASE_EXPORT/SCHEMA/TABLE/TABLE
    ORA-39151: La tabla "OUTLN"."OL$" existe. Todos los metadados dependientes y los datos se saltarán debido table_exists_action de saltar
    Procesando el tipo de objeto DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATA
    . . "SIGELEC"."SDE_BLK_37" 4.976 KB 0 filas importadas
    . . "SIGELEC"."SDE_BLK_38" 4.968 KB 0 filas importadas
    . . "SGC_BD"."BDE_CRECOBJE" 5.234 KB 0 filas importadas
    . . "SIGELEC"."D418" 4.851 KB 0 filas importadas
    . . "SYSTEM"."DBM_TOPSQL" 6.125 KB 0 filas importadas
    . . "SIGELEC"."F100" 5.562 KB 0 filas importadas
    . . "SIGELEC"."F101" 5.593 KB 0 filas importadas
    . . "SIGELEC"."F102" 14.77 KB 11 filas importadas
    Procesando el tipo de objeto DATABASE_EXPORT/SCHEMA/PROCEDURE/ALTER_PROCEDURE
    ORA-39082: El tipo de objeto ALTER_PROCEDURE:"SYSTEM"."GEN_ROLE_SGTC" se ha creado con advertencias de compilación
    ORA-39083: Fallo de creación del tipo de objeto PACKAGE_BODY con el error:
    ORA-04052: se ha producido un error al consultar el objeto remoto ENLACE.ELPQ_DATOPROY@CRE
    ORA-00604: se ha producido un error a nivel 4 de SQL recursivo
    ORA-12154: TNS:no se ha podido resolver el identificador de conexión especificado
    ORA-39082: El tipo de objeto TRIGGER:"SIGERED"."TR_CTRL_ENERGIZA" se ha creado con advertencias de compilación
    ORA-39083: Fallo de creación del tipo de objeto TRIGGER con el error:
    ORA-04052: se ha producido un error al consultar el objeto remoto ENLACE.ELPQ_DATOCONS@CRE
    ORA-00604: se ha producido un error a nivel 4 de SQL recursivo
    ORA-12154: TNS:no se ha podido resolver el identificador de conexión especificado
    El sql que falla es:
    ALTER TRIGGER "SIGERED"."TR_CTRL_ENERGIZA" COMPILE PLSQL_OPTIMIZE_LEVEL= 2 PLSQL_CODE_TYPE= INTERPRETED PLSCOPE_SETTINGS= 'IDENTIFIERS:NONE'
    ORA-39082: El tipo de objeto TRIGGER:"SIGERED"."TR_CTRL_CONCLUYE" se ha creado con advertencias de compilación
    El sql que falla es:
    BEGIN SYS.DBMS_IJOB.SUBMIT( JOB=> 165, LUSER=> 'SYSTEM', PUSER=> 'SYSTEM', CUSER=> 'SYSTEM', NEXT_DATE=> TO_DATE('2012-05-02 01:00:00', 'YYYY-MM-DD:HH24:MI:SS'), INTERVAL=> 'TRUNC(SYSDATE+1)+1/24', BROKEN=> FALSE, WHAT=> 'dbms_stats.gather_schema_stats(ownname => ''SIGERED'',options => ''GATHER'',estimate_percent => null,method_opt => ''FOR ALL COLUMNS SIZE 1'',cas
    ORA-39083: Fallo de creación del tipo de objeto JOB con el error:
    ORA-00001: restricción única (SYS.I_JOB_JOB) violada
    El sql que falla es:
    BEGIN SYS.DBMS_IJOB.SUBMIT( JOB=> 47, LUSER=> 'SIGERED', PUSER=> 'SIGERED', CUSER=> 'SIGERED', NEXT_DATE=> TO_DATE('2012-05-02 01:00:00', 'YYYY-MM-DD:HH24:MI:SS'), INTERVAL=> 'TRUNC(SYSDATE+1)+01/24', BROKEN=> FALSE, WHAT=> 'SIGERED.RDPQ_PROYECTOS.PR_PROCESAR;', NLSENV=> 'NLS_LANGUAGE=''AMERICAN'' NLS_TERRITORY=''AMERICA'' NLS_CURRENCY=''$'' NLS_ISO_CURRENCY=''AMERI
    Procesando el tipo de objeto DATABASE_EXPORT/SCHEMA/POST_SCHEMA/PROCACT_SCHEMA
    Procesando el tipo de objeto DATABASE_EXPORT/SCHEMA/PASSWORD_HISTORY
    ORA-39083: Fallo de creación del tipo de objeto PASSWORD_HISTORY con el error:
    ORA-01858: se ha encontrado un carácter no numérico donde se esperaba uno numérico
    El trabajo "SYS"."SYS_IMPORT_FULL_01" ha terminado con 2249 error(es) en 17:21:02

    Hello people,
    I just run for the second time a full import, and it said it finished correctly.
    The first time I run it, there was a message which said that the import had finished with 2249 errors (I checked my log and not all of them were errors but messages). I checked each single message and only had to solve a couple of things.
    I first created a user in response to an ora-29393: user string does not exist or is not logged on.
    The second thing I did was to run the utlrp.sql file in response to an ORA-39082. I did this according to this blog.
    I know oracle is taking precedence each time I run an import. I don’t know if what I have done is okay or perhaps not all data was imported after all. This is the thread which I posted initially when errors came out.
    Any reply is a supply.
    Thanks loads

  • AS3 event model broken?

    Recently I posted a
    question
    on this forum regarding the mouseclick event. After some
    experimenting I finally figured out that the AS3 event model might
    be broken.
    I include two classes to illustrate my point.
    The first has a sprite inside a sprite. The inside sprite has
    a box drawn in it. As expected when clicking the box you get two
    click events, one for the inside sprite and one for the outside
    one.
    The second has exactly the same structure, yet you only get
    one click event(for the outside sprite). What changed in the second
    is that I rearranged the structure of the display list so that my
    class ClickTest2 becomes the inner sprite.
    How can we explain this behaviour? My only suspicion is that
    somehow the basic class of the application although being a sprite
    is treated in a special manner.

    "Roland G" <[email protected]> wrote in
    message
    news:gg7alf$sgj$[email protected]..
    > Recently I posted a
    >
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60&catid=58
    > 5&threadid=1407048&enterthread=y on this forum
    regarding the mouseclick
    > event.
    > After some experimenting I finally figured out that the
    AS3 event model
    > might
    > be broken.
    > I include two classes to illustrate my point.
    > The first has a sprite inside a sprite. The inside
    sprite has a box drawn
    > in
    > it. As expected when clicking the box you get two click
    events, one for
    > the
    > inside sprite and one for the outside one.
    > The second has exactly the same structure, yet you only
    get one click
    > event(for the outside sprite). What changed in the
    second is that I
    > rearranged
    > the structure of the display list so that my class
    ClickTest2 becomes the
    > inner
    > sprite.
    >
    > How can we explain this behaviour? My only suspicion is
    that somehow the
    > basic
    > class of the application although being a sprite is
    treated in a special
    > manner.
    I'm really amazed that having an object remove itself from
    the stage and
    reparent itself works at all. It's not surprising that screws
    stuff up.

  • Event model in swing

    Since swing is a light-weight system,
    why does it use awt event model?
    Will it fall back to a heavy-weight system?

    Swing components are derived from AWT components (java.awt.Component). If the AWT event model ain't broke, don't fix it.

  • Help understand how this works

    Hows everyone doing, i need some help understand this. This is my first time using Lulu. From the reviews i'v read about it they tell me this is the #1 place to come to to get my books printed. Here the question,  i have all 3 of my books ready to be uploaded do i just sent that in, then they send me the prints ? or so they self them for me. Sorry if this seems like a dumb question, but its my first time using this particular site.

    Here's a quick overview:
    You start the new book wizard. Click "Create," pick a book type and size (hardcover, paperback, etc.; 6x9, 8.5 x 11, etc.), and click "Make this book."
    Hint: If you want the widest distribution for your book, pick a size / type that has a green checkmark next to it.
    The wizard will guide you to name your book, apply an ISBN (or get a free one), upload your contents, and upload your cover or design a cover. It will guide you to set pricing and distribution, and many other options.
    When you've done all that, your book will be available to order. You will see two prices: the one you pay, and the one other people pay. The one you pay is the printing cost per book. It may be anywhere from $2.50 to $20.00 or more, depending on options you pick -- probably coser to the low end.
    On that first page, where it says "Create," there is a calculator that will figure roughly what your book will cost (printing costs), so you can plan your options around that calculator.
    So you order as many books as you want, pick shipping, pay with a credit card, and in a few days, the books are on your doorstep.
    I hope that helps.

  • Help understanding ABAP Proxies

    Can someone point me to documentation to help understand ABAP proxies?  What they are, why I would use them and what are the considerations in using them over BAPI's or IDOCS?  I had a recent discussion with someone who is choosing to not use them because of security considerations.

    Hi Rick,
    For ABAP proxy documentation refer...
    http://help.sap.com/saphelp_nw04/helpdata/en/ab/585f3c482a7331e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/content.htm
    For considerations in using proxy over BAPI's or IDOCS Refer...
    /people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
    Regards
    Anand

  • Converting 1.0 event model to 1.1

    I am working on converting a game that uses the 1.0 event-handling model to 1.1 (in preparation for eventual conversion to Swing).
    I have reached the point of saturation where I'm probably missing the obvious things that will fix my problem, so I'm hoping someone here can get me on a better track.
    I'm working with a the class gsIndustry (you can see it at http://stardart.funkychickendesign.com/gsIndustry.java) which is a subclass of my GameState class, which in turn I have recently made a subclass of Panel. GameState.root is the applet.
    The functions down, drag, raise, etc. are all being overridden from GameState because they were involved in the 1.0 event-handling. Most everything seems to be working at the moment except processing ActionEvents from any of the buttons (you can ignore GraphicalButton, it's kind of a seperate issue).
    If anyone has guidance, it would be much appreciated.

    Here's an example of an anonymous class being used as an button ActionListener that conforms to the latest event model.
    myButton.addActionListener(new ActionListener() {
         public void actionPerformed(ActionEvent e) {
              // do whatever
    });

  • Need some help understanding the way materialized views are applied through

    Hi, I need some help understanding the way materialized views are applied through adpatch.
    In patch 1, we have a mv with build mode immediate. When applying it PTS hang due to pool performance of mv refresh.
    So we provide patch 2, with that mv build mode deferred, hoping it'll go through. But patch 2 hang too on the same mv.
    How does this work? Is that because mv already exists in the database with build immediate, patch 2 will force it to refresh first before changing build mode? How to get over this?
    Thanks,
    Wei

    Hi Hussein,
    Thank you for the response.
    Application release is 11.5.10.
    Patch 1 is MSC11510: 8639586 ASCP ENGINE RUP#38 PATCH FOR 11.5.10 BRANCH
    Patch 2 is MSC11510: 9001833 APCC MSC_PHUB_CUSTOMERS_MV WORKER IS STUCK ON "DB FILE SEQUENTIAL READ" 12 HOURS
    The MV is APPS.MSC_PHUB_CUSTOMERS_MV
    This happens at customer environment but not reproducable in our internal environment, as our testing data is much smaller.
    Taking closer look in the logs, I saw actually when applying both patch 1 and patch 2, MV doesn't exist in the database. So seems my previous assumption is wrong. Still, strange that patch 2 contains only one file which is the MV.xdf, it took 7 hours and finally got killed.
    -- patch 1 log
    Materialized View Name is MSC_PHUB_CUSTOMERS_MV
    Materialized View does not exist in the target database
    Executing create Statement
    Create Statement is
    CREATE MATERIALIZED VIEW "APPS"."MSC_PHUB_CUSTOMERS_MV"
    ORGANIZATION HEAP PCTFREE 10 PCTUSED 40 INITRANS 10 MAXTRANS 255 LOGGING
    STORAGE(INITIAL 4096 NEXT 131072 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 4 FREELIST GROUPS 4 BUFFER_POOL DEFAULT)
    TABLESPACE "APPS_TS_SUMMARY"
    BUILD IMMEDIATE
    USING INDEX
    REFRESH FORCE ON DEMAND
    WITH ROWID USING DEFAULT LOCAL ROLLBACK SEGMENT
    DISABLE QUERY REWRITE
    AS select distinct
    from
    dual
    AD Worker error:
    The above program failed. See the error messages listed
    above, if any, or see the log and output files for the program.
    Time when worker failed: Tue Feb 02 2010 10:01:46
    Manager says to quit.
    -- patch 2 log
    Materialized View Name is MSC_PHUB_CUSTOMERS_MV
    Materialized View does not exist in the target database
    Executing create Statement
    Create Statement is
    CREATE MATERIALIZED VIEW "APPS"."MSC_PHUB_CUSTOMERS_MV"
    ORGANIZATION HEAP PCTFREE 10 PCTUSED 40 INITRANS 10 MAXTRANS 255 LOGGING
    STORAGE(INITIAL 4096 NEXT 131072 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 4 FREELIST GROUPS 4 BUFFER_POOL DEFAULT)
    TABLESPACE "APPS_TS_SUMMARY"
    BUILD DEFERRED
    USING INDEX
    REFRESH COMPLETE ON DEMAND
    WITH ROWID USING DEFAULT LOCAL ROLLBACK SEGMENT
    DISABLE QUERY REWRITE
    AS select distinct
    from dual
    Start time for statement above is Tue Feb 02 10:05:06 GMT 2010
    Exception occured ORA-00028: your session has been killed
    ORA-00028: your session has been killed
    ORA-06512: at "APPS.AD_MV", line 116
    ORA-06512: at "APPS.AD_MV", line 258
    ORA-06512: at line 1
    java.sql.SQLException: ORA-00028: your session has been killed
    ORA-00028: your session has been killed
    ORA-06512: at "APPS.AD_MV", line 116
    ORA-06512: at "APPS.AD_MV", line 258
    ORA-06512: at line 1
    Exception occured :No more data to read from socket
    AD Run Java Command is complete.
    Copyright (c) 2002 Oracle Corporation
    Redwood Shores, California, USA
    AD Java
    Version 11.5.0
    NOTE: You may not use this utility for custom development
    unless you have written permission from Oracle Corporation.
    AD Worker error:
    The above program failed. See the error messages listed
    above, if any, or see the log and output files for the program.
    Time when worker failed: Tue Feb 02 2010 19:51:27
    Start time for statement above is Tue Feb 02 12:44:52 GMT 2010
    End time for statement above is Tue Feb 02 19:51:29 GMT 2010
    Thanks,
    Wei

  • Help understanding simple query trace with 35,000 "query subcube" events

    No matter WHAT query I issue against my cube, I'm finding thousands of query subcube events against an unexpected , I assume it's a partition.
    Even for the simplest possible query SELECT FROM <CUBE>, which for this cube would return the measure [MRN Distinct Count], a trace reveals 35,000 query subcube events against a partition (?) called "<server>.Medical Home.MedHome.Lab Orders
    With Results" which is NOT the partition that holds that [MRN Distinct Count] measure.
    I can't figure out why this object is being queried so many times for queries completely unrelated to it.  I believe this performance degradation is somewhat new...so I have been trying to think of what may have been added to the cube recently.
    I recently added KPIs and calculated sets & members that DO draw from that Lab Orders With Results object...would calculated members or KPI's cause this kind of problem? I thought that they were all pre-calculated @ processing?
    Thanks for any insight you can provide
    Here's a summary of the profiler trace on the query SELECT FROM <CUBE>
    Event Desc
    # of Events
    ObjectPath
    Duration
    Query Begin
    1
    NULL
    0
    Query Cube Begin
    1
    <server>.Medical Home.MedHome
    0
    Query Subcube Verbose
    11
    <server>.Medical Home.MedHome.Fact Dx 2
    189
    Query Dimension
    7
    <server>.Medical Home.Dim Person
    0
    Query Subcube Verbose
    35650
    <server>.Medical Home.MedHome.Lab Orders With Results
    13856
    Serialize Results Begin
    1
    <server>.Medical Home.MedHome
    0
    Serialize Results Current
    4
    <server>.Medical Home.MedHome
    0
    Query Subcube Verbose
    5
    <server>.Medical Home.MedHome.Dim Person
    0
    Serialize Results Current
    1
    <server>.Medical Home.MedHome
    0
    Serialize Results End
    1
    <server>.Medical Home.MedHome
    0
    Query Cube End
    1
    <server>.Medical Home.MedHome
    40919
    Query End
    1
    NULL
    41059
    Paul

    RedBirdRising - my cube had several dynamic calculated sets in it.  As I recall several of those sets included slices on that one particular dimension that was being queried so many times. For me it was sets that compiled populations of people
    with particular lab result values, so that lab result partition was queried thousands of times for ANY query, even simple ones like SELECT FROM [CUBE].  
    To be precise, I actually had calculated sets interacting with calculated measures - for example, one of the offending calculated sets was really this series of calculations:
    -CALC SET 1: define calculated set of diabetic patients
    -CALC MEASURE 1: define calculated measure for most recent lab test result of a particular lab test - which included a slice on the dimension I found being queried thousands of times.
    -DYNAMIC calculated set: FILTER(CALC SET1, CALC MEASURE 1 <= x)
    So as soon as I switched that dynamic set to a STATIC set my queries began executing in a reasonable amount of time and those query subcube events were no longer issued in the thousands.  I feel like i've heard that FILTER performs poorly but didn't
    know of any alternatives to achieve what we needed.
    hope this helps...I can't say I know for sure what unforseen impact(s) switching to static sets has had yet.  Dynamic seemed like the way to go but the performance hit was just too drastic.  
    Paul

  • Help understanding panic report

    Hello,
    I have a straight forward question.  A person is trying to render in Adobe Aftereffects and it has a kernel panic.  Below is the report.  Can someone help me understand it?  Thanks.
    Interval Since Last Panic Report:  30319302 sec
    Panics Since Last Report:          2
    Anonymous UUID: 580CCAEB-2490-467F-AD68-6573BE1D656D
    Wed Sep 26 14:44:21 2012
    panic(cpu 0 caller 0x2abf6a): Kernel trap at 0x883f1f52, type 14=page fault, registers:
    CR0: 0x8001003b, CR2: 0x0000008c, CR3: 0x00100000, CR4: 0x00000668
    EAX: 0x00000001, EBX: 0x0aab3000, ECX: 0x00000000, EDX: 0x00000001
    CR2: 0x0000008c, EBP: 0x87f522d8, ESI: 0x20a62cf0, EDI: 0x00000000
    EFL: 0x00010246, EIP: 0x883f1f52, CS:  0x00000008, DS:  0x00000010
    Error code: 0x00000002
    Backtrace (CPU 0), Frame : Return Address (4 potential args on stack)
    0x87f520c8 : 0x21b837 (0x5dd7fc 0x87f520fc 0x223ce1 0x0)
    0x87f52118 : 0x2abf6a (0x59e3d0 0x883f1f52 0xe 0x59e59a)
    0x87f521f8 : 0x2a1a78 (0x87f52210 0x0 0x87f522d8 0x883f1f52)
    0x87f52208 : 0x883f1f52 (0xe 0x48 0x87f50010 0x13e20010)
    0x87f522d8 : 0x883f21dc (0xaab3000 0x85e12cf0 0x20a62cf0 0x0)
    0x87f52348 : 0x883fa734 (0xaab3000 0xc976e00 0x0 0x0)
    0x87f52368 : 0x88426b2a (0xc976e00 0xa 0x87f523b8 0x88421bc5)
    0x87f523b8 : 0x883f25ca (0xc246400 0xaab3000 0x90269 0x0)
    0x87f523f8 : 0x883e32c8 (0xaab3000 0x85e0e640 0x4000 0x0)
    0x87f52438 : 0x883e338b (0xaab3000 0x0 0x0 0x0)
    0x87f52468 : 0x883f1755 (0xaab3000 0xaab3000 0x0 0x0)
    0x87f52498 : 0x883f17fd (0xaab3000 0x0 0x80 0x0)
    0x87f524f8 : 0x883d7889 (0xaab3000 0x0 0x73e56080 0x23e83080)
    0x87f52558 : 0x883d85ef (0x69d18000 0xcee9000 0xaab3000 0x69d32e78)
    0x87f52758 : 0x883d8762 (0x69d18000 0xcee9000 0x0 0x0)
    0x87f52788 : 0x883a94f3 (0x69d18000 0xcee9000 0x0 0x0)
    0x87f527c8 : 0x883d9601 (0x69d18000 0xcee9000 0x0 0x0)
    0x87f52828 : 0x883a867c (0x69d18000 0xcee9000 0x87f52868 0x883d762f)
    0x87f52868 : 0x883b0abd (0x69d18000 0x69e72280 0x140 0x1)
    0x87f528c8 : 0x883da180 (0x69d18000 0x0 0x69e72280 0x140)
    0x87f52908 : 0x88422690 (0x69d18000 0xd0bb800 0x69e72280 0x140)
    0x87f52958 : 0x88422314 (0x69e72000 0x69d33d20 0x1 0x81)
    0x87f52978 : 0x883b6c46 (0x69e72000 0xd0af800 0xc4 0xae9bf00)
    0x87f52ab8 : 0x883f05d8 (0x69e72000 0x1 0x87f52bcc 0x87f52bc8)
    0x87f52b68 : 0x883b2fe1 (0x69e72000 0x1 0x87f52bcc 0x87f52bc8)
    0x87f52be8 : 0x56da06 (0x69e72000 0x0 0x87f52e3c 0x87f52c74)
    0x87f52c38 : 0x56e2a5 (0x88441720 0x69e72000 0xb252b88 0x1)
    0x87f52c88 : 0x56eb59 (0x69e72000 0x10 0x87f52cd0 0x0)
    0x87f52da8 : 0x286638 (0x69e72000 0x10 0xb252b88 0x1)
    0x87f53e58 : 0x21dbe5 (0xb252b60 0xae405a0 0x1f9d58 0x19803)
    0x87f53e98 : 0x210a86 (0xb252b00 0x0 0x13c6e260 0x13ed2500)
    0x87f53ef8 : 0x216f84 (0xb252b00 0x0 0x0 0x0)
    0x87f53f78 : 0x295c57 (0xb3ef9e8 0x0 0x0 0x0)
    0x87f53fc8 : 0x2a256d (0xb3ef9e4 0x1 0x10 0xb3ef9e4)
          Kernel Extensions in backtrace (with dependencies):
             com.apple.GeForce(6.3.6)@0x883a7000->0x8845dfff
    dependency: com.apple.NVDAResman(6.3.6)@0x8897c000
    dependency: com.apple.iokit.IONDRVSupport(2.2.1)@0x87473000
    dependency: com.apple.iokit.IOPCIFamily(2.6.5)@0x788ca000
    dependency: com.apple.iokit.IOGraphicsFamily(2.2.1)@0x87322000
    BSD process name corresponding to current thread: aeselflink
    Mac OS version:
    10K549
    Kernel version:
    Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386
    System model name: MacPro4,1 (Mac-F221BEC8)
    System uptime in nanoseconds: 16008471078820
    unloaded kexts:
    com.apple.driver.AppleFileSystemDriver 2.0 (addr 0x85934000, size 0x12288) - last unloaded 104909457489
    loaded kexts:
    com.aja.iokit.konalhi      7.0.1
    com.dark.iokit.dvkey     1.0.0d1
    com.apple.filesystems.smbfs     1.6.7 - last loaded 219210893593
    com.apple.driver.AppleHWSensor 1.9.3d0
    com.apple.driver.AppleTyMCEDriver 1.0.2d2
    com.apple.driver.AGPM 100.12.31
    com.apple.driver.AppleUpstreamUserClient 3.5.7
    com.apple.driver.AppleMikeyHIDDriver 1.2.0
    com.apple.driver.AppleMCCSControl 1.0.20
    com.apple.Dont_Steal_Mac_OS_X 7.0.0
    com.apple.driver.AppleMikeyDriver 2.0.5f14
    com.apple.GeForce 6.3.6
    com.apple.driver.Intel82574L     2.1.8b1
    com.apple.driver.AudioAUUC    1.57
    com.apple.driver.AppleIntelNehalemProfile 11
    com.apple.driver.AudioIPCDriver 1.1.6
    com.apple.driver.AppleHDA 2.0.5f14
    com.apple.driver.AppleUSBDisplays 289
    com.apple.driver.AirPortBrcm43224 428.42.4
    com.apple.driver.ACPI_SMC_PlatformPlugin 4.7.0a1
    com.apple.driver.AppleLPC 1.5.1
    com.apple.filesystems.autofs    2.1.0
    com.apple.iokit.IOAHCIBlockStorage 1.6.4
    com.apple.iokit.SCSITaskUserClient 2.6.8
    com.apple.BootCache   31.1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
    com.apple.driver.AppleFWOHCI 4.7.3
    com.apple.driver.AppleUSBHub 4.2.4
    com.apple.driver.AppleAHCIPort 2.1.7
    com.apple.driver.AppleUSBEHCI 4.2.4
    com.apple.driver.AppleUSBUHCI 4.2.0
    com.apple.driver.AppleEFINVRAM 1.4.0
    com.apple.driver.AppleRTC 1.3.1
    com.apple.driver.AppleHPET      1.5
    com.apple.driver.AppleACPIButtons 1.3.6
    com.apple.driver.AppleSMBIOS 1.7
    com.apple.driver.AppleACPIEC 1.3.6
    com.apple.driver.AppleAPIC      1.4
    com.apple.driver.AppleIntelCPUPowerManagementClient 142.6.0
    com.apple.security.sandbox 1
    com.apple.security.quarantine  0
    com.apple.nke.applicationfirewall 2.1.14
    com.apple.driver.AppleIntelCPUPowerManagement 142.6.0
    com.apple.driver.AppleProfileReadCounterAction 17
    com.apple.driver.AppleProfileTimestampAction 10
    com.apple.driver.AppleProfileThreadInfoAction 14
    com.apple.driver.AppleProfileRegisterStateAction 10
    com.apple.driver.AppleProfileKEventAction 10
    com.apple.driver.AppleProfileCallstackAction 20
    com.apple.iokit.IOSurface 74.2
    com.apple.iokit.IOBluetoothSerialManager 2.4.5f3
    com.apple.driver.DspFuncLib     2.0.5f14
    com.apple.driver.AppleSMBusController 1.0.10d0
    com.apple.nvidia.nv50hal 6.3.6
    com.apple.NVDAResman 6.3.6
    com.apple.iokit.IONDRVSupport 2.2.1
    com.apple.iokit.IOFireWireIP     2.0.3
    com.apple.driver.AppleUSBAudio 2.7.6f6
    com.apple.iokit.AppleProfileFamily 41
    com.apple.driver.AppleHDAController   2.0.5f14
    com.apple.iokit.IOHDAFamily     2.0.5f14
    com.apple.iokit.IOGraphicsFamily 2.2.1
    com.apple.iokit.IOAudioFamily  1.8.3fc2
    com.apple.kext.OSvKernDSPLib 1.3
    com.apple.iokit.IOSerialFamily   10.0.3
    com.apple.iokit.IO80211Family  320.1
    com.apple.iokit.IONetworkingFamily 1.10
    com.apple.driver.AppleSMC 3.1.0d5
    com.apple.driver.IOPlatformPluginFamily 4.7.0a1
    com.apple.driver.AppleSMBusPCI 1.0.10d0
    com.apple.driver.BroadcomUSBBluetoothHCIController 2.4.5f3
    com.apple.driver.AppleUSBBluetoothHCIController 2.4.5f3
    com.apple.iokit.IOBluetoothFamily 2.4.5f3
    com.apple.iokit.IOUSBHIDDriver 4.2.0
    com.apple.iokit.IOSCSIBlockCommandsDevice   2.6.8
    com.apple.driver.XsanFilter 402.1
    com.apple.iokit.IOUSBMassStorageClass 2.6.7
    com.apple.driver.AppleUSBMergeNub 4.2.4
    com.apple.driver.AppleUSBComposite  3.9.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice 2.6.8
    com.apple.iokit.IOBDStorageFamily 1.6
    com.apple.iokit.IODVDStorageFamily 1.6
    com.apple.iokit.IOCDStorageFamily 1.6.1
    com.apple.iokit.IOAHCISerialATAPI 1.2.6
    com.apple.iokit.IOSCSIArchitectureModelFamily 2.6.8
    com.apple.iokit.IOFireWireFamily 4.2.6
    com.apple.iokit.IOUSBUserClient 4.2.4
    com.apple.iokit.IOAHCIFamily    2.0.6
    com.apple.iokit.IOUSBFamily     4.2.4
    com.apple.driver.AppleEFIRuntime 1.4.0
    com.apple.iokit.IOHIDFamily 1.6.6
    com.apple.iokit.IOSMBusFamily 1.1
    com.apple.security.TMSafetyNet 6
    com.apple.kext.AppleMatch 1.0.0d1
    com.apple.driver.DiskImages     289
    com.apple.iokit.IOStorageFamily 1.6.3
    com.apple.driver.AppleACPIPlatform 1.3.6
    com.apple.iokit.IOPCIFamily 2.6.5
    com.apple.iokit.IOACPIFamily    1.3.0
    Model: MacPro4,1, BootROM MP41.0081.B07, 8 processors, Quad-Core Intel Xeon, 2.26 GHz, 6 GB, SMC 1.39f5
    Graphics: NVIDIA GeForce GT 120, NVIDIA GeForce GT 120, PCIe, 512 MB
    Memory Module: global_name
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8E), Broadcom BCM43xx 1.0 (5.10.131.42.4)
    Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports
    Network Service: Ethernet 1, Ethernet, en0
    PCI Card: pcif1d0,daff, sppci_video, Slot-3
    PCI Card: NVIDIA GeForce GT 120, sppci_displaycontroller, Slot-1
    Serial ATA Device: HL-DT-ST DVD-RW GH41N
    Serial ATA Device: WDC WD1001FALS-41K1B0, 931.51 GB
    Serial ATA Device: WDC WD1001FALS-41K1B0, 931.51 GB
    Serial ATA Device: ST2000DM001-9YN164, 1.82 TB
    USB Device: SBAC-US10, 0x054c  (Sony Corporation), 0x02d8, 0xfa400000 / 3
    USB Device: Hub, 0x0424  (SMSC), 0x2503, 0xfa200000 / 2
    USB Device: KEYBOARD, 0x4320, 0x0302, 0xfa230000 / 4
    USB Device: FreeAgent Pro, 0x0bc2  (Seagate LLC), 0x3110, 0xfd300000 / 3
    USB Device: Hub, 0x05ac  (Apple Inc.), 0x9136, 0xfd100000 / 2
    USB Device: USB OPTICAL MOUSE, 0x093a  (Pixart Imaging, Inc.), 0x2510, 0xfd110000 / 5
    USB Device: Hub, 0x05ac  (Apple Inc.), 0x9137, 0xfd140000 / 4
    USB Device: Display Audio, 0x05ac  (Apple Inc.), 0x2912, 0xfd141000 / 8
    USB Device: Display iSight, 0x05ac  (Apple Inc.), 0x8508, 0xfd142000 / 7
    USB Device: Apple LED Cinema Display, 0x05ac  (Apple Inc.), 0x9236, 0xfd143000 / 6
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x5a100000 / 2
    USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x8215, 0x5a110000 / 3
    FireWire Device: built-in_hub, Up to 800 Mb/sec

    i know I'm very very late but the solution is to turn off your mac. once mac is completely shut down press and hold shift+control+option and the power button at the same time, holding for 3 seconds! your mac should not turn on, in the event it does allow this! and see if that reset helps! it worked for me!!!!
    i hope this helps!
    oh by the way the is called a smc reset

  • Need help to read model node input field attribute present in view - first time developer.

    Hello Experts,
    I am new to CRM Web UI development.
    Presently, I am trying to develop a Guided Activity Page having 2 views.
    First view has the field Business Partner Number, I have added model Node BuilHeader and the attribute BP_NUMBER while creation of the view.
    The Second View consists of 2 fields from the Model Node BuilHeader, namely First Name and Last Name.
    The requirement is to enter the BP Number on the first screen then click on the NEXT button from the Guided Activity buttons, on navigating to the Second View, the Names should auto-populate.
    I have Created both views and the GP page, the GP navigation is also happening. Initially the fields were showing Not Bound text in value, so I commented the line in GET_I and GET methods to enable the field and remove the Not Bound text. I have created a custom controller with BuilHeader
    I have tried doing this but facing the below problems :
    1) When I enter the BP number on the first view and press Enter, the value disappears. How to solve this ?
    2) Does clicking on the NEXT button on the GP Navigation trigger a Server Roundtrip ?
    3) How to read the context node value of BP Number entered on the first view and populate the Name fields on the second view.
    Please help.........

    you can take reference from from below code as in above case we use BuilHeaderAdvancedSearch search object, to get current entity.
    data:    query        TYPE REF TO cl_crm_bol_dquery_service,.
      query ?= me->typed_context->BuilHeaderAdvancedSearch->collection_wrapper->get_current( ).
    Do not remove code from getter setter of fields , it will not clear.
    Check with http://scn.sap.com/thread/3391203 , for basic understanding of UI.
    Regards,
    Harish Kumar

  • Need help understanding ipv6

    Hi... I have a new wireless network camera and I've been successful at getting it connected but there is a big question as to whether I have the ipv6 part of it set up correctly... By the way, on the router end I have an AEBS...
    I've been trying to understand the correct format for an ipv6 IP address... I found a little Windows based utility called IP Convert that when I put in an ipv4 address like 10.0.1.252, it converts that to ::0A00:01FC which is simply the hex equivalent of the above decimal numbers... On the other hand the network camera produces a page that shows the same ipv4 address (10.0.1.252) in the ipv6 realm as one of the following two lines... (There is confusion as to which is really the ipv6 IP address but I don't understand either one or how they might relate to the simpler one, ::0A00:01FC, above... These two lines are,
    fe80::280:f0ff:fea7:8c5c
    2002:4c67:6043:0:280:f0ff:fea7:8c5c
    On one of the camera pages, both the above lines sit next to the single header, ipv6 IP Address...
    Can anyone make any sense out of these two lines I've posted above and how they might relate to 10.0.1.252 in the ipv4 realm???
    Any help would be much appreciated... thanks... bob...

    Hi Robert,
    You're correct -- IPv6 addresses are written in hex. But you can't just convert your IPv4 address to hex and have it be IPv6. IPv6 and IPv4 have different address spaces -- there is no connection between your IPv4 address and your IPv6 address.
    It sounds as if your network camera does in fact support IPv6. Out of curiosity, what model is it?
    Both of the IPv6 addresses you listed are being used by the camera. The fe80 address is its link-local address. These addresses are not routeable. They're used for internal "housekeeping" communication on the subnet (more technically, they're used for the IPv6 replacement for ARP, which isn't used in IPv6).
    The 2002 address is the camera's public IPv6 address.
    Having two addresses like this is very common for IPv6 devices. IPv6 devices always have the fe80 link-local address. In addition, they might have one or more public IPv6 addresses (which don't always start with 2002).
    Hope this helps,
    -derek

Maybe you are looking for