5 Replies Latest reply on Jan 2, 2013 7:42 AM by Jack Freudenheim

    Error upon submitting form (SWF/Flex)

    The Flex Viking Level 1

      I often get this error upon submitting a SWF(Flex) LC form.  The workflow proceeds just fine, but it acts like Workspace is having an issue cleaning up.  Does anyone have any experience with what this is?

       

       

      TypeError: Error #1009: Cannot access a property or method of a null object reference.

      at MethodInfo-12904()

      at lc.core::DefaultResponder/fault()

      at lc.core::Token/callFaultHandlers()

      at lc.core::Manager/handleFault()

      at lc.core::Manager/handleFaultEvent()

      at MethodInfo-2828()

      at lc.core::DefaultResponder/fault()

      at mx.rpc::AsyncToken/http://www.adobe.com/2006/flex/mx/internal::applyFault()

      at mx.rpc.events::FaultEvent/http://www.adobe.com/2006/flex/mx/internal::callTokenResponders()

      at mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()

      at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()

      at mx.rpc::Responder/fault()

      at mx.rpc::AsyncRequest/fault()

      at NetConnectionMessageResponder/statusHandler()

      at mx.messaging::MessageResponder/status()

       

       

      This is my method that submits the form.
      private function OnAllDocumentsUploaded(event:Event):void {
        status_box.Flash("The DCF is being submitted to the server for processing!");

        // remove any Rejections
        delete form_data.Role.Rejected;

        lcConnector.setSubmitData(form_data);
      }