1 Reply Latest reply on Oct 21, 2009 8:26 PM by sobelito1

    Data Commit throwing an error.

    RedOctober57 Level 1

      This is the way I commit data:

       

                  protected function btnCommit_clickHandler(event:MouseEvent):void
                  {
                      baa_data_svc.updt_SBJ(bAA_SBJ);
                      data_chngd = false;
                  }

       

      When I try to re-open the form after a commit (shown above) I get the error:

       

      undefined
          at mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSequenceResult()[C:\depot\DataServices\ branches\dune_rc\frameworks\projects\data\src\mx\data\DataList.as:3043]
          at mx.data::DataListRequestResponder/result()[C:\depot\DataServices\branches\dune_rc\framewo rks\projects\data\src\mx\data\DataListRequestResponder.as:153]
          at mx.data::RPCDataServiceAdapter/sendResultEvent()[C:\depot\DataServices\branches\dune_rc\f rameworks\projects\data\src\mx\data\RPCDataServiceAdapter.as:1508]
          at mx.data::RPCDataServiceAdapter/getItemResult()[C:\depot\DataServices\branches\dune_rc\fra meworks\projects\data\src\mx\data\RPCDataServiceAdapter.as:1549]
          at mx.collections::ItemResponder/result()[E:\dev\gumbo_beta2\frameworks\projects\framework\s rc\mx\collections\ItemResponder.as:129]
          at mx.rpc::AsyncToken/http://www.adobe.com/2006/flex/mx/internal::applyResult()[E:\dev\gumbo_beta2\frameworks\pr ojects\rpc\src\mx\rpc\AsyncToken.as:239]
          at mx.rpc.events::ResultEvent/http://www.adobe.com/2006/flex/mx/internal::callTokenResponders()[E:\dev\gumbo_beta2\frame works\projects\rpc\src\mx\rpc\events\ResultEvent.as:207]
          at mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[E:\dev\gumbo_beta2\framewor ks\projects\rpc\src\mx\rpc\AbstractOperation.as:244]
          at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()[E:\dev\gumbo_beta2\frameworks\ projects\rpc\src\mx\rpc\AbstractInvoker.as:318]
          at mx.rpc::Responder/result()[E:\dev\gumbo_beta2\frameworks\projects\rpc\src\mx\rpc\Responde r.as:56]
          at mx.rpc::AsyncRequest/acknowledge()[E:\dev\gumbo_beta2\frameworks\projects\rpc\src\mx\rpc\ AsyncRequest.as:84]
          at NetConnectionMessageResponder/resultHandler()[E:\dev\gumbo_beta2\frameworks\projects\rpc\ src\mx\messaging\channels\NetConnectionChannel.as:547]
          at mx.messaging::MessageResponder/result()[E:\dev\gumbo_beta2\frameworks\projects\rpc\src\mx \messaging\MessageResponder.as:235]

       

      Any idea what I'm doing wrong?  The error doesn't occur if I just repeatedly open and close the form.  TextInput populate normally.  The error only occurs if I make a change and commit the changes to the DB.  Thanks in advance.