Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Error upon submitting form (SWF/Flex)

The_Flex_Viking
Level 4
Level 4

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);
}
0 Replies
The_Flex_Viking
Level 4
Level 4

In looking a the log, it appears this error pops up client side when I see the following server side error.

com.adobe.idp.taskmanager.dsc.client.task.TaskNotRunningException: task for task ID = 7315 is not active.

It's like the task is completed on the server before the client has finished.

Jasmin_Charbonn
Level 10
Level 10

Do you get that everytime you try to submit your Flex form?

Jasmin

The_Flex_Viking
Level 4
Level 4

No, I don't. It's intermittent. I thought it perhaps happened when I threw up a <mx:Box> just before data submission to let them know the data was being submitted, but that's not it.

My fear is there is something I am leaving hanging, but there isn’t enough documentation on writing Flex forms for LC to really know what that might be.

I can't imagine what would be trying to talk to the task after the form has been closed.

Jaroslav_Pavlic
Level 4
Level 4

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

Jack_Freudenhei
Level 1
Level 1

Was this issue ever resolved? I am also experiencing this intermittently on a flex-based workspace application.