ADF 10.1.2 - findDataControl(dataControlName) results in null pointer

I'm using ADF 10.1.2 with a flat JSP, no tricks or anything.
I've created an action event, which needs the application context, so I can call a business component.
When I call findDataControl(dataControlName) I get a null-pointer execption. The dataControlName is present in the binding context. It's been driving me crazy for weeks ... if anyone has an idea of where the issue could lie, please let me know.
Thanks.

Hi,
Actually, this is only a very small extract of an existent large application. We currently do not have resource to upgrade it to 10.3, let alone 11g.
Please help.
Regards,
Michael

Similar Messages

  • Creating SC dependencies result in null pointer exception

    Hi
    I have installed JDI landscape and am nearly finished but I encounter a null pointer exception when I tried to adjust dependencies for my newly created SC and as a result I cannot create a track (no SCs could be added to it).
    The exception is as follows:
    java.lang.NullPointerException
         at com.sap.sld.wd.softwarecatalog.CreateNewDependency.supplyFilteredSoftwareComponentVersions(CreateNewDependency.java:231)
         at com.sap.sld.wd.softwarecatalog.wdp.InternalCreateNewDependency.supplyFilteredSoftwareComponentVersions(InternalCreateNewDependency.java:378)
         at com.sap.sld.wd.softwarecatalog.wdp.IPrivateCreateNewDependency$IFilteredSoftwareComponentVersionsNode.doSupplyElements(IPrivateCreateNewDependency.java:1693)
         at com.sap.tc.webdynpro.progmodel.context.Node.supplyElements(Node.java:406)
         at com.sap.tc.webdynpro.progmodel.context.Node.getElementList(Node.java:345)
         at com.sap.tc.webdynpro.progmodel.context.Node.getElements(Node.java:333)
         at com.sap.tc.webdynpro.progmodel.context.Node.size(Node.java:721)
         at com.sap.sld.wd.softwarecatalog.CreateNewDependency.onActionSort(CreateNewDependency.java:588)
         at com.sap.sld.wd.softwarecatalog.CreateNewDependency.onActionAutoSort(CreateNewDependency.java:578)
         at com.sap.sld.wd.softwarecatalog.wdp.InternalCreateNewDependency.onActionAutoSort(InternalCreateNewDependency.java:522)
         at com.sap.sld.wd.softwarecatalog.CreateNewDependency.wdDoModifyView(CreateNewDependency.java:157)
         at com.sap.sld.wd.softwarecatalog.wdp.InternalCreateNewDependency.wdDoModifyView(InternalCreateNewDependency.java:830)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doModifyView(DelegatingView.java:78)
         at com.sap.tc.webdynpro.progmodel.view.View.modifyView(View.java:337)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:481)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:488)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doModifyView(WindowPhaseModel.java:551)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:148)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:759)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    PLEASE help me out
    Thanks

    Hi,
    Did you create Product/Software Components in SLD? And did you define dependencies(the three standard SAP SCs) for the SC in SLD? Did you update CMS after you've created SCs/dependencies in SLD?
    Thanks,
    Rajit Srinivas

  • Null pointer exception while inserting a new row in ADF with jdev

    Hi,
    In ADF, I have retrieved some user information from LDAP server and I want to insert those values in to my table. But when I do this, I am getting a null pointer exception when I get the view object (ViewObject vo=getCRUIP002_1();). I am not sure why this happens.
    Here is my code. It is urgent.
    and please some one help me in fixing the issue.
    ViewObject vo=getCRUIP002_1();
    vo.clearCache();
    vo.setMaxFetchSize(0);
    vo.executeQuery();
    Row newRow=vo.createRow();
    vo.insertRow(newRow);
    SearchResult res = (SearchResult)results.next();
    Attributes attrs = res.getAttributes();
    // Row newRow = vo.getCurrentRow();
    newRow.setAttribute("LOGINNAME",(Object)attrs.get("sn").get().toString());
    newRow.setAttribute("PASSWORDVALUE","x");
    newRow.setAttribute("FIRSTNAME",(Object)attrs.get("sn").get().toString());
    newRow.setAttribute("LASTNAME",(Object)attrs.get("sn").get().toString());
    newRow.setAttribute("EMAIL",(Object)attrs.get("mail").get().toString());
    Thanks,
    Priya.S

    assuming ur jdev version is 10.1.2
    ViewObject vo=getCRUIP002_1();i dont think ur getting the view object hence null pointer expception.
    ViewObject vo = findViewObject("MyView1");
    if u r in the object class then first get the root application module and then access the View obejct from there.
    In ADF if u assign a null value, u will always get the null pointer exception coz of java. Run the app in debug mode and check the values step by step, by the way there is not exception handling in ur code either, Do u know how to debug in Jdev ?
    zaibi.

  • Result set null

    Hello techies,
    I am doing simple program, which is connecting to mysql server and retreiving the results from my database using servlets.
    I want to do if the result set is returning zero rows i.e if there is no matching rows is available in the table, which i had specified in my query.
    Here is my code
    String url = "jdbc:odbc:testDSN";
    Properties p = new Properties();
    p.put("user", "root");
    p.put("password", "kkkk");
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    conn = DriverManager.getConnection(url, p);
    System.out.println("connection established");
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("select *from test.emp where empNumber =15");
    System.out.println("resultset is null" + rs.wasNull());
    if (rs.getRow() == 0) {
    System.out.println("nomatching subject is found");
    out.println("No Matching subject is found");
    else {
    out.println("<TABLE CELLSPACING=\"0\" CELLPADDING=\"3\" BORDER=\"1\">");
    out.println("<TR><TH>eno</TH><TH>ename</TH><TH>date</TH></TR>");
    // Loop through results of query.
    while (rs.next() == true)
    out.println("<TR>");
    out.println("<TD>" + rs.getString("eno")+ "</TD>");
    out.println("<TD>" + rs.getString("ename") + "</TD>");
    out.println("<TD>" + rs.getString("date") + "</TD>");
    out.println("</TR>");
    Here if there are no employe record matching eno =15 in my table then i want to print no matching record is found.
    where i am making mistake??
    plz help me .
    It is very urgent.
    Thanks (inadvance)
    regards,
    ramu

    Good Lord, you have database and HTML generation code in the same method?
    This is not the way to do JDBC code. Start with a tutorial.
    Ever read about object-oriented programming? How 'bout starting with an Employee class that has id, name, and date (what date? birth date? employment date? termination date?) as attributes. Then write a data access object that can do all the database stuff on Employee's behalf, without any consideration for UI. Test that on the command line until you have it working perfectly. THEN worry about how you'll display results to the user.
    Your JDBC code isn't right. wasNull() checks to see if the column result is null, not the result set itself. (ResultSet can never be null; read the javadocs). You'd be getting a NullPointerException if ResultSet was null, wouldn't you?
    Your code deserves a SERIOUS rewrite, which I'm not inclined to do for you. But I would recommend something more along these lines:
    // hardwired url, driver, and query?  oh, my - that's bad.
    String url = "jdbc:odbc:testDSN";
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    conn = DriverManager.getConnection(url);
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("select * from emp where empNumber =15");
    // you're obviously putting this in a servlet - bad idea.
    // ever heard of JSPs?
    out.println("<TABLE CELLSPACING=\"0\" CELLPADDING=\"3\" BORDER=\"1\">");
    out.println("<TR><TH>eno</TH><TH>ename</TH><TH >date</TH></TR>");
    // Loop through results of query.
    while (rs.next())
    out.println("<TR>");
    out.println("<TD>" + rs.getString("eno")+ "</TD>");
    out.println("<TD>" + rs.getString("ename") + "</TD>");
    out.println("<TD>" + rs.getString("date") + "</TD>");
    out.println("</TR>");
    }%

  • ADF Query not showing correct search results.

    Hi,
    I am using normal ADF af:query to search data using a VO Criteria.
    We have modified the getter of searched column in VORowImpl java class to return values based on NLSID search from cache.
    Logic in getter:
    If for a column_name nlsid is present then show data as the value of nlsid.
    Suppose Initially:
    column_name = "Column1"
    column_name_nlsid="Column1_nlsid"
    column_name_nlsid_value="Column1_nlsid_value"
    The table will show:
    column_name: "Column1_nlsid_value"
    if we search "Column1" as column_name, The Search will also show:
    column_name: "Column1_nlsid_value"
    in results
    But,
    If we modify the nlsid value as:
    column_name_nlsid_value="Column1_nlsid_value_MODIFIED"
    Then
    The table will show:
    column_name: "Column1_nlsid_value_MODIFIED"
    if we search "MODIFIED" in column_name, The Search will NOT show any results
    So, it seems to me that the af:query search always searches upon the values derived from InternalAttribute values.
    What can i do to over-ride such behaviour , so that the search also takes the data from modified getters.

    Try posting in Jdeveloper Forum JDeveloper and ADF which has more audience

  • Adf security with upper case user results in 500-internal server error

    Hello
    JDev 11.1.1.0.2, Integrated WLS
    I'v set up ADF security as explained in the documentation.
    The only difference being that the role test-all has been removed.
    I have one user 'paul' with a password of 'password'
    I have one application role 'myrole'
    'paul' is a member of 'myrole'
    I have one unbounded task flow with one view (view1).
    Via the janz-data.xml 'View1' has been granted to 'myrole' (view action)
    When running View1 I get the login.html page which is correct.
    The fun starts when playing around with the user/password.
    If I login with 'paul' and 'password' view1 is display, this is correct
    If I login with an unknown user or an incorrect password Windows Explorer 7 shows a generic HTTP 403 error page and not the error.html
    If I login with 'PAUL' and 'password' (or Paul, or any mixed cased version of Paul with the correct password) I get the following stack trace :
    oracle.adf.controller.security.AuthorizationException: ADFC-0619: Echec de la vérification des autorisations : '/view1.jspx' 'VIEW'.
         at oracle.adf.controller.internal.security.AuthorizationEnforcer.handleFailure(AuthorizationEnforcer.java:145)
         at oracle.adf.controller.internal.security.AuthorizationEnforcer.checkPermission(AuthorizationEnforcer.java:124)
         at oracle.adfinternal.controller.state.ControllerState.initializeUrl(ControllerState.java:639)
         at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart2(ControllerState.java:449)
         at oracle.adfinternal.controller.application.SyncNavigationStateListener.afterPhase(SyncNavigationStateListener.java:44)
         at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.afterPhase(ADFLifecycleImpl.java:529)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:118)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:166)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchAfterPagePhaseEvent(ADFPhaseListener.java:122)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:68)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:51)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:175)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:279)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:239)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:196)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:85)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:257)
         at oracle.security.jps.wls.JpsWlsSubjectResolver.runJaasMode(JpsWlsSubjectResolver.java:250)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:100)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    The questions are :
    - Why do I get the generic HTTP 403 error instead of the error.html (its not the end of the world but I would like to understand) ?
    - Why do I get the error 500 if the case of the username is incorrect but the password is correct ?
    Best Regards
    Paul

    Nope nothing in there that looks out of place...
    Here's the contents of the web.xml file ..
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
    <description>Empty web.xml file for Web Application</description>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>
    <context-param>
    <description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
    <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
    <param-value>false</param-value>
    </context-param>
    <context-param>
    <description>Whether the 'Generated by...' comment at the bottom of ADF Faces HTML pages should contain version number information.</description>
    <param-name>oracle.adf.view.rich.versionString.HIDDEN</param-name>
    <param-value>false</param-value>
    </context-param>
    <filter>
    <filter-name>JpsFilter</filter-name>
    <filter-class>oracle.security.jps.ee.http.JpsFilter</filter-class>
    <init-param>
    <param-name>enable.anonymous</param-name>
    <param-value>true</param-value>
    </init-param>
    <init-param>
    <param-name>remove.anonymous.role</param-name>
    <param-value>false</param-value>
    </init-param>
    <init-param>
    <param-name>addAllRoles</param-name>
    <param-value>true</param-value>
    </init-param>
    <init-param>
    <param-name>jaas.mode</param-name>
    <param-value>doasprivileged</param-value>
    </init-param>
    </filter>
    <filter>
    <filter-name>trinidad</filter-name>
    <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
    </filter>
    <filter>
    <filter-name>adfBindings</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>JpsFilter</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>trinidad</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>resources</servlet-name>
    <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>adfAuthentication</servlet-name>
    <servlet-class>oracle.adf.share.security.authentication.AuthenticationServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/afr/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>adfAuthentication</servlet-name>
    <url-pattern>/adfAuthentication/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>adfAuthentication</web-resource-name>
    <url-pattern>/adfAuthentication</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>valid-users</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>/login.html</form-login-page>
    <form-error-page>/error.html</form-error-page>
    </form-login-config>
    </login-config>
    <security-role>
    <role-name>valid-users</role-name>
    </security-role>
    </web-app>
    Regards
    Paul

  • ADF 10.1.3 : Saving VO results when application is closed.

    Hello,
    I have written to code to save the VO results in a file which i want to call when application is closed. So in which method should i call the code so that VO results are always saved irrespective of how application window is closed.
    Also i want to load the VO results into the VO when application starts, in which method should i do this?
    Regards
    Lokesh

    John,
    Thanx for the reply. Let me elaborate my requirement.
    My application is a web application. I have created a VO [not based on sql query]. This VO is populated by the user by providing various inputs on the application page. All i want to do is store these VO rows on the user file system when the user closes the application and then reload these rows back into the VO from the stored file when user reopens the application.
    Now i don't want to keep writing the rows on file system as soon as VO is populated as this would lead to bad performance, so i am looking to save the VO rows when application closes. Is there any way to do it??
    Regards
    Lokesh

  • Mappings Result to Null

    Hello everyone.
    I have a strange situation. Some times I have unfinished flows. The reason seems to be that some mappings (not specific ones) have status complete, start time and finished time the same and result null. After all my mappings I check for their result and wait this to be Success, Ok with Wornings or Failure. Because of this mapping returning null my flows stop and wait for manual termination.
    Is there something that can be done?
    I'm using OWF 2.6.4, OWB 10.2.0.2 and Oracle Database 10.2.0.3

    Not quite sure what you're asking. Does this help?
    SQL> create table t (c number);
    Table created.
    SQL>
    SQL> insert into t values (123);
    1 row created.
    SQL>
    SQL> select * from t;
                       C
                     123
    SQL>
    SQL> update t set c = null;
    1 row updated.
    SQL>
    SQL> select * from t;
                       C
    SQL>
    SQL> update t set c = 42;
    1 row updated.
    SQL>
    SQL> select * from t;
                       C
                      42

  • ADF 11.1.2.1 Parameter "appName" is null

    Hi
    I'm trying to get a 11.1.1.1.0 ADF application running under a new 11.1.2.1 ADF installation on my PC.
    I've set ADF to have no authentication/authorization and I'm able to compile without any problems. But when I run it, I get the following error
    <24-Feb-2012 16:56:02 o'clock GMT> <Error> <HTTP> <BEA-101020> <[ServletContext@24581770[app:AIT-SCOT module:AIT-SCOT-SCOTUI-context-root path:/AIT-SCOT-SCOTUI-context-root spec-version:2.5]] Servlet failed with Exception
    oracle.security.jps.service.policystore.PolicyStoreRuntimeException: JPS-04031: Parameter "appName" is null.
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyMap.get(ApplicationPolicyMap.java:110)
         at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getApplicationPolicy(PDPServiceImpl.java:334)
         at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getApplicationPolicy(PDPServiceImpl.java:320)
         at oracle.security.jps.internal.policystore.PolicyUtil.getGrantedAppRoles(PolicyUtil.java:2719)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver$4.run(JpsAbsSubjectResolver.java:526)
         Truncated. see log file for complete stacktrace
    Caused By: oracle.security.jps.service.policystore.info.common.InvalidArgumentException: JPS-04031: Parameter "appName" is null.
         at oracle.security.jps.internal.policystore.PolicyUtil.checkForNull(PolicyUtil.java:1236)
         at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.getApplicationPolicyWithNoAuthzCheck(XmlPolicyStore.java:622)
         at oracle.security.jps.az.internal.management.pd.service.XmlPolicyDistributionService.getAppPolicy(XmlPolicyDistributionService.java:222)
         at oracle.security.jps.az.internal.management.pd.service.XmlPolicyDistributionService.getAppPolicyEntity(XmlPolicyDistributionService.java:212)
         at oracle.security.jps.az.internal.management.pd.service.XmlPolicyDistributionService.getAppPolicyEntry(XmlPolicyDistributionService.java:121)
         Truncated. see log file for complete stacktrace
    >
    <24-Feb-2012 16:56:02 o'clock GMT> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at 24-Feb-2012 16:56:02 o'clock GMT. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = 24-Feb-2012 16:56:02 o'clock GMT SERVER = DefaultServer MESSAGE = [ServletContext@24581770[app:AIT-SCOT module:AIT-SCOT-SCOTUI-context-root path:/AIT-SCOT-SCOTUI-context-root spec-version:2.5]] Servlet failed with Exception
    oracle.security.jps.service.policystore.PolicyStoreRuntimeException: JPS-04031: Parameter "appName" is null.
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyMap.get(ApplicationPolicyMap.java:110)
         at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getApplicationPolicy(PDPServiceImpl.java:334)
         at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getApplicationPolicy(PDPServiceImpl.java:320)
         at oracle.security.jps.internal.policystore.PolicyUtil.getGrantedAppRoles(PolicyUtil.java:2719)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver$4.run(JpsAbsSubjectResolver.java:526)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver$4.run(JpsAbsSubjectResolver.java:516)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.getApplicationRoles(JpsAbsSubjectResolver.java:516)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.createJpsSubject(JpsAbsSubjectResolver.java:363)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.getAnonymousSubject(JpsAbsSubjectResolver.java:347)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.resolveJpsSubject(JpsAbsSubjectResolver.java:264)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.resolveSubject(JpsAbsSubjectResolver.java:212)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:153)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: oracle.security.jps.service.policystore.info.common.InvalidArgumentException: JPS-04031: Parameter "appName" is null.
         at oracle.security.jps.internal.policystore.PolicyUtil.checkForNull(PolicyUtil.java:1236)
         at oracle.security.jps.internal.policystore.xml.XmlPolicyStore.getApplicationPolicyWithNoAuthzCheck(XmlPolicyStore.java:622)
         at oracle.security.jps.az.internal.management.pd.service.XmlPolicyDistributionService.getAppPolicy(XmlPolicyDistributionService.java:222)
         at oracle.security.jps.az.internal.management.pd.service.XmlPolicyDistributionService.getAppPolicyEntity(XmlPolicyDistributionService.java:212)
         at oracle.security.jps.az.internal.management.pd.service.XmlPolicyDistributionService.getAppPolicyEntry(XmlPolicyDistributionService.java:121)
         at oracle.security.jps.az.internal.management.pd.service.XmlPolicyDistributionService.getAppPolicyEntry(XmlPolicyDistributionService.java:116)
         at oracle.security.jps.az.internal.management.pd.service.PolicyDistributionServiceImpl.getAppPolicyEntry(PolicyDistributionServiceImpl.java:137)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyImpl.initAppPolicy(ApplicationPolicyImpl.java:216)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyMap.get(ApplicationPolicyMap.java:108)
         at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getApplicationPolicy(PDPServiceImpl.java:334)
         at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getApplicationPolicy(PDPServiceImpl.java:320)
         at oracle.security.jps.internal.policystore.PolicyUtil.getGrantedAppRoles(PolicyUtil.java:2719)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver$4.run(JpsAbsSubjectResolver.java:526)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver$4.run(JpsAbsSubjectResolver.java:516)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.getApplicationRoles(JpsAbsSubjectResolver.java:516)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.createJpsSubject(JpsAbsSubjectResolver.java:363)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.getAnonymousSubject(JpsAbsSubjectResolver.java:347)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.resolveJpsSubject(JpsAbsSubjectResolver.java:264)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.resolveSubject(JpsAbsSubjectResolver.java:212)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:153)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = DJANDO-LAP TXID = CONTEXTID = 1b6619e5d881c587:-807b5bc:135b049f868:-8000-000000000000002d TIMESTAMP = 1330102562022
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    Any ideas as to what I need to do to get it running?
    Thanks

    Hi
    I am now trying to deploy this application to a Weblogic server and am getting the following error
    Mar 5, 2012 2:47:19 AM com.sun.faces.config.ConfigManager initialize
    INFO: Unsanitized stacktrace from failed start...
    java.lang.NullPointerException
    at oracle.adfinternal.view.faces.unified.renderkit.UnifiedRenderKit.<init>(UnifiedRenderKit.java:129)
    at oracle.adfinternal.view.faces.unified.renderkit.UnifiedRenderKit.createRenderKit(UnifiedRenderKit.java:113)
    at oracle.adfinternal.view.faces.unified.renderkit.UnifiedRenderKitFactory.getRenderKit(UnifiedRenderKitFactory.java:59)
    at org.apache.myfaces.trinidadinternal.renderkit.CoreRenderKitFactory.getRenderKit(CoreRenderKitFactory.java:55)
    at com.sun.faces.config.processor.RenderKitConfigProcessor.addRenderKits(RenderKitConfigProcessor.java:240)
    at com.sun.faces.config.processor.RenderKitConfigProcessor.process(RenderKitConfigProcessor.java:159)
    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
    at com.sun.faces.config.processor.ManagedBeanConfigProcessor.process(ManagedBeanConfigProcessor.java:270)
    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
    at com.sun.faces.config.processor.ValidatorConfigProcessor.process(ValidatorConfigProcessor.java:120)
    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
    at com.sun.faces.config.processor.ConverterConfigProcessor.process(ConverterConfigProcessor.java:126)
    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
    at com.sun.faces.config.processor.ComponentConfigProcessor.process(ComponentConfigProcessor.java:117)
    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
    at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:337)
    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
    at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116)
    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
    at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:216)
    at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:338)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:226)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
    at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Mar 5, 2012 2:47:19 AM com.sun.faces.config.ConfigureListener contextInitialized
    SEVERE: Critical error during deployment:
    com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null
    at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:357)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:226)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
    at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NullPointerException
    at oracle.adfinternal.view.faces.unified.renderkit.UnifiedRenderKit.<init>(UnifiedRenderKit.java:129)
    at oracle.adfinternal.view.faces.unified.renderkit.UnifiedRenderKit.createRenderKit(UnifiedRenderKit.java:113)
    at oracle.adfinternal.view.faces.unified.renderkit.UnifiedRenderKitFactory.getRenderKit(UnifiedRenderKitFactory.java:59)
    at org.apache.myfaces.trinidadinternal.renderkit.CoreRenderKitFactory.getRenderKit(CoreRenderKitFactory.java:55)
    at com.sun.faces.config.processor.RenderKitConfigProcessor.addRenderKits(RenderKitConfigProcessor.java:240)
    at com.sun.faces.config.processor.RenderKitConfigProcessor.process(RenderKitConfigProcessor.java:159)
    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
    at com.sun.faces.config.processor.ManagedBeanConfigProcessor.process(ManagedBeanConfigProcessor.java:270)
    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
    at com.sun.faces.config.processor.ValidatorConfigProcessor.process(ValidatorConfigProcessor.java:120)
    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
    at com.sun.faces.config.processor.ComponentConfigProcessor.process(ComponentConfigProcessor.java:117)
    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
    at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:337)
    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
    at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116)
    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
    at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:216)
    at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:338)
    ... 38 more
    <Mar 5, 2012 2:47:19 AM PST> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null.
    java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:294)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    Truncated. see log file for complete stacktrace
    Caused By: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null
    at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:357)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:226)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.NullPointerException
    at oracle.adfinternal.view.faces.unified.renderkit.UnifiedRenderKit.<init>(UnifiedRenderKit.java:129)
    at oracle.adfinternal.view.faces.unified.renderkit.UnifiedRenderKit.createRenderKit(UnifiedRenderKit.java:113)
    at oracle.adfinternal.view.faces.unified.renderkit.UnifiedRenderKitFactory.getRenderKit(UnifiedRenderKitFactory.java:59)
    at org.apache.myfaces.trinidadinternal.renderkit.CoreRenderKitFactory.getRenderKit(CoreRenderKitFactory.java:55)
    at com.sun.faces.config.processor.RenderKitConfigProcessor.addRenderKits(RenderKitConfigProcessor.java:240)
    Truncated. see log file for complete stacktrace
    >
    Mar 5, 2012 2:47:19 AM com.sun.faces.config.ConfigureListener contextDestroyed
    SEVERE: Unexpected exception when attempting to tear down the Mojarra runtime
    java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory
    at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:804)
    at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:306)
    at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:108)
    at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:327)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:482)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:200)
    at weblogic.servlet.internal.WebAppServletContext.destroy(WebAppServletContext.java:3224)
    at weblogic.servlet.internal.ServletContextManager.destroyContext(ServletContextManager.java:247)
    at weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:461)
    at weblogic.servlet.internal.WebAppModule.destroyContexts(WebAppModule.java:1535)
    at weblogic.servlet.internal.WebAppModule.deactivate(WebAppModule.java:507)
    at weblogic.application.internal.flow.ModuleStateDriver$2.previous(ModuleStateDriver.java:387)
    at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
    at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:215)
    at weblogic.application.internal.flow.ModuleStateDriver.deactivate(ModuleStateDriver.java:141)
    at weblogic.application.internal.flow.ScopedModuleDriver.deactivate(ScopedModuleDriver.java:206)
    at weblogic.application.internal.flow.ModuleListenerInvoker.deactivate(ModuleListenerInvoker.java:261)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$2.previous(DeploymentCallbackFlow.java:547)
    at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
    at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:215)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:192)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:184)
    at weblogic.application.internal.BaseDeployment$2.previous(BaseDeployment.java:642)
    at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:63)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
    at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Mar 5, 2012 2:47:19 AM oracle.mds.internal.lcm.logging.MDSLCMLogger log
    INFO: MBean: oracle.mds.lcm:name=MDSAppRuntime,type=MDSAppRuntime,Application=AITSCOT deregistered
    <Mar 5, 2012 2:47:19 AM PST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1330944386395' for task '0'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.NullPointerException
    at oracle.adfinternal.view.faces.unified.renderkit.UnifiedRenderKit.<init>(UnifiedRenderKit.java:129)
    at oracle.adfinternal.view.faces.unified.renderkit.UnifiedRenderKit.createRenderKit(UnifiedRenderKit.java:113)
    at oracle.adfinternal.view.faces.unified.renderkit.UnifiedRenderKitFactory.getRenderKit(UnifiedRenderKitFactory.java:59)
    at org.apache.myfaces.trinidadinternal.renderkit.CoreRenderKitFactory.getRenderKit(CoreRenderKitFactory.java:55)
    at com.sun.faces.config.processor.RenderKitConfigProcessor.addRenderKits(RenderKitConfigProcessor.java:240)
    Truncated. see log file for complete stacktrace
    Can anyone see how I need to move forward to resolve this issue?
    Thanks

  • How to ensure result of null will default to datatype of column

    I have a question
    suppose i have two tables with customers and Sales transactions
    create SalesTransactionTBL
    customerID
    ,itemID
    ,itemQuanity
    ,itemPrice
    ,orderDateTime
    create customerTbl
    customerID
    customerName
    Some customers have bought something as found in SalesTransactionTBL,
    some just registered and hand't brought anything and not found in SalesTransactionTBL
    If I left join two tables based on customerID, i will get null on many of the fields from SalesTransactionTbl
    select *
    from customerTbl c
    left join SalesTransactionTBL s
    on c.CustomerID =s.CustomerID
    what is the way to ensure the result of the null value will default to something based on the data type of the column?

    What do you mean by ...
    +what is the way to ensure the result of the null value will
    default to something based on the data type of the column?+
    Can you please describe / elaborate?
    Why do you want to ensure this?
    In Oracle, null value does not have a specific data type.
    The data type of columns themself will (by default) will be based on data type of columns from base tables.
    sudhakar@ORCL>drop table t1;
    Table dropped.
    sudhakar@ORCL>create table t1 (c1 int , s1 varchar2(20), d1 date);
    Table created.
    sudhakar@ORCL>drop table t2;
    drop table t2
    ERROR at line 1:
    ORA-00942: table or view does not exist
    sudhakar@ORCL>create table t2 (c2 int , s2 varchar2(20), d2 date);
    Table created.
    sudhakar@ORCL>
    sudhakar@ORCL>insert into t1 values(1,'AAA',sysdate-3);
    1 row created.
    sudhakar@ORCL>insert into t1 values(2,'BBB',sysdate-2);
    1 row created.
    sudhakar@ORCL>commit;
    Commit complete.
    sudhakar@ORCL>select * from t1,t2
      2  where c1 = c2(+);
            C1 S1                   D1                C2 S2                   D2
             1 AAA                  06-MAY-10
             2 BBB                  07-MAY-10
    sudhakar@ORCL>create view v1 as
      2  select * from t1,t2
      3  where c1 = c2(+);
    View created.
    sudhakar@ORCL>desc v1
    Name                                                  Null?    Type
    C1                                                             NUMBER(38)
    S1                                                             VARCHAR2(20)
    D1                                                             DATE
    C2                                                             NUMBER(38)
    S2                                                             VARCHAR2(20)
    D2                                                             DATE
    sudhakar@ORCL>

  • BIEE Result is NULL

    Hi
    I have created a some column on Answer. but the problem is that If the value is that column is 0 then it is showing nothing. And if next column is dependet on that column then the value of that column is also nothing. But In actual If value of column is null then I want 0 on that column. so that in next column is will show something. I have written some Query like that:
    Suppose one column is good_Quality and that column is depended on sone column say Reson the I have written Query like that
    FILTER(PRODUCTION_DATA.good_Quality USING (REASON_MASTER.REASON_ID = 7.00)). it is resulting correct result but is there is no column which have reason_id=7 then it is returning nothing.I want 0 on that place.
    Thanks
    Siddhartha P

    Hi
    In My case I have one column which is dependent on another column.
    suppose other column is reasonId which have value between 1-10 and I want only value which is equal to 4.
    so I have written Query like this
    CASE WHEN "reason_id=4" THEN data_column else 0 END
    It is giving me wrong answer. and this result chenges on other column like if I add this column 1st time then it shows some other result and if I add 2nd time then it is showing other result. May be you didnt get my Questiong but if you understand then just tell me.
    Sometime I have seen this type of problem that adding more then 2 times any column the result is changes.
    Thanks
    Siddhartha P

  • Html:link action html:link on results page null

    I am sure that this is something simple and small but I have been banging my head against this problem for a while now.
    I am using the <html:link> tag on my index.jsp page activates an action, retrieves a result and forwards to the homePage.jsp. The home page has a tiles layout and the results are actually in homePage_lowerLeftLevel.jsp within the homePage.jsp. Below the results I have an <html:link> tag which is identical to the tag in the index.jsp but now instead of seeing the link there is [ServletException in:/pages/homePage_leftLowerLevel.jsp] null' and if I go back to the index.jsp I get the following error�
    java.lang.NullPointerException
         at org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:313)
         at index.jspService(index.jsp:29)
         [SRC:/index.jsp]
         at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:57)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:356)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:498)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:402)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:673)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    If this <html:link> tag is not on the results page the results display perfectly. Here is my code:
    ********index.jsp**************
    <%@ page language="java" %>
    <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
    <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
    <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
    <h2 class="lowerColumnHeader">Statistics</h2>
    <table class="statisticsTable">
    <tr>
    <td>
    ICF Published Parcels:
    </td>
    <td class="results">
    <bean:write name="homePageForm" property="result" />
    </td>
    </tr>
    </table>
    <html:link page="/homePage.do?areaId=bcId">Click Me </html:link>
    *********homePage_lowerLeftLevel.jsp*************
    <%@ page language="java" %>
    <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
    <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
    <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
    <h2 class="lowerColumnHeader">Statistics</h2>
    <table class="statisticsTable">
    <tr>
    <td>
    ICF Published Parcels:
    </td>
    <td class="results">
    <bean:write name="homePageForm" property="result" />
    </td>
    </tr>
    </table>
    <html:link page="/homePage.do?areaId=bcId">Click Me </html:link>
    *****************struts_config.xml**********************
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    under the License.
    -->
    <!DOCTYPE struts-config PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"
    "http://struts.apache.org/dtds/struts-config_1_3.dtd">
    <struts-config>
    <form-beans>
    <form-bean name="homePageForm"
    type="ca.bc.gov.srm.app.pip.HomePageForm" />
    </form-beans>
    <global-exceptions>
    <!-- sample exception handler
    <exception
    key="expired.password"
    type="app.ExpiredPasswordException"
    path="/changePassword.jsp"/>
    end sample -->
    </global-exceptions>
    <global-forwards>
    <forward
    name="homepage"
    path="/homePage.do"/>
    </global-forwards>
    <action
    path="/homePage"
    name="homePageForm"
    type="ca.bc.gov.srm.app.pip.action.HomePageAction"
    scope="request"
    validate="false"
    input="/pages/homePage.jsp"/>
    </action-mappings>
    <message-resources parameter="MessageResources" />
    <plug-in className="org.apache.struts.tiles.TilesPlugin" >
    <set-property property="definitions-config"
    value="/WEB-INF/tiles-defs.xml" />
    <set-property property="moduleAware" value="true" />
    </plug-in>
    <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
    <set-property
    property="pathnames"
    value="/org/apache/struts/validator/validator-rules.xml,
    /WEB-INF/validation.xml"/>
    </plug-in>
    </struts-config>
    Thank you very much for your help

    It should be used something like this!!!
    <html:link action="myStrutsAction" paramId="user" paramName="userName"/>if the userName attribute had the value "Bob" that would produce:
    http://struts.apache.org/struts-doc-1.2.x/userGuide/struts-html.html#link

  • OneToMany resulting in null field.

    I'm attempting to implement the code example from the NetBeans magazine (Nov 2006) using NetBeans 6.0 beta 2 with glassfish-v2 -b58g. It's using a simple db structure with 3 tables:
    [Platform] ---- [JSR] 1----* [Package]
    I'm running into a problem with the 1 to many between JSR and Package.
    The end result is that the jsr field in the inserted Package row is null.
    Here's the JSR class (relevant pieces only, hopefully)
    @Entity
    public class JSR implements Serializable
    private List<Package> packages;
    @OneToMany(fetch=FetchType.EAGER, cascade=CascadeType.ALL,
    mappedBy="jsr")
    public List<Package> getPackages()
    return packages;
    public void setPackages(List<Package> packages)
    this.packages = packages;
    Here's the Package class
    @Entity
    public class Package implements Serializable
    private JSR jsr;
    @ManyToOne
    public JSR getJsr()
    return jsr;
    public void setJsr(JSR jsr)
    this.jsr = jsr;
    Here's the code from a session bean that enters the data:
    @Stateless
    public class JavaPlatformManagerBean
    implements JavaPlatformManagerRemote,
    JavaPlatformManagerLocal
    @PersistenceContext
    private EntityManager em;
    public void createPlatform(Platform platform)
    em.merge(platform);
    The code that calls the session bean (from a jsp backing bean)
    public class JPMClient
    @EJB
    private JavaPlatformManagerRemote jpm;
    public void createJavaSE()
    JSR jsr1 = new JSR(176,
    "Java SE 5 Release Contents",
    new Package ("java.lang"),
    new Package ("java.util"),
    new Package ("java.sql"));
    JSR jsr2 = new JSR(166,
    "Concurrency Utilities",
    new Package ("java.util.concurrent"));
    Platform platform = new Platform ("Java SE 5", jsr1, jsr2);
    jpm.createPlatform(platform);
    And the results of quering the table (in Derby)
    PACKAGE JSR_NUM
    java.util.concurrent NULL
    java.sql NULL
    java.lang NULL
    java.util NULL
    I know this is long winded, but what am I missing in the JSR/Package classes such that the relationship back to the JSR is null?
    Thanks for any insight.
    GregM

    Unfortunately, AMF serialization is something of a black art. I'd run into multiple issues in the past (working with Granite DS, rather than Blaze--but it's essentially the same thing). I'm not sure about Blaze, but Granite has very verbose logging available if you configure log4j to DEBUG level for org.granite. The other alternative is to attach to your Java process with a debugger (Eclipse makes this fairly automagical), download the Blaze source and configure Blaze as a project in Eclipse, add it to source lookup for your project, and step through the actual serialization to see what's going on. This is moderately complicated to set up, but priceless when it comes to debugging.

  • Change results in Inspection Point

    Dear All,
    I did the results recording using qe51n for three inspection points in one lot. i also did the force completion and the status is in 5. Now i want to change the result in one inspection point. How do i do that?
    QA22 or QE71 doesnt do it?
    Regards,
    DTD
    Edited by: TMDTDSL on Aug 17, 2009 8:18 AM

    There would be Tab called Assigned Inspection Points, when you are doing Results Recording. Click on that TAB you will get to select the Inspection POint for which you want to record again and ther on you can Unlock and change the results.
    To reach up to this, right click on the already assigned inspection point and you will have the option, as suggested above

  • ADF Bug? SelectOneChoice in af:column becomes null after refresh

    Hello,
    I just discovered a serious issue in my code (ADF 11.1.1.4/Windows 7). I was able to reproduce the issue using the following code :
    I have a table mapped to a Widget ViewObject listing some widget definitions. On of the column represents the widget type id. I use an af:selectOneChoice and the widgetTypeId is mapped to the WidgetType ViewObject (the category name is displayed)
    The page definition :
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
                    version="11.1.1.59.23" id="testFramePageDef"
                    Package="com.test.view.pageDefs">
      <parameters/>
      <executables>
        <variableIterator id="variables"/>
        <iterator Binds="WidgetView1" RangeSize="25"
                  DataControl="AppModuleDataControl" id="WidgetView1Iterator"/>
        <iterator Binds="WidgetTypeView1" RangeSize="-1"
                  DataControl="AppModuleDataControl" id="WidgetTypeView1Iterator"/>
      </executables>
      <bindings>
        <tree IterBinding="WidgetView1Iterator" id="WidgetView1">
          <nodeDefinition DefName="com.test.model.views.dashboard.WidgetView"
                          Name="WidgetView10">
            <AttrNames>
              <Item Value="WidgetId"/>
              <Item Value="WidgetTypeId" Binds="WidgetTypeId"/>
              <Item Value="Name"/>
              <Item Value="Reference"/>
              <Item Value="Description"/>
              <Item Value="StrId"/>
            </AttrNames>
          </nodeDefinition>
        </tree>
        <list IterBinding="WidgetView1Iterator" id="WidgetTypeId"
              DTSupportsMRU="true" StaticList="false"
              ListIter="WidgetTypeView1Iterator">
          <AttrNames>
            <Item Value="WidgetTypeId"/>
          </AttrNames>
          <ListAttrNames>
            <Item Value="WidgetTypeId"/>
          </ListAttrNames>
          <ListDisplayAttrNames>
            <Item Value="Name"/>
          </ListDisplayAttrNames>
        </list>
      </bindings>
    </pageDefinition>The jsf page displays the widgets name and type, which are both modifiable. I also added previous/next buttons :
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:c="http://java.sun.com/jsp/jstl/core">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:messages id="m1"/>
          <af:form id="f1">
            <af:panelStretchLayout id="ptstc">
              <f:facet name="top">
                <af:panelGroupLayout id="pglact" layout="horizontal">
                  <af:commandButton id="cbprv" action="#{userBean.previous}" text="Previous"/>
                  <af:commandButton id="cbnxt" action="#{userBean.next}" text="Next"/>
                </af:panelGroupLayout>
              </f:facet>
              <f:facet name="center">
                <af:table value="#{bindings.WidgetView1.collectionModel}" var="row"
                          rows="#{bindings.WidgetView1.rangeSize}"
                          emptyText="#{bindings.WidgetView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                          fetchSize="#{bindings.WidgetView1.rangeSize}"
                          rowBandingInterval="0"
                          selectedRowKeys="#{bindings.WidgetView1.collectionModel.selectedRow}"
                          selectionListener="#{bindings.WidgetView1.collectionModel.makeCurrent}"
                          rowSelection="single" id="t1">
                  <af:column sortProperty="WidgetId" sortable="false"
                             headerText="#{bindings.WidgetView1.hints.WidgetId.label}"
                             id="c3">
                    <af:inputText value="#{row.bindings.WidgetId.inputValue}"
                                  label="#{bindings.WidgetView1.hints.WidgetId.label}"
                                  required="#{bindings.WidgetView1.hints.WidgetId.mandatory}"
                                  columns="#{bindings.WidgetView1.hints.WidgetId.displayWidth}"
                                  maximumLength="#{bindings.WidgetView1.hints.WidgetId.precision}"
                                  shortDesc="#{bindings.WidgetView1.hints.WidgetId.tooltip}"
                                  id="it5">
                      <f:validator binding="#{row.bindings.WidgetId.validator}"/>
                      <af:convertNumber groupingUsed="false"
                                        pattern="#{bindings.WidgetView1.hints.WidgetId.format}"/>
                    </af:inputText>
                  </af:column>
                  <af:column sortProperty="WidgetTypeId" sortable="false"
                             headerText="#{bindings.WidgetView1.hints.WidgetTypeId.label}"
                             id="c1">
                    <af:selectOneChoice value="#{row.bindings.WidgetTypeId.inputValue}"
                                        label="#{row.bindings.WidgetTypeId.label}"
                                        required="#{bindings.WidgetView1.hints.WidgetTypeId.mandatory}"
                                        shortDesc="#{bindings.WidgetView1.hints.WidgetTypeId.tooltip}"
                                        id="soc1">
                      <f:selectItems value="#{row.bindings.WidgetTypeId.items}"
                                     id="si1"/>
                    </af:selectOneChoice>
                  </af:column>
                </af:table>
              </f:facet>
            </af:panelStretchLayout>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>Here is the code from my backing bean :
        private int widgetId = 1010;
        public void previous(){
          text = "action";
          AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModuleForDataControl("AppModuleDataControl");
          ViewObject vo = am.getWidgetView1();
          widgetId--;
          vo.setWhereClause("WIDGET_ID="+widgetId);
          vo.executeQuery();
        public void next(){
          text = "action";
          AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModuleForDataControl("AppModuleDataControl");
          ViewObject vo = am.getWidgetView1();
          widgetId++;
          vo.setWhereClause("WIDGET_ID="+widgetId);
          vo.executeQuery();
        }Now the issue : if I open the page, the entire widget table is displayed. I click on 'next' and the first record is displayed with correct name and type. If a do a refresh by hitting F5, the action is re-executed and the second row is displayed, also with correct name and type. But if I select 'previous', I come back to the first row but the type is now set to null(0).
    Can you tell me if this code is correct and if yes : are you able to reproduce it? / is this an ADF bug?
    Thank you
    Stephane
    Edited by: drahuks on 9 mai 2011 01:32

    Frank,
    The backing bean is session scoped.
    I tried a second solution using af:iterator and af:selectItem instead of af:selectItems :
    pageDef :
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
                    version="11.1.1.59.23" id="testFramePageDef"
                    Package="com.test.view.pageDefs">
      <parameters/>
      <executables>
        <variableIterator id="variables"/>
        <iterator Binds="WidgetView1" RangeSize="25"
                  DataControl="AppModuleDataControl" id="WidgetView1Iterator"/>
        <iterator Binds="WidgetTypeView1" RangeSize="-1"
                  DataControl="AppModuleDataControl" id="WidgetTypeView1Iterator"/>
      </executables>
      <bindings>
        <tree IterBinding="WidgetView1Iterator" id="WidgetView1">
          <nodeDefinition DefName="com.test.model.views.dashboard.WidgetView">
            <AttrNames>
              <Item Value="Name"/>
              <Item Value="WidgetTypeId"/>
            </AttrNames>
          </nodeDefinition>
        </tree>
        <table IterBinding="WidgetTypeView1Iterator" id="WidgetTypeLov">
          <AttrNames>
            <Item Value="Name"/>
            <Item Value="WidgetTypeId"/>
          </AttrNames>
        </table>
      </bindings>
    </pageDefinition>jspx :
    <af:selectOneChoice value="#{row.WidgetTypeId}"
                                        id="soc1">
                      <af:forEach var="typeNode"
                                  items="#{bindings.WidgetTypeLov.rangeSet}">
                        <af:selectItem id="sit" value="#{typeNode.WidgetTypeId}"
                                        label="#{typeNode.Name}"/>
                      </af:forEach>
                      <!--<f:selectItems value="#{row.bindings.WidgetTypeId.items}"
                                     id="si1"/>-->
                    </af:selectOneChoice>Still get an issue : when hitting F5 I get a nullpointer exception. Here is the debug :
    <ADFLogger> <begin> Execute query
    <ViewObjectImpl> <buildQuery> [1960] _LOCAL_VIEW_USAGE_com_test_model_views_dashboard_WidgetView_WidgetTypeView1>#q computed SQLStmtBufLen: 112, actual=85, storing=115
    <ViewObjectImpl> <buildQuery> [1961] SELECT WidgetType.WIDGET_TYPE_ID,         WidgetType.NAME FROM WIDGET_TYPE WidgetType
    <ViewObjectImpl> <getPreparedStatement> [1962] ViewObject: [com.test.model.views.WidgetTypeView]AppModule._LOCAL_VIEW_USAGE_com_test_model_views_dashboard_WidgetView_WidgetTypeView1 Created new QUERY statement
    <ViewObjectImpl> <bindParametersForCollection> [1963] Bind params for ViewObject: [com.test.model.views.WidgetTypeView]AppModule._LOCAL_VIEW_USAGE_com_test_model_views_dashboard_WidgetView_WidgetTypeView1
    <ViewObjectImpl> <bindParametersForCollection> [1964] For RowSet : _LOCAL_VIEW_USAGE_com_test_model_views_dashboard_WidgetView_WidgetTypeView1_0
    <ADFLogger> <addContextData> Execute query
    <ADFLogger> <addContextData> Execute query
    <ADFLogger> <addContextData> Get LOV list
    <MessageFactory> <getMessage>
    java.lang.NullPointerException
         at oracle.jbo.uicli.binding.JUCtrlListBinding.processNewInputValue(JUCtrlListBinding.java:3834)
         at oracle.adfinternal.view.faces.model.HierNodeBindingELResolver.setValue(HierNodeBindingELResolver.java:77)
         at oracle.adfinternal.view.faces.model.AdfELResolver.setValue(AdfELResolver.java:132)
         at javax.el.CompositeELResolver.setValue(CompositeELResolver.java:283)
         at com.sun.faces.el.DemuxCompositeELResolver._setValue(DemuxCompositeELResolver.java:252)
         at com.sun.faces.el.DemuxCompositeELResolver.setValue(DemuxCompositeELResolver.java:278)
         at com.sun.el.parser.AstValue.setValue(Unknown Source)
         at com.sun.el.ValueExpressionImpl.setValue(Unknown Source)
         at org.apache.myfaces.trinidad.component.UIXEditableValue.updateModel(UIXEditableValue.java:289)
         at org.apache.myfaces.trinidad.component.UIXEditableValue.processUpdates(UIXEditableValue.java:252)Stephane
    Edited by: drahuks on 10 mai 2011 04:09

Maybe you are looking for