• 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: valid global ID could not be obtained for entity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: valid global ID could not be obtained for entity


  • Subject: Re: valid global ID could not be obtained for entity
  • From: Chuck Hill <email@hidden>
  • Date: Sat, 22 Dec 2007 22:11:20 -0800

Having the full stack trace and error message would help in diagnosing this.

Chuck


On Dec 22, 2007, at 7:04 PM, Scott Lopatin wrote:


I'm having the exact same error you mention below a while back, did Chuck's suggestion of cleaning the project work? I'm on eclipse and nothing I do (removing build folder, recleaning) works. I'm still showing two PK id's trying to get created.


Has anyone else seen this and resolved this?

Much thanks,
Scott


On Feb 26, 2007, at 9:43 PM, Anthony Arthur wrote:

Is this a bug, or am I missed something? Upon a save I am getting a java.lang.IllegalStateException claiming a global ID could not be obtained. This error cropped up after I converted a join table, for which eos were not created, to an actual entity. I kept the same attributes that made up a compound PK before, but changed them to FK fields and added a separate, single field, PK. Now when I try to save I get:

java.lang.IllegalStateException: A valid global ID could not be obtained for entity named ScheduleDayProfileShiftProfile, relationship named scheduleDayProfiles, primary key dictionary {idShiftProfile = foo; idScheduleDayProfile = foobar; }.

As though it thinks the old compound PK is still defined. Has anyone ever seen this? I have, and what I did last time was remove the flattened relationships. I prefer not to do that this time. Can anyone offer another solution?

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


This email sent to email@hidden

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


This email sent to email@hidden

--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
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: valid global ID could not be obtained for entity
      • From: Scott Lopatin <email@hidden>
References: 
 >Re: valid global ID could not be obtained for entity (From: Scott Lopatin <email@hidden>)

  • Prev by Date: Re: JavaEOGenerator - EOPrototypes and EOGenericRecord?
  • Next by Date: Re: valid global ID could not be obtained for entity
  • Previous by thread: Re: valid global ID could not be obtained for entity
  • Next by thread: Re: valid global ID could not be obtained for entity
  • Index(es):
    • Date
    • Thread