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

Re: Odd NPE from deep inside EOF


  • Subject: Re: Odd NPE from deep inside EOF
  • From: Mark Wardle <email@hidden>
  • Date: Thu, 28 Jan 2016 11:04:04 +0000

Last year, I had an intermittent exception thrown seemingly at random. Something odd is happening from deep within EOF and it isn’t easily reproducible as far as I can tell. 

I now have the full stack trace. Does this look familiar to anyone?

Best wishes,

Mark

java.lang.NullPointerException
  at com.webobjects.eocontrol._EOMutableKnownKeyDictionary.<init>(_EOMutableKnownKeyDictionary.java:106)
  at com.webobjects.eoaccess.EORelationship._foreignKeyForSourceRow(EORelationship.java:1148)
  at com.webobjects.eoaccess.EODatabaseContext._followToManyRelationshipWithFetchSpecification(EODatabaseContext.java:2497)
  at com.webobjects.eoaccess.EODatabaseContext._followFetchSpecification(EODatabaseContext.java:2636)
  at com.webobjects.eoaccess.EODatabaseContext._batchFetchRelationshipForSourceObjectsEditingContext(EODatabaseContext.java:3734)
  at com.webobjects.eoaccess.EODatabaseContext.batchFetchRelationship(EODatabaseContext.java:3816)
  at er.extensions.eof.ERXEOAccessUtilities.batchFetchRelationship(ERXEOAccessUtilities.java:1913)
  at er.extensions.eof.ERXDatabaseContextDelegate.doFetch(ERXDatabaseContextDelegate.java:781)
  at er.extensions.eof.ERXDatabaseContextDelegate.batchFetchToManyFault(ERXDatabaseContextDelegate.java:669)
  at er.extensions.eof.ERXDatabaseContextDelegate.databaseContextShouldFetchArrayFault(ERXDatabaseContextDelegate.java:391)
  at sun.reflect.GeneratedMethodAccessor81.invoke(null:Unknown)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:483)
  at com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:122)
  at com.webobjects.foundation._NSDelegate._perform(_NSDelegate.java:223)
  at com.webobjects.foundation._NSDelegate.perform(_NSDelegate.java:163)
  at com.webobjects.eoaccess.EODatabaseContext._fireArrayFault(EODatabaseContext.java:4236)
  at com.webobjects.eoaccess.EOAccessArrayFaultHandler.completeInitializationOfObject(EOAccessArrayFaultHandler.java:77)
  at com.webobjects.eocontrol._EOCheapCopyMutableArray.willRead(_EOCheapCopyMutableArray.java:39)
  at com.webobjects.eocontrol._EOCheapCopyMutableArray.count(_EOCheapCopyMutableArray.java:99)
  at com.webobjects.eocontrol.EOSortOrdering._sortUsingKeyOrderArray(EOSortOrdering.java:185)
  at com.webobjects.eocontrol.EOSortOrdering.sortedArrayUsingKeyOrderArray(EOSortOrdering.java:249)
  at com.eldrix.rsdb.model._Patient.addresses(_Patient.java:748)
  at com.eldrix.rsdb.model.Patient.addressForDate(Patient.java:289)
  at com.eldrix.rsdb.model.Patient.currentAddress(Patient.java:277)



On 31 Mar 2015, at 22:55, Mark Wardle <email@hidden> wrote:

Thanks Ramsey. Have committed the properties change (yes I did have cleanup=true) so I’ll wait until it happens again! Intermittent and difficult to fathom!

Mark
On 31 Mar 2015, at 17:31, Ramsey Gurley <email@hidden> wrote:

er.extensions.stackTrace.cleanup=true


 _______________________________________________
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: Chuck Hill <email@hidden>
  • Prev by Date: Re: Instance becomes unresponsive after 12 hours
  • Next by Date: Re: Odd NPE from deep inside EOF
  • Previous by thread: Re: Instance becomes unresponsive after 12 hours
  • Next by thread: Re: Odd NPE from deep inside EOF
  • Index(es):
    • Date
    • Thread