Zend AMF throwing InvocationTargetException

Hi,

I am trying to make a service call to a php function from flex, through Zend AMF. Most of the functions get called fine, but for one particular function, it throws the following exception:

InvocationTargetException:There was an error while invoking the operation. Check your operation inputs or server code and try invoking the operation again.

Reason: Fatal error: Call to a member function getInvokeArguments() on a non-object in D:\wamp\www\ZendFramework\library\Zend\Amf\Server.php on line 328

I am not able to debug through this - has anyone faced any issue like this before, or have any ideas how this can be debugged?
shenoyroopeshAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ray PaseurCommented:
Call to a member function xxx() on a non-object usually means that the object was not instantiated correctly, or the code has a simple programming error.  You can install this and run it to see the sort of thing that causes this error.  The underlying cause of the error is that whatever object was supposed to have the getInvokeArguments() method was broken or missing.  


<?php // RAY_expected_error.php
error_reporting(E_ALL);

// CREATE A NON-OBJECT
$foo = 'bar';

// WARNING IF WE TRY TO USE WITH AN ITERATOR
foreach ($foo as $lump)
{
   /* STUFF */
}
// FATAL ERROR IF WE TRY TO USE A NON-OBJECT WITH OOP NOTATION
$thing = $foo->baz();

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CyanBlueCommented:
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Flex

From novice to tech pro — start learning today.