Error upon submitting form (SWF/Flex)

Avatar

Avatar

The_Flex_Viking

Avatar

The_Flex_Viking

The_Flex_Viking

24-04-2009

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);
}
View Entire Topic

Avatar

Avatar

Jaroslav_Pavlic

Avatar

Jaroslav_Pavlic

Jaroslav_Pavlic

02-08-2009

I experience the same. The exception is thrown only sometimes and I haven't explored the reason yet. I have just a flex form with all the logic on the form. It call web services and displays data. If user wants to close it, he can click the small cross button or Submit button. In submit data method I return some static silly data. Some times it displays the message, sometimes not.

--- Jaroslav