actual parameter 2 of relief.handlers.CommonServiceProvider.call does not match formal parameter

20 views
Skip to first unread message

Ramesh S

unread,
Aug 26, 2011, 4:27:44 PM8/26/11
to relief-f...@googlegroups.com
My gb.ServiceProvider is exactly like rb.ServiceProvider  except the fist parameter is different ( a record type constructor which reads the json ). The remaining parameters are the same.
In gb.App I have var sp = new gb.ServiceProvider(postRead, gb.urls, cache, rpc, auth, iframe, input, content);

But I can't get rid of this error

/gb/service_provider.js","message":"/gb/service_provider.js:36: WARNING - actual parameter 2 of relief.handlers.CommonServiceProvider.call does not match formal parameter\nfound   : (Object|null)\nrequired: Object\n  goog.base(this, urlMap, cache, rpc, auth, iframe, input, content);
also for parameter 3,4,5.
What could be possibly wrong with my approach.
Thanks.

Ramesh S

unread,
Aug 26, 2011, 6:00:34 PM8/26/11
to relief-f...@googlegroups.com
solution - all the parameters must declared non null .
Reply all
Reply to author
Forward
0 new messages