• 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: Object with globalID could not be found in the database, when it is there ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Object with globalID could not be found in the database, when it is there ??


  • Subject: Re: Object with globalID could not be found in the database, when it is there ??
  • From: Owen McKerrow <email@hidden>
  • Date: Tue, 27 Nov 2007 10:53:52 +1100

Nope, not using Wonder.

Owen McKerrow
WebMaster, emlab
Ph : +61 02 4221 5517
http://emlab.uow.edu.au

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"As of tomorrow, employees will only be able to access the building using individual security cards. Pictures will be taken next Wednesday employees will receive their cards in two weeks."
- "Dilbert Quotes" Winner, Fred Dales, Microsoft Corp



On 27/11/2007, at 10:43 AM, Simon McLean wrote:

Owen -

We are experiencing the exact same random problem. I've noticed it cropping up in the logs but not had time to look into it yet, but it's definitely the same problem. Are you using Wonder ?

Simon

On 26 Nov 2007, at 23:39, Owen McKerrow wrote:

Hi All,

Im having a strange error occur randomly only on the Production version of the website ( we'll Im having 2 occur, but I'll deal with the other in another email after I have investigated it some more ). Anyways as I was saying the error only occurs on the Production version of the website and not on the Test or Dev servers or on the Dev Machines. To make matters worse it only occurs sometimes.

The error and the stack trace are listed below. From my understanding it appears to be trying to fault and object and claims that it can't be found in the database. In all instances of this bug I have done a manual check of the database and the data does exist and all the PK's and FK's are correct. Then as I said you'll come back to teh same page a little later and it will work i.e the fault will fire correctly.

OK here are some stats :

Dev Machines (Works Fine):
OS X 10.4.11
1.5.0_07
WO 5.3.3

We then do a servlet  build  for deployment running under Tomcat.

Dev Server (Works Fine):
Sun E250
Solaris 9
Java 1.4.2
Tomcat 5.5.7

Test Server  (Works Fine)
Sun T1000
Solaris 10
Java 1.5.0_06
Tomcat 5.5.7

Prod Server  (Does Not Work)
Sun V210
Solaris 9
Java 1.5.0_06
Tomcat 5.5.7

( Yes I know the Test and Prod should be the same, believe me I know. We won't go into the reasons why they are not, or why Test is on a more powerful server than Prod).

The site has been running for more than a year with this set up and no such problem have occurred, until the latest release. The main difference with this release is that there are now 2 models with relationships between the two.

Has anyone see this type of behavior before ? Any suggestions on a way forward ?

EXCEPTION:
java.lang.IllegalStateException: The object with globalID _EOIntegralKeyGlobalID[Person (java.lang.Long)8917] could not be found in the database. This could be result of a referential integrity problem with the database. An empty fault could not be created because the object's class could not be determined (e.g. the GID is temporary or it is for an abstract entity).
The object with globalID _EOIntegralKeyGlobalID[Person (java.lang.Long)8917] could not be found in the database. This could be result of a referential integrity problem with the database. An empty fault could not be created because the object's class could not be determined (e.g. the GID is temporary or it is for an abstract entity).


STACK TRACE:
at _fetchSingleObject(EODatabaseContext.java:3583)
at _objectFaultWithSnapshotRelationshipEditingContext (EODatabaseContext.java:2532)
at _fireDeferredFaultWithSourceObject(EODatabaseContext.java:2575)
at createFaultForDeferredFault(EOAccessDeferredFaultHandler.java:45)
at willReadRelationship(EOCustomObject.java:1302)
at valueInObject(_EOMutableKnownKeyDictionary.java:560)
at storedValueForKey(EOCustomObject.java:1736)
at person(_RQFGroupPersonPub.java:30)
at invoke(GeneratedMethodAccessor476.java:NA)
at invoke(DelegatingMethodAccessorImpl.java:25)
at invoke(Method.java:585)
at methodValue(KeyValueCodingProtectedAccessor.java:54)
at valueInObject(NSKeyValueCoding.java:1160)
at valueForKey(EOCustomObject.java:1559)
at valueForKey(NSKeyValueCoding.java:498)
at valueForKeyPath(NSKeyValueCodingAdditions.java:212)
at valueForKeyPath(EOCustomObject.java:1675)
at valueForKeyPath(NSKeyValueCodingAdditions.java:149)
at valueForKey(NSArray.java:1229)
at personDetailsForPub(RQFPub.java:192)
at hasSelectedPublicationAsBOW(Publication.java:2366)
at isAbleToSelect(RQFBOWSelection.java:303)




Owen McKerrow
WebMaster, emlab
Ph : +61 02 4221 5517
http://emlab.uow.edu.au

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
'The test of a first-rate intelligence is the ability to hold two opposed ideas in the mind at the same time and still be able to function.'
-F.Scott Fitzgerald,



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.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: This email sent to email@hidden
References: 
 >Object with globalID could not be found in the database, when it is there ?? (From: Owen McKerrow <email@hidden>)
 >Re: Object with globalID could not be found in the database, when it is there ?? (From: Simon McLean <email@hidden>)

  • Prev by Date: Re: Object with globalID could not be found in the database, when it is there ??
  • Next by Date: Wonder bindings design in AjaxSlider (bigger issue)
  • Previous by thread: Re: Object with globalID could not be found in the database, when it is there ??
  • Next by thread: Re: Object with globalID could not be found in the database, when it is there ??
  • Index(es):
    • Date
    • Thread