3 Replies Latest reply on Apr 9, 2013 8:48 PM by Arie Morgenstern

    Works fine with Integrated WLS, NPE when deployed

    Arie Morgenstern
      I have an application that runs fine on my Integrated WLS.
      But, when I deploy it to our production environment, I get a Null Point Exception.
              DCBindingContainer bc =
                  (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
              DCIteratorBinding sItr = bc.findIteratorBinding("Empmaster1Iterator");
              Row currentRow = sItr.getCurrentRow();
              String fName = (String)currentRow.getAttribute("FirstName");
      Curiously, the NPE occurs on the VERY first retrieval of data from the database (the same database I am using in Integrated WLS).
      The NPE occurs on the last line in the above code snippet.

      Can anyone point me in the correct direction to troubleshoot this?

      JDeveloper:
      Studio Edition Version 11.1.1.6.0
      Weblogic 10.3

      production environ:
      WebLogic Server Version: 10.3.6.0

      Thanks,
      Arie