6 Replies Latest reply: Jan 31, 2012 11:46 AM by ittim RSS

    NullPointerException with rollback transaction

    ittim
      Hi guys,

      i work with jdeveloper 11.1.1.1.0

      I have 1 master-detail updateable View based on 2 entities (one for the master, one the detail)

      There are present in the same time on a jsff page.

      I drop the rollback built-in method action of the corresponding AM on the bindings of the page :

      <action id="rollbackMonEquipe" InstanceName="MonEquipeDataControl"
      DataControl="MonEquipeDataControl" RequiresUpdateModel="false"
      Action="rollbackTransaction"/>

      Then in a backingBean i call it and execute it :

      public void unsaveChanges(ActionEvent actionEvent) {

      /* On annule les modifications */
      ELHelper.getOperationBinding("rollbackMonEquipe").execute();
      }

      ELHelper is an utility class to get bindings (it works)...

      I have a NullPointerException with message = null

      Anybody encounters with case?... NullPointerException on rollback built-in method use..

      A solution even a workaround will help,

      Thanks