• 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
Odd NPE from deep inside EOF
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Odd NPE from deep inside EOF


  • Subject: Odd NPE from deep inside EOF
  • From: Mark Wardle <email@hidden>
  • Date: Tue, 31 Mar 2015 15:01:09 +0100

Occasionally I get the below exception from deep within EOF. It usually occurs when there has been a recent editing context save changes and then I go back to a different summary page which might use that information.

Writing on the off-chance that this is a classic example of breaking one of the EOF commandments and someone can tell me what I’m doing wrong.

Thanks

Mark

NullPointerException
 at com.webobjects.eocontrol._EOMutableKnownKeyDictionary.<init>(_EOMutableKnow
nKeyDictionary.java:106)
 at com.webobjects.eoaccess.EORelationship._foreignKeyForSourceRow(EORelationsh
ip.java:1148)
    ... skipped 4 stack elements
 at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsForSourceGlobalID(
EOObjectStoreCoordinator.java:634)
 at com.webobjects.eocontrol.EOEditingContext.objectsForSourceGlobalID(EOEditin
gContext.java:3923)
 at er.extensions.eof.ERXEC.objectsForSourceGlobalID(ERXEC.java:1268)
    ... skipped 1 stack elements
 at com.webobjects.eoaccess.EOAccessArrayFaultHandler.completeInitializationOfO
bject(EOAccessArrayFaultHandler.java:77)
 at com.webobjects.eocontrol._EOCheapCopyMutableArray.willRead(_EOCheapCopyMuta
bleArray.java:39)
 at com.webobjects.eocontrol._EOCheapCopyMutableArray.count(_EOCheapCopyMutable
Array.java:99)
 at com.webobjects.eocontrol.EOQualifier.filteredArrayWithQualifier(EOQualifier
.java:687)
 at com.eldrix.rsdb.model._Patient.encounters(_Patient.java:1361)
 at com.eldrix.rsdb.model.Patient.activeEncounters(Patient.java:482)
 at com.eldrix.rsdb.model.Patient.activeEncounters(Patient.java:472)
 at com.eldrix.rsdb.model.Patient.formsOfClass(Patient.java:653)
 at com.eldrix.news.components.patients.PatientMedication.prescriptions(Patient
Medication.java:47)
    ... skipped 13 stack elements
 at com.webobjects.directtoweb.D2WList.dataSource(D2WList.java:75)
 _______________________________________________
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: Odd NPE from deep inside EOF
      • From: Ramsey Gurley <email@hidden>
  • Prev by Date: Re: Eclipse errors
  • Next by Date: Re: Odd NPE from deep inside EOF
  • Previous by thread: Re: Eclipse errors
  • Next by thread: Re: Odd NPE from deep inside EOF
  • Index(es):
    • Date
    • Thread