Re: arrayFaultWithSourceGlobalID Error
Re: arrayFaultWithSourceGlobalID Error
- Subject: Re: arrayFaultWithSourceGlobalID Error
- From: Chuck Hill <email@hidden>
- Date: Mon, 3 Apr 2006 10:45:12 -0700
Assuming that you were not also making code changes over the
weekend :-P, I'd go with Ian's idea "keys might have got screwed up
in the DB". Did something get manually deleted or updated?
This is what I would do:
1. Figure out what page is causing this
2. Figure out what the Display Group is going to be fetching
3. Look in the model to see what relationships are involved
4. Start running SQL queries to see of something is null when it
should not be or if some FK is not matching
Or, if you can, turn on SQL logging in the deployed app to quickly
isolate the SQL causing this (the fetches immediately before this
happens).
Chuck
On Apr 2, 2006, at 8:02 PM, Ian Joyner wrote:
Very strange. The exception is null but the only exception
documented in arrayFaultWithSourceGlobalID is if the globalID is
not an EOKeyGlobalID an IllegalArgumentException is thrown. The
only other possibility is an EOTemporaryGlobalID which you only get
for a newly created object that has not been saved yet.
arrayFaultWithSourceGlobalID would be better specified as:
public NSArray arrayFaultWithSourceGlobalID (EOKeyGlobalID
globalID, String name, EOEditingContext context)
so that the problem is detected at compile time, but it's hard to
even say this is your problem. Looks like keys might have got
screwed up in the DB perhaps. Other possibilities are that the name
is not a name of a relationship, but having got something similar
with ecs a few weeks back, I'm thinking perhaps the ec has become
screwed somehow and the object where the relationship is trying to
be loaded is in a defunct editing context.
HTH
Ian
On 03/04/2006, at 12:08 PM, Owen McKerrow wrote:
Hi All,
Over the weekend one of my sites started producing the error
below, it had been happily working for quite sometime now. Its
happening in 2 different places, both related to the same table in
the DB.
Im at a lose to even know where to start tracking this one down.
Any ideas ?
OS X Server 10.3.9
WebObjects 5.2.4
OpenBase 9.1.5
Thanks
Owen McKerrow
WebMaster, emlab
Ph : +61 02 4221 5517
http://emlab.uow.edu.au
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - -
People who prefer typing to pointing then seem to prefer acronyms
to save typing :-)
-Denis Stanton, On people using Command Line Interfaces
EXCEPTION:
null
DATE/TIME:
2006-04-02 11:50:52 Etc/GMT
STACK TRACE:
at arrayFaultWithSourceGlobalID(EODatabaseContext.java:3655)
at initializeObjectRowEntityEditingContext(EODatabaseContext.java:
2432)
at initializeObject(EODatabaseContext.java:3725)
at initializeObject(EOObjectStoreCoordinator.java:646)
at initializeObject(EOEditingContext.java:3744)
at initializeObjects(EODatabaseChannel.java:479)
at _objectsWithFetchSpecificationEditingContext
(EODatabaseContext.java:3231)
at objectsWithFetchSpecification(EODatabaseContext.java:3337)
at objectsWithFetchSpecification(EOObjectStoreCoordinator.java:539)
at objectsWithFetchSpecification(EOEditingContext.java:4053)
at fetchObjects(EODatabaseDataSource.java:633)
at fetch(WODisplayGroup.java:2191)
at qualifyDataSource(WODisplayGroup.java:2575)
at <init>(manageReserchers.java:58)
at newInstance0(NativeConstructorAccessorImpl.java:NA)
at newInstance(NativeConstructorAccessorImpl.java:39)
at newInstance(DelegatingConstructorAccessorImpl.java:27)
at newInstance(Constructor.java:274)
at instantiateObject(_NSUtilities.java:575)
at _componentInstanceInContext(WOComponentDefinition.java:488)
at componentInstanceInContext(WOComponentDefinition.java:594)
at pageWithName(WOApplication.java:1954)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40sportstec.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
--
Coming in 2006 - an introduction to web applications using WebObjects
and Xcode http://www.global-village.net/wointro
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