• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
LazyGenericRecordBinding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LazyGenericRecordBinding


  • Subject: LazyGenericRecordBinding
  • From: Frédéric JECKER <email@hidden>
  • Date: Fri, 08 Feb 2008 14:24:24 +0100

Hi,

I handle deep object graphs and sometimes, coming from nowhere I run into LazyGenericRecordBinding errors:

[2008-02-08 14:01:29 CET] <WorkerThread4> java.lang.NullPointerException
at com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1293)
at com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:560)


What exactly are these  and what are the best practices to avoid them?

After further testing I noticed that it seems that some properties cannot be read or worse, not loaded as expected.
A simple sysout of the property in cause solves the problem....


Thanks for your help

FJ

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: LazyGenericRecordBinding
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Store (large) images inside or outside database?
  • Next by Date: WOCheckBox to my instance
  • Previous by thread: Re: Store (large) images inside or outside database?
  • Next by thread: Re: LazyGenericRecordBinding
  • Index(es):
    • Date
    • Thread