07-15-2011 08:24 PM
blackberry.transport.makeAsyncCall keeps generating a couple of errors at load time. Here is the message in the PlayBook debugger:
TypeError: Result of expression 'response' [null] is not an object.
I'm not sure what is triggering it since it's part of WebWorks and not our apps. Is there a way to find out?
Solved! Go to Solution.
07-16-2011 04:06 AM
Yes, even I get the same error in a different scenario. This happen when a Custom Dialog is called. I get the exact same error in debugger console.
07-19-2011 03:05 PM
What are you trying to accomplish by calling the transport methods directly? They are WebWorks internal and need their parameters to be set up. Are you debugging on a desktop or directly off a PlayBook?
You can see what the existing APIs do in the existing source: https://github.com/blackberry/WebWorks-TabletOS/bl
07-19-2011 03:10 PM
07-20-2011 09:48 AM
Let me know if that resolves the issue.
<WebWorks Install Directory>\bbwp\ext\<Offending API>\js\common\<API Name>_dispatcher.js
07-20-2011 11:27 PM
07-20-2011 11:36 PM
Will both the functionalities transport.makeSyncCall and transport.makeAsyncCall behave in the same manner? I don't feel that is the case since one is for making an asynchronous call and other one is not. So will it not tamper the normal workflow.
The function definitions can be found at directory bbwp\AirAppTemplates\src\WebWorksApplicationShared
07-21-2011 12:24 PM
07-21-2011 12:54 PM
07-21-2011 02:07 PM