Hi Brennan,

 

Do you have a stack trace for that NullPointerException?  That would help us diagnose that problem.  

 

This error from the link you sent:

 

[RPC Fault faultString="Page request made for item with id =
'{infoId=1}'. The item was not in the cache and the adapter's get
method failed to return the item for destination = iad.info that is
expected to be in the requested page." faultCode="Server.Processing"
faultDetail="null"]

 

is not from a NullPointerException though.  It occurs when we go to retrieve the lazy loaded item which has “infoId=1” and the getItem method is returning null.  Since previously you returned a ClientVO which had its Info property set to a ClientInfoVO that had infoId=1, we would expect to have this method return a valid ClientInfoVO instance.

 

Jeff

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of dreuimar
Sent: Thursday, July 27, 2006 7:26 AM
To: [email protected]
Subject: [flexcoders] FDS NullPointerException

 

Hi everyone,

I had a problem the other day with lazy loading using a Java backend.
Using the debugger and throwing Java exceptions, I've narrowed it down
to a NullPointerException.

Anyone know anything about how to overcome this? I'm guessing what's
happening is that a null value is being returned when getItem() is
called rather than a value object.

Here is more information:
http://groups.yahoo.com/group/flexcoders/message/44968

Any help would be greatly appreciated!

Thanks,
Brennan

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to