3 Replies Latest reply: Jun 5, 2013 5:49 AM by Steven Davelaar-Oracle RSS

    Disconnect Application Module Upon Release and LOV NPE

    spooker
      Environment
      Jdeveloper 11.1.1.4.0
      Jheadstart Release 11.1.1.4.26

      There seems to be some sort of incompatibility with some LOVs when I enable Disconnect Application Module Upon Release.
      I have an LOV based on an updatable VO with a bind parameter.
      When I first log on the application an try to use the LOV I get a NPE when I select the row from the LOV popup and press OK.
      If I navigate to another page and return the LOV starts working correctly

      The NPE occurs in line
      keyList.add(getIterBinding().getCurrentRow().getKey());
      of LovItemBean
      getIterBinding().getCurrentRow() is null it this case.
      Do you have any hints?

      public void copyReturnValues(Map selectedRowData, Row baseRow, boolean copyToUI, boolean commaSeparated)
      {
      // first clear any dependent items, if they exist
      if (getTableBean() != null)
      {
      List keyList = new ArrayList();
      keyList.add(getIterBinding().getCurrentRow().getKey());
      getTableBean().getTable().setRowKey(keyList);
      }

      Edited by: spooker on May 31, 2013 9:28 AM