Error in using one's collection values in other collection

hi,
I want to fetch cursor s values based upon cursor r part_no column to populate childbkp table.but i m getting eror .plz help me to resolve.in code it might b many mistakes also.
declare
          TYPE PartNum IS TABLE OF parent.part_num%TYPE
          INDEX BY BINARY_INTEGER;
          pnum_t PartNum;
          TYPE PartName IS TABLE OF parent.part_name%TYPE
          INDEX BY BINARY_INTEGER;
          pnam_t PartName;
          CURSOR r IS
               SELECT part_num, part_name
               FROM parent;
          type r_part_num_arry IS TABLE OF r%rowtype;
          r_part_num r_part_num_arry;
          r_pnum_t parent.PART_NO%type;
          CURSOR s IS
               SELECT part_num, part_name
               FROM parent p where rownum=1 and p.PART_NO = r_pnum_t ;          
BEGIN
OPEN r;
LOOP
FETCH r BULK COLLECT INTO pnum_t, pnam_t LIMIT 1000;
     FORALL i IN pnum_t.FIRST .. pnum_t.LAST
     INSERT INTO child
     (part_num, part_name)
     VALUES
     (pnum_t(i), pnam_t(i));
     COMMIT;
               begin
                         OPEN s;
                         LOOP
                              r_pnum_t := pnum_t(i);
                         FETCH s BULK COLLECT INTO pnum_t, pnam_t LIMIT 1000;
                              FORALL i IN pnum_t.FIRST .. pnum_t.LAST
                              INSERT INTO child_bkp
                              (part_num, part_name)
                              VALUES
                              (pnum_t(i), pnam_t(i));
                              COMMIT;
                         EXIT WHEN s%NOTFOUND;
                         END LOOP;
                         COMMIT;
                         CLOSE s;     
               end;
EXIT WHEN r%NOTFOUND;
END LOOP;
COMMIT;
CLOSE r;
END ;

i need to run 1st qry based upoin below senerio.i need to do this work in collection case also.how to do it by collection.
declare
     CURSOR r IS
          SELECT part_num, part_name
          FROM parent;
          r_pnum_t parent.PART_Num%type;
          pnum_t      parent.PART_Num%type;
          pnam_t      parent.PART_Name%type;
          CURSOR s IS
          SELECT part_num, part_name
          FROM parent p where rownum=1 and p.PART_Num = r_pnum_t ;
BEGIN
     OPEN r;
     LOOP
          FETCH r INTO pnum_t, pnam_t ;
          INSERT INTO child(part_num, part_name)
          VALUES(pnum_t, pnam_t);
                              begin
                                   OPEN s;
                                   LOOP
                                        r_pnum_t := pnum_t ;
                                        FETCH s INTO pnum_t, pnam_t ;
                                        INSERT INTO child_bkp(part_num, part_name)
                                             VALUES(pnum_t, pnam_t);
                                        COMMIT;
                                   EXIT WHEN s%NOTFOUND;
                                   END LOOP;
                              COMMIT;
                              CLOSE s;
                              end;          
     EXIT WHEN r%NOTFOUND;
     END LOOP;
     COMMIT;
     CLOSE r;
     END

Similar Messages

  • Reg : Pass One Component's value to other component's value

    Hi all,
    I have the following code . Here I want to Pass :Pass One Component's value to other component's value
    <af:image binding="#{backingBeanScope.backing_OText.i1}"
    id="i1"
    source="#{(SkinBean.skinFamily == 'MSIE_D2I3')?'/images/d2i3Logo.gif':'/images/UDR_logo.jpg'}"
    shortDesc="Hello World"/>
    <af:spacer width="100" height="10"
    binding="#{backingBeanScope.backing_OText.s1}"
    id="s1"/>
    <af:outputText
    binding="#{backingBeanScope.backing_OText.ot1}"
    id="ot1"
    inlineStyle=" font-weight:normal; font-size:32pt; font-family:Georgia, 'Times New Roman', times, Serif;"
    value = *"Here I want to pass the value as 'Hello World' from The Image Component's ShortDesc"*
    Please give me the solution .
    Thanks inAdvance .

    since you already have the backing bean, you can try to set the value property to
    #{backingBeanScope.backing_OText.i1.shortDesc}regards,
    ~Krithika

  • Use one dimension to feed 2 other dimensions

    Is there a way to use one dimension to push data into two other dimensions using push logic?  The client has one dimension in App1 that is a combination of 2 dimensions in App2 ie the Costcenter dimension in App1 is a combination of Plant and Account in App2.
    Now they want to push data from App1 into App2 using the Costcenter dimension to populate the Plant and Account.
    I have Plant and Acct properties in the Costcenter dimension for mapping.
    I tried to use *Rename_dim CC= CC.Plant and *Rename_dim CC=CC.Acct but would get errors when validating the logic script.
    Any help would be greatly appreciated.

    Parameters
    COSTCENTER: 70101014
    When I test the logic using the logic debugger, I get the error:
    Validate member failed:
    70101014
    70101014
    70101014
    70101014 on COSTCENTER dimension
    When I run the logic thru data manager, the package is successful but the end of the detail status log is 'No records to process'
    The push logic should ideally take the Costcenter 70101014 from App1 and take the first 4 char (7010) and record to the Plant dimension in App2 then take the last 4 char (1014) and record to the Account dimension in App2
    Logic script:
    *DESTINATION_APP= APP2
    *RENAME_DIM CC = ACCOUNT
    *RENAME_DIM CC= PLANT
    *WHEN CATEGORY
    *IS "AOP"
    *REC(CC=CC.RPT_A,CC=CC.PLANT,CATEGORY=AOP)
    *ENDWHEN     
    *COMMIT

  • Use one account for apps and other for itunes match

    Hello everybody
    My question today is quite simple. I use one account for apps and tv shows, but inwant to use a different itunes account for purchasing itunes match. How can I use them both on my devices? Will it be asking for my user-pass each time i play a song? What other thing should i consider?
    Thank you in advance

    I would strongly recommend you not do this.  You will regret it.
    I have played with this issue a lot.  You have to remain signed into match in order for it to show up on your phone. If you sign out to purchase an app or redownload one from your appstore id you use then match will be removed from your phone and when you go into your music app the icloud will not be there.  You then have to go sign back out of the store id you used for your app purchase and then sign back into match and everything will have to go though the download to your device process again.  This really is not what you want to do.
    Sign up to match with the apple id that you know you will use the most or has the most purchased items and use that for all purchases, i.e. books, apps, movies, and music.  You don't want to go though the other process.
    Plus apple will start not letting you sign into match because you signed out and back in, in to short a period of time.
    all store purchases on an iphone are linked to the store id.  if you sign out of your match id on the appstore and sign into another account to purchase an app then itunes match will sign out in the music app.  You can't have two store id's signed into your iphone at the same time.  They are all linked together.

  • Can I have two Time Capsules in the same network, use one as Time Machine and other to expand network?

    I need to purchase a divice to expand my Wi-fi network. I was looking at the AirPort Extreme, but a friend has a brand new Time Capsule for sale. So, for the same price of the AirPort Extreme, I´m getting the Time Capsule.
    I already own one and using it as Time Machine and wireless router. If I decide to purchase another TC would it have any conflict with the one that I already have?
    Is it possible to use one as Time Machine and wireless router and the other to just expand network and storage only (not as Time Machine)?

    If I decide to purchase another TC would it have any conflict with the one that I already have?
    No
    Is it possible to use one as Time Machine and wireless router and the other to just expand network and storage only (not as Time Machine)?
    Yes. The important thing to remember is that the "extending" Time Capsule must be located where it can receive a strong wireless signal from your "main" Time Capsule.

  • Getting an error message when one of the values in a formula is null

    Hi,
    I am using a query to generate report... my query looks like this:
    select     
    CUSTOMER_NAME,
    (sum(MILLAGE)*MILEAGE_RATE) as TOTAL_INVOICE,
    from     
         T_TIME_REPORTING
    where
    CUSTOMER_NAME = :P22_CUST_NAME
    group by
    CUSTOMER_NAME
    it's working fine when there is a valid value for MILLAGE and MILEAGE_RATE but giving an error message when anyone of them is null... please advice how to fix this issue
    Thanks in advance

    my query looks like this:
    select
    CUSTOMER_NAME,
    (sum(MILLAGE)*MILEAGE_RATE) as TOTAL_INVOICE,
    from
    T_TIME_REPORTING
    where
    CUSTOMER_NAME = :P22_CUST_NAME
    group by
    CUSTOMER_NAMEThat would not work even when all values are not null:
    select ename, sum (sal) * comm
        from emp
       where ename = 'ALLEN'
    group by ename
    Error at line 1
    ORA-00979: not a GROUP BY expression

  • Error in using one interface in other

    Hello,
    I have two interfaces , interface1 & interface 2 . Interface 1 is a temp which is used by interface2 as a source.
    I'm trying to set the property "Use Temporary interface as derived table" but the check box is disabled and i cannot modify it. , Interface 1 has target temp table.
    Any advise ?
    In technology for oracle support derived table is already selected.
    thx

    Hi Matt
    I'm using the same FM but it's not working. Can you please share what data you are passing in the FM.
    After debugging I found that my confirmation is getting created but it's not getting saved.
    Please enlighten me.
    Thanks
    Ankit

  • Error loading only one particular website's images, other computers can view site perfectly fine.

    I am trying to view fabric.com. I initially viewed the site fine, then I connected to a wifi network with bad service and none of the photos showed up on that site and others. Now whenever I view the site, the pictures don't come up. I tried clearing cookies and restarting. All other sites work fine and the fabric.com site works on other computers.

    Could be your image permissions for the site. If you right-click the page, choose View Page info, and click over to the Permissions tab: is "Load Images" set to block? In that case you can simply check the "Use default" box and that should fix it. (Of course, you'll need to reload the page.)
    More troubleshooting tips in this article if that doesn't help: [https://support.mozilla.com/en-US/kb/Images%20or%20animations%20do%20not%20show Images or animations do not show | Troubleshooting | Firefox Help].

  • When trying to use one program it opens an other

    Just installed Office 2011 was previously on 2004.
    I am still using Entourage for a verity of reasons. I have just installed 2011 (using all other applications) and now when I click the Entourage icon in the Dock (or direct on the application icon), Outlook opens. I replaced the icon in the dock just case. How to turn this of?
    It is especially annoying since I use a number of scripts to access Entourage but they now all hang since they open Outlook.
    Anybody know why this is and how to fix?

    Hi ChangeAgent,
    This really isn't a OS X problem, it's MS.
    Have a look on Mactopia...
    http://www.officeformac.com/ProductForums/Entourage/
    You might try clearing the LaunchServices cache, it can't hurt
    Launch /Utilities/Terminal and copy & paste this at the command line to rebuild LaunchServices:
    Code:
    <pre class="alt2" style="margin:0px; padding:3px; border:1px inset; width:640px; height:34px; overflow:auto">/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchSe rvices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user</pre>
    Then press return. Wait until terminal returns to the command line. Quit Terminal. After that, log out and back in or restart. Let us know
    -mj

  • Error in using Dynamic View Object

    Hi
    I am doing a experiment to create dynamic VO and using it.
    Experiment details:
    I want to create dynamic VO and dynamic message choice and associate the dynamic VO to dynamicaly cretaed message choice.
    code scriplet
    In AM
    public void dynamicVO()
    OADBTransactionImpl txn =(OADBTransactionImpl) this.getTransaction();
    OAViewDef viewDef = txn.createViewDef();
    // viewDef.addEntityDerivedAttrDef();
    viewDef.setSql("select EmpEO.EMPNO, EmpEO.ENAME, EmpEO.JOB, EmpEO.DEPTNO from EMP EmpEO");
    viewDef.setExpertMode(true);
    viewDef.addEntityUsage("EmpEO","va.oracle.apps.fnd.experiment.server.EmpEO",false);
    viewDef.setViewObjectClass("oracle.apps.fnd.framework.server.OAViewObjectImpl");
    viewDef.setViewRowClass("oracle.apps.fnd.framework.server.OAViewRowImpl");
    viewDef.addPersistentAttrDef("Empno", "EmpEO", "Empno", true, AttributeDef.UPDATEABLE);
    viewDef.addPersistentAttrDef("Ename", "EmpEO", "Ename", true, AttributeDef.UPDATEABLE);
    viewDef.addPersistentAttrDef("Job", "EmpEO", "Job", true, AttributeDef.UPDATEABLE);
    viewDef.addPersistentAttrDef("Deptno", "EmpEO", "Deptno", true, AttributeDef.UPDATEABLE);
    // OAViewObject
    // ViewObject
    ViewObject vo = createViewObject("MyEmpVO", viewDef);
    In Controller
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("dynamicVO");
    System.out.println("am.invokeMethod dynamicVO");
    OAMessageChoiceBean popList = (OAMessageChoiceBean)this.createWebBean(pageContext,OAMessageChoiceBean.MESSAGE_CHOICE_BEAN);
    //popList.setListViewObject(pageContext,MyEmpVO);
    popList.setPickListViewUsageName("MyEmpVO");
    popList.setListDisplayAttribute("Job");
    popList.setListValueAttribute("Job");
    webBean.addIndexedChild(popList);// when i comment out this a blank page runs otherwise following error appears
    Error stack
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: select EmpEO.EMPNO, EmpEO.ENAME, EmpEO.JOB, EmpEO.DEPTNO from EMP EmpEO
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
    at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2898)
    at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2700)
    at OA.jspService(OA.jsp:48)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: ORA-01003: no statement parsed
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1983)
    at oracle.jdbc.ttc7.TTC7Protocol.executeFetch(TTC7Protocol.java:1002)
    at oracle.jdbc.dbaccess.DBAccess.executeFetchNeedDefines(DBAccess.java:283)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2604)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2854)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:622)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:550)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:627)
    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:515)
    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3347)
    at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:825)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4465)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
    at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
    at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3311)
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3298)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
    at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.createListDataObject(OAWebBeanPickListHelper.java:973)
    at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.getListDataObject(OAWebBeanPickListHelper.java:818)
    at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.getList(OAWebBeanPickListHelper.java:446)
    at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.getList(OAWebBeanPickListHelper.java:403)
    at oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean.getList(OAMessageChoiceBean.java:762)
    at oracle.apps.fnd.framework.webui.OADataBoundValuePickListData.getValue(OADataBoundValuePickListData.java:86)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl(OAWebBeanHelper.java:1760)
    at oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean.getAttributeValueImpl(OAMessageChoiceBean.java:369)
    at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
    at oracle.apps.fnd.framework.webui.OADataBoundValuePickListSelectionIndex.getValue(OADataBoundValuePickListSelectionIndex.java:61)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl(OAWebBeanHelper.java:1760)
    at oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean.getAttributeValueImpl(OAMessageChoiceBean.java:369)
    at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
    at oracle.cabo.ui.collection.UINodeAttributeMap.getAttribute(Unknown Source)
    at oracle.cabo.ui.collection.AttributeMapProxy.getAttribute(Unknown Source)
    at oracle.cabo.ui.BaseUINode.getAttributeValueImpl(Unknown Source)
    at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
    at oracle.cabo.ui.collection.UINodeAttributeMap.getAttribute(Unknown Source)
    at oracle.cabo.ui.BaseUINode.getAttributeValueImpl(Unknown Source)
    at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
    at oracle.cabo.ui.laf.base.BaseLafUtils.getLocalAttribute(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.getSelectedIndex(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.populateOptionInfo(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.createOptionInfo(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.prerender(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.ChoiceRenderer.prerender(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.FormElementRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderNamedChild(Unknown Source)
    at oracle.cabo.ui.laf.base.SwitcherRenderer._renderCase(Unknown Source)
    at oracle.cabo.ui.laf.base.SwitcherRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.RowLayoutRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.InlineMessageRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.render(OABodyBean.java:398)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.partial.PartialPageUtils.renderPartialPage(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.render(OAPageBean.java:3209)
    at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2888)
    at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2700)
    at OA.jspService(OA.jsp:48)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    java.sql.SQLException: ORA-01003: no statement parsed
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1983)
    at oracle.jdbc.ttc7.TTC7Protocol.executeFetch(TTC7Protocol.java:1002)
    at oracle.jdbc.dbaccess.DBAccess.executeFetchNeedDefines(DBAccess.java:283)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2604)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2854)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:622)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:550)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:627)
    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:515)
    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3347)
    at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:825)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4465)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
    at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
    at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3311)
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3298)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
    at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.createListDataObject(OAWebBeanPickListHelper.java:973)
    at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.getListDataObject(OAWebBeanPickListHelper.java:818)
    at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.getList(OAWebBeanPickListHelper.java:446)
    at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.getList(OAWebBeanPickListHelper.java:403)
    at oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean.getList(OAMessageChoiceBean.java:762)
    at oracle.apps.fnd.framework.webui.OADataBoundValuePickListData.getValue(OADataBoundValuePickListData.java:86)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl(OAWebBeanHelper.java:1760)
    at oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean.getAttributeValueImpl(OAMessageChoiceBean.java:369)
    at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
    at oracle.apps.fnd.framework.webui.OADataBoundValuePickListSelectionIndex.getValue(OADataBoundValuePickListSelectionIndex.java:61)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl(OAWebBeanHelper.java:1760)
    at oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean.getAttributeValueImpl(OAMessageChoiceBean.java:369)
    at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
    at oracle.cabo.ui.collection.UINodeAttributeMap.getAttribute(Unknown Source)
    at oracle.cabo.ui.collection.AttributeMapProxy.getAttribute(Unknown Source)
    at oracle.cabo.ui.BaseUINode.getAttributeValueImpl(Unknown Source)
    at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
    at oracle.cabo.ui.collection.UINodeAttributeMap.getAttribute(Unknown Source)
    at oracle.cabo.ui.BaseUINode.getAttributeValueImpl(Unknown Source)
    at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
    at oracle.cabo.ui.laf.base.BaseLafUtils.getLocalAttribute(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.getSelectedIndex(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.populateOptionInfo(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.createOptionInfo(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.prerender(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.ChoiceRenderer.prerender(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.FormElementRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderNamedChild(Unknown Source)
    at oracle.cabo.ui.laf.base.SwitcherRenderer._renderCase(Unknown Source)
    at oracle.cabo.ui.laf.base.SwitcherRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.RowLayoutRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.InlineMessageRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.render(OABodyBean.java:398)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.partial.PartialPageUtils.renderPartialPage(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.render(OAPageBean.java:3209)
    at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2888)
    at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2700)
    at OA.jspService(OA.jsp:48)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    Mithun

    Mithun,
    Don't repost the issues. Follow the original on Re: Error in using Dynamic view object
    --Shiv                                                                                                                                                                                                                                                                                       

  • Serialization error when using Jheadstart LOV's

    I am using Jheadstart 11.1.1.4.26 and JDev 11.1.1.5
    I have 2 applications, One of them uses JHeadstart LOV's and drop downs throught and has no errors. The other application gets a serialization error on the task flow at runtime if I use a JHeadstart LOV. If I use all ADF Model LOV's it is happy.
    I have spent hours comparing the 2 applications looking for what is causing the serialization error on the one app but not the other. I was under the impression that upgrading to the latest jheadstart fixed this problem on the good app. Upgrading has not fixed the other one though.
    Can anyone shed some light on this for me?
    Thanks,
    Jim
    <SessionBasedScopeMap> <writeScopeMap> ADFc: Scope object serialization failed (object not serializable), scope='pageFlowScope[WEB-INF/adfc-config-CgRefCodesDescriptor2.xml#CgRefCodesDescriptor2TaskFlow]', objectKey='jhsLovPopup', objectType='oracle.jheadstart.controller.jsf.bean.UIComponentBinder'.
    <SessionBasedScopeMap> <writeScopeMap>
    java.io.NotSerializableException: oracle.jheadstart.controller.jsf.bean.UIComponentBinder
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
         at oracle.adfinternal.controller.util.Utils.verifySerializable(Utils.java:341)
         at oracle.adfinternal.controller.state.SessionBasedScopeMap.writeScopeMap(SessionBasedScopeMap.java:122)
         at oracle.adfinternal.controller.state.PageFlowScope.writeObject(PageFlowScope.java:156)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
         at java.util.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1247)
         at sun.reflect.GeneratedMethodAccessor249.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
         at java.util.Hashtable.writeObject(Hashtable.java:824)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
         at weblogic.servlet.internal.session.SessionData.writeExternal(SessionData.java:1095)
         at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1429)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1398)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
         at weblogic.servlet.internal.session.FileSessionContext.sync(FileSessionContext.java:407)
         at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.syncSession(ServletRequestImpl.java:2860)
         at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.syncSession(ServletRequestImpl.java:2835)
         at weblogic.servlet.internal.ServletResponseImpl$1.run(ServletResponseImpl.java:1485)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1479)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1462)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <SessionBasedScopeMap> <writeScopeMap> ADFc: Scope object serialization failed (object not serializable), scope='pageFlowScope[WEB-INF/adfc-config-CgRefCodesDescriptor2.xml#CgRefCodesDescriptor2TaskFlow]', objectKey='jhsLovPopup', objectType='oracle.jheadstart.controller.jsf.bean.UIComponentBinder'.
    <SessionBasedScopeMap> <writeScopeMap>
    java.io.NotSerializableException: oracle.jheadstart.controller.jsf.bean.UIComponentBinder
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
         at oracle.adfinternal.controller.util.Utils.verifySerializable(Utils.java:341)
         at oracle.adfinternal.controller.state.SessionBasedScopeMap.writeScopeMap(SessionBasedScopeMap.java:122)
         at oracle.adfinternal.controller.state.PageFlowScope.writeObject(PageFlowScope.java:156)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
         at java.util.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1247)
         at sun.reflect.GeneratedMethodAccessor249.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
         at java.util.Hashtable.writeObject(Hashtable.java:824)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
         at weblogic.servlet.internal.session.SessionData.writeExternal(SessionData.java:1095)
         at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1429)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1398)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
         at weblogic.servlet.internal.session.FileSessionContext.sync(FileSessionContext.java:407)
         at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.syncSession(ServletRequestImpl.java:2860)
         at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.syncSession(ServletRequestImpl.java:2835)
         at weblogic.servlet.internal.ServletResponseImpl$1.run(ServletResponseImpl.java:1485)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1479)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1462)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    Thanks Stephen, You jarred my memory. It was the weblogic.xml settings. In the application without the serialization error I had commented out some persistence settings. When I did the same with the problem application the serialization error went away.
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app">
    <!--
    If you change this file, make sure to change it's counterpart in src/main/deployment/weblogic.xml
    -->
    <!-- Comment out persistent store to fix serialization problem with JHS Lov's
    <session-descriptor>
    <persistent-store-type>file</persistent-store-type>
    <persistent-store-dir>/tmp</persistent-store-dir>
    </session-descriptor>
    -->
    </weblogic-web-app>

  • Using one counter with FiniteSamps and another with ContSamps

    I am trying to use 2 counters on the USB-6229 (or USB-6259), where one counter is set up for FiniteSamps and another for ContSamps. I have the following MeasurementStudio code:
    ErrChk DAQmxCreateCOPulseChanTicks(hCnt0, "Dev1/ctr0", "", "20MHzTimebase", DAQmx_Val_Low, 0, 400, 400);
    ErrChk DAQmxCfgImplicitTiming(hCnt0, DAQmx_Val_FiniteSamps, 100);
    ErrChk DAQmxStartTask(hCnt0);
    ErrChk DAQmxCreateCOPulseChanTicks(hCnt1, "Dev1/ctr1", "", "20MHzTimebase", DAQmx_Val_Low, 0, 400, 400);
    ErrChk DAQmxCfgImplicitTiming(hCnt1, DAQmx_Val_ContSamps, 2);
    ErrChk DAQmxStartTask(hCnt1);
    When I run it, I get a run-error 50103 "The specified resource is reserved". If I change the FiniteSamps to ContSamps on the first counter, everything works fine.
    If I use only one counter with FiniteSamps, everything also works fine.
    Is this a bug in DAQmx or the dual counter use on M-series devices is limited to ContSamps?
    Vic
    Solved!
    Go to Solution.

    Hi Vic,
    This is actually expected on an M Series device.  Here's a timing diagram from the M Series User Manual that might make this a bit more clear:
    The device actually uses one counter to gate the other so the result is a finite pulse generation.  If you can provide the gate from another source, you may configure a continuous pulse generation on both counters and gate them (DAQmx calls this a "Pause Trigger") from this external signal. 
    You might also want to look into using Correlated Digital I/O to generate multiple finite pulses (up to 32 lines on your 6229 and 6259).  You could use one of the counters to generate a timebase for the digital lines, and build the waveform accordingly.
    One thing to note is that our new X Series boards can generate a finite pulse generation on a "single" counter (there is actually a paired internal counter that allows for this).  There are four user-accessible counters on X Series devices, meaning you could generate four finite pulse trains.
    Best Regards,
    John
    John Passiak

  • How to use one module pool program in another module pool programming?

    Hi
    I have one moodule pool program.
    In one of my screen i want to use some code which already developed in another module pool program.
    Is there any direct way for using one module pool programcode  in another module pool program.
    If there any approaches for this plz help me in this issue.

    Dear,
    If you want to use the code.
    first you can write your code in a subroutine in module pool program 1
    and then you can use it from module pool  program 2 by
    perform subroutine_name(program_name)
    using P_1
    changing C_1
    if you wan to use one module pool data into other module pool.
    so that is another requirement.

  • Obtaining values from other programs

    I seen where you can use Spy ++ to get values from other running programs, how do you do it? I found the values un Spy ++ from the window, so where from I go from here?
    Regards, Carter Humphreys

    Here's some more.
    Option Strict On
    Imports System.Collections.Generic
    Imports System.Runtime.InteropServices
    Imports System.Text
    Public Class Form1
    <DllImport("User32.dll")> _
    Private Shared Function FindWindow(ByVal lpClassName As String, ByVal lpWindowName As String) As Integer
    End Function
    Private Declare Auto Function IsIconic Lib "user32.dll" (ByVal hwnd As IntPtr) As Boolean
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    ListView1.AllowColumnReorder = True
    ListView1.GridLines = True
    ListView1.View = View.Details
    ListView1.Sorting = SortOrder.Ascending
    ListView1.Columns.Add("Main Window Title", 150, HorizontalAlignment.Left)
    ListView1.Columns.Add("Child Class Name", 300, HorizontalAlignment.Left)
    ListView1.Columns.Add("Child hWnd", 100, HorizontalAlignment.Left)
    ListView1.Columns.Add("Child Main Window Title", 300, HorizontalAlignment.Left)
    ListView1.Columns.Add("Is Application Minimized", 300, HorizontalAlignment.Left)
    Timer1.Interval = 5000
    End Sub
    Private Sub ListView1_Click(sender As Object, e As EventArgs) Handles ListView1.Click
    TextBox1.Text = ""
    TextBox1.Text = "Main Window Title = " & ListView1.FocusedItem.SubItems.Item(0).Text.ToString & vbCrLf & _
    "Child Class Name = " & ListView1.FocusedItem.SubItems.Item(1).Text.ToString & vbCrLf & _
    "Child hWnd = " & ListView1.FocusedItem.SubItems.Item(2).Text.ToString & vbCrLf & _
    "Child Main Window Title = " & ListView1.FocusedItem.SubItems.Item(3).Text.ToString & vbCrLf & _
    "Is Application Minimized = " & ListView1.FocusedItem.SubItems.Item(4).Text.ToString
    End Sub
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    ListView1.Items.Clear()
    Dim enumerator As New WindowsEnumerator()
    For Each top As ApiWindow In enumerator.GetTopLevelWindows()
    For Each child As ApiWindow In enumerator.GetChildWindows(top.hWnd)
    Dim item1 As New ListViewItem(top.MainWindowTitle)
    item1.SubItems.Add(child.ClassName)
    item1.SubItems.Add(child.hWnd.ToString)
    item1.SubItems.Add(child.MainWindowTitle)
    If top.MainWindowTitle.Length > 0 Then
    Dim ICONIC As IntPtr = CType(CInt(FindWindow(Nothing, top.MainWindowTitle).ToString), IntPtr)
    item1.SubItems.Add(IsIconic(ICONIC).ToString)
    End If
    ListView1.Items.AddRange(New ListViewItem() {item1})
    Next child
    Next top
    End Sub
    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
    Timer1.Start()
    Using OFD As New OpenFileDialog
    If OFD.ShowDialog = DialogResult.OK Then
    End If
    End Using
    End Sub
    Dim InfoToWrite As New List(Of String)
    Dim CountIt As Integer = 1
    Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
    InfoToWrite.Clear()
    Timer1.Stop()
    ListView1.Items.Clear()
    Dim enumerator As New WindowsEnumerator()
    For Each top As ApiWindow In enumerator.GetTopLevelWindows()
    For Each child As ApiWindow In enumerator.GetChildWindows(top.hWnd)
    InfoToWrite.Add(top.MainWindowTitle & " - " & child.ClassName & " - " & child.hWnd.ToString & " - " & child.MainWindowTitle)
    Dim item1 As New ListViewItem(top.MainWindowTitle)
    item1.SubItems.Add(child.ClassName)
    item1.SubItems.Add(child.hWnd.ToString)
    item1.SubItems.Add(child.MainWindowTitle)
    If top.MainWindowTitle.Length > 0 Then
    Dim ICONIC As IntPtr = CType(CInt(FindWindow(Nothing, top.MainWindowTitle).ToString), IntPtr)
    item1.SubItems.Add(IsIconic(ICONIC).ToString)
    End If
    ListView1.Items.AddRange(New ListViewItem() {item1})
    Next child
    Next top
    IO.File.WriteAllLines("C:\Users\John\Desktop\Some Info " & CountIt.ToString & ".Txt", InfoToWrite.ToArray)
    CountIt += 1
    End Sub
    End Class
    Public Class ApiWindow
    Public MainWindowTitle As String = ""
    Public ClassName As String = ""
    Public hWnd As Int32
    End Class
    ''' <summary>
    ''' Enumerate top-level and child windows
    ''' </summary>
    ''' <example>
    ''' Dim enumerator As New WindowsEnumerator()
    ''' For Each top As ApiWindow in enumerator.GetTopLevelWindows()
    ''' Console.WriteLine(top.MainWindowTitle)
    ''' For Each child As ApiWindow child in enumerator.GetChildWindows(top.hWnd)
    ''' Console.WriteLine(" " + child.MainWindowTitle)
    ''' Next child
    ''' Next top
    ''' </example>
    Public Class WindowsEnumerator
    Private Delegate Function EnumCallBackDelegate(ByVal hwnd As Integer, ByVal lParam As Integer) As Integer
    ' Top-level windows.
    Private Declare Function EnumWindows Lib "user32" _
    (ByVal lpEnumFunc As EnumCallBackDelegate, ByVal lParam As Integer) As Integer
    ' Child windows.
    Private Declare Function EnumChildWindows Lib "user32" _
    (ByVal hWndParent As Integer, ByVal lpEnumFunc As EnumCallBackDelegate, ByVal lParam As Integer) As Integer
    ' Get the window class.
    Private Declare Function GetClassName _
    Lib "user32" Alias "GetClassNameA" _
    (ByVal hwnd As Integer, ByVal lpClassName As StringBuilder, ByVal nMaxCount As Integer) As Integer
    ' Test if the window is visible--only get visible ones.
    Private Declare Function IsWindowVisible Lib "user32" _
    (ByVal hwnd As Integer) As Integer
    ' Test if the window's parent--only get the one's without parents.
    Private Declare Function GetParent Lib "user32" _
    (ByVal hwnd As Integer) As Integer
    ' Get window text length signature.
    Private Declare Function SendMessage _
    Lib "user32" Alias "SendMessageA" _
    (ByVal hwnd As Int32, ByVal wMsg As Int32, ByVal wParam As Int32, ByVal lParam As Int32) As Int32
    ' Get window text signature.
    Private Declare Function SendMessage _
    Lib "user32" Alias "SendMessageA" _
    (ByVal hwnd As Int32, ByVal wMsg As Int32, ByVal wParam As Int32, ByVal lParam As StringBuilder) As Int32
    Private _listChildren As New List(Of ApiWindow)
    Private _listTopLevel As New List(Of ApiWindow)
    Private _topLevelClass As String = ""
    Private _childClass As String = ""
    ''' <summary>
    ''' Get all top-level window information
    ''' </summary>
    ''' <returns>List of window information objects</returns>
    Public Overloads Function GetTopLevelWindows() As List(Of ApiWindow)
    EnumWindows(AddressOf EnumWindowProc, &H0)
    Return _listTopLevel
    End Function
    Public Overloads Function GetTopLevelWindows(ByVal className As String) As List(Of ApiWindow)
    _topLevelClass = className
    Return Me.GetTopLevelWindows()
    End Function
    ''' <summary>
    ''' Get all child windows for the specific windows handle (hwnd).
    ''' </summary>
    ''' <returns>List of child windows for parent window</returns>
    Public Overloads Function GetChildWindows(ByVal hwnd As Int32) As List(Of ApiWindow)
    ' Clear the window list.
    _listChildren = New List(Of ApiWindow)
    ' Start the enumeration process.
    EnumChildWindows(hwnd, AddressOf EnumChildWindowProc, &H0)
    ' Return the children list when the process is completed.
    Return _listChildren
    End Function
    Public Overloads Function GetChildWindows(ByVal hwnd As Int32, ByVal childClass As String) As List(Of ApiWindow)
    ' Set the search
    _childClass = childClass
    Return Me.GetChildWindows(hwnd)
    End Function
    ''' <summary>
    ''' Callback function that does the work of enumerating top-level windows.
    ''' </summary>
    ''' <param name="hwnd">Discovered Window handle</param>
    ''' <returns>1=keep going, 0=stop</returns>
    Private Function EnumWindowProc(ByVal hwnd As Int32, ByVal lParam As Int32) As Int32
    ' Eliminate windows that are not top-level.
    If GetParent(hwnd) = 0 AndAlso CBool(IsWindowVisible(hwnd)) Then
    ' Get the window title / class name.
    Dim window As ApiWindow = GetWindowIdentification(hwnd)
    ' Match the class name if searching for a specific window class.
    If _topLevelClass.Length = 0 OrElse window.ClassName.ToLower() = _topLevelClass.ToLower() Then
    _listTopLevel.Add(window)
    End If
    End If
    ' To continue enumeration, return True (1), and to stop enumeration
    ' return False (0).
    ' When 1 is returned, enumeration continues until there are no
    ' more windows left.
    Return 1
    End Function
    ''' <summary>
    ''' Callback function that does the work of enumerating child windows.
    ''' </summary>
    ''' <param name="hwnd">Discovered Window handle</param>
    ''' <returns>1=keep going, 0=stop</returns>
    Private Function EnumChildWindowProc(ByVal hwnd As Int32, ByVal lParam As Int32) As Int32
    Dim window As ApiWindow = GetWindowIdentification(hwnd)
    ' Attempt to match the child class, if one was specified, otherwise
    ' enumerate all the child windows.
    If _childClass.Length = 0 OrElse window.ClassName.ToLower() = _childClass.ToLower() Then
    _listChildren.Add(window)
    End If
    Return 1
    End Function
    ''' <summary>
    ''' Build the ApiWindow object to hold information about the Window object.
    ''' </summary>
    Private Function GetWindowIdentification(ByVal hwnd As Integer) As ApiWindow
    Const WM_GETTEXT As Int32 = &HD
    Const WM_GETTEXTLENGTH As Int32 = &HE
    Dim window As New ApiWindow()
    Dim title As New StringBuilder()
    ' Get the size of the string required to hold the window title.
    Dim size As Int32 = SendMessage(hwnd, WM_GETTEXTLENGTH, 0, 0)
    ' If the return is 0, there is no title.
    If size > 0 Then
    title = New StringBuilder(size + 1)
    SendMessage(hwnd, WM_GETTEXT, title.Capacity, title)
    End If
    ' Get the class name for the window.
    Dim classBuilder As New StringBuilder(64)
    GetClassName(hwnd, classBuilder, 64)
    ' Set the properties for the ApiWindow object.
    window.ClassName = classBuilder.ToString()
    window.MainWindowTitle = title.ToString()
    window.hWnd = hwnd
    Return window
    End Function
    End Class
    La vida loca

  • Error: Find criteria must contain at least one sort field value.

    Hi
    I am getting the followng error in Sort.as when I click on a column in a DataGrid that is bound to a nested property (e.g. parent.name)
    Error: Find criteria must contain at least one sort field value.
    I can see why this is failing.
    In the findItem function of Sort.as the code tests whether there is data in line (456) hasFieldName = values[fieldName] !== undefined. This fails and so an error is raised later in the function by:
         if (fieldsForCompare.length == 0)     {
         message = resourceManager.getString("collections", "findRestriction"); 
              throw new SortError(message);     }
     The code needs to traverse down the object hierarchy to get the field so that error is not thrown .
    The code needs to traverse down the object hierarchy to get the field so that error is not thrown .
    In the case of a non nested property, everything works fine.
    There is lots of discussion about nested properties in DataGrid and there is this jira:
    http://bugs.adobe.com/jira/browse/SDK-9801
    There is talk of using a labelFunction or an itemRenderer and other third party solutions (extensions of DataGridColumn).
    Is this a bug?  is there a workaround using labelFunction or itemRenderer which can stop the error in Sort.as?
    James
    Here is the code of findItem in Sort.as of SDK 3..4.0.9271
    public  
    function findItem(items:Array,values:Object,
    mode:String,
    returnInsertionIndex:Boolean =
    false,compareFunction:Function =
    null):int{
    var compareForFind:Function; 
    var fieldsForCompare:Array; 
    var message:String; 
    if (!items){
    message = resourceManager.getString(
    "collections", "noItems"); 
    throw new SortError(message);}
    else if (items.length == 0){
    return returnInsertionIndex ? 1 : -1;}
    if (compareFunction == null){
    compareForFind =
    this.compareFunction; 
    // configure the search criteria
    if (values && fieldList.length > 0){
    fieldsForCompare = [];
    //build up the fields we can compare, if we skip a field in the
    //middle throw an error. it is ok to not have all the fields
    //though
    var fieldName:String; 
    var hadPreviousFieldName:Boolean = true; 
    for (var i:int = 0; i < fieldList.length; i++){
    fieldName = fieldList[i];
    if (fieldName){
    var hasFieldName:Boolean; 
    try
    hasFieldName = values[fieldName] !==
    undefined;}
    catch(e:Error){
    hasFieldName =
    false;}
    if (hasFieldName){
    if (!hadPreviousFieldName){
    message = resourceManager.getString(
    "collections", "findCondition", [ fieldName ]); 
    throw new SortError(message);}
    else
    fieldsForCompare.push(fieldName);
    else
    hadPreviousFieldName =
    false;}
    else
    //this is ok because sometimes a sortfield might
    //have a custom comparator
    fieldsForCompare.push(
    null);}
    if (fieldsForCompare.length == 0){
    message = resourceManager.getString(
    "collections", "findRestriction"); 
    throw new SortError(message);}
    else
    try
    initSortFields(items[0]);
    catch(initSortError:SortError){
    //oh well, use the default comparators...
    else
    compareForFind = compareFunction;

    I have tried a sortCompareFunction:
    var sort:Sort = new Sort();
    sort.compareFunction = compareFunction;sort.fields = [sortField];
    data.sort = sort;
    data.refresh();
    this makes no difference.
    James

Maybe you are looking for

  • Error in Starting liveCache

    Hello there,     When starting our liveCache in LC10, I encountered an error message stating that "ERROR DBMCLI COMMANDEXECUTE_ERROR when starting liveCache LC1 on server". But nevertheless, the liveCache status turned green. I read the logs in Messa

  • EDI - INVOIC01 - E1EDP02 - QUALF 021

    Hello, We are using EDI, message INVOIC01, to create FI vendor invoices automatically, based on SD Invoices. Everything works OK except the fact that I can't use transaction OBCC to select different Cost centers based on ID account assignment. It alw

  • Triggering WF

    does anyone can tell me, are WF always sending work item to my inbox if i trigger an event, i have tried this through SWUE OB "LFA1", event "BLOCKEDFORPURCHASING", but nothing happen. is there something i missed?

  • How i get apps store?

    My name is Silky Cordones, I'm real deaf. I just got my new iPad 2 from Zvrs on yesterday and my new iPad 2 not have apps store....well I did already doing my iTunes on my laptop dell for my new iPad 2 but it not working so I just need help for my ne

  • Help On How To Download Maps to N95?

    Hi, I've bought a Nokia N95 and am trying to download maps from the website but I'm getting lost. Can anyone give me advice or a step-by-step guide on what to do? I have tried looking for help but the problem's still there? Many thanks. Peter