• 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
Eomodel split and Workerthread exiting due to error, respawning with ID
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Eomodel split and Workerthread exiting due to error, respawning with ID


  • Subject: Eomodel split and Workerthread exiting due to error, respawning with ID
  • From: "Ricardo J. Parada" <email@hidden>
  • Date: Fri, 08 May 2009 10:29:02 -0400

Hi All,

I've used eomodels that point to different databases without problems before.  For example, one points to a reporting database where we run queries and then the report is stored in the live production database.  This is so that we don't impact the main database because the volume of reports gets very heavy.

Anyways, recently we split an eomodel into two so we could point one eomodel to another database that will hold some reference data.   The entities in one model have relationships with destination entities in the second model.

The problem I'm seeing is that when I set a to-one relationship which is the inverse of a to-many relationship I get this exception:

 (com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException) com.sun.jdi.InvocationException occurred invoking method.

This seems to happen within EOF inside com.webobjects.foundation.NSKeyValueCoding._KeyBinding when the setValueInBinding() method is getting called.

I can't print the stack trace because attempting to do so creates another exception and nothing prints to the console.  I also see this in the console in Eclipse while the application is running and I attempt to set the to-one relationship in the EO :

[2009-5-7 23:18:25 EDT] <WorkerThread13> <WOWorkerThread id=13 socket=null> Workerthread exiting due to error, respawning with ID 10013...

I was wondering if anyone has seen anything like this before?  Or does anybody have a clue what would cause a worker thread to exit?

I reverted to a single eomodel and the problem goes away... I'm gonna attempt the eomodel split again to see what happens.

Thanks,
Ricardo

 _______________________________________________
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: Eomodel split and Workerthread exiting due to error, respawning with ID
      • From: Kieran Kelleher <email@hidden>
  • Prev by Date: Re: No snapshot for gid _EOIntegralKeyGlobalID
  • Next by Date: Re: Eomodel split and Workerthread exiting due to error, respawning with ID
  • Previous by thread: Re: Many to Many with an ordered join table
  • Next by thread: Re: Eomodel split and Workerthread exiting due to error, respawning with ID
  • Index(es):
    • Date
    • Thread