Hello there,

in my latest log, there is (thrice) a NPE at

  at 
er.extensions.eof.ERXDatabaseContextDelegate.batchFetchToOneFault(ERXDatabaseContextDelegate.java:714)

Looks like it's here:

===
        private synchronized boolean batchFetchToOneFault(EODatabaseContext 
dbc, AutoBatchFaultingEnterpriseObject eo) {
                if(fetchingToOne.canEnter(dbc)) {
                        try {
                                EOGlobalID sourceGID = 
eo.batchFaultingSourceGlobalID();
                                String key = eo.batchFaultingRelationshipName();
                                if(sourceGID != null && key != null) {
                                        EOEditingContext ec = 
eo.editingContext();
                                        AutoBatchFaultingEnterpriseObject 
source = (AutoBatchFaultingEnterpriseObject) ec.faultForGlobalID(sourceGID, ec);
                                        EOEntityClassDescription cd = 
(EOEntityClassDescription)source.classDescription(); // 714
...
===

Looks like 'source' must have been null. Can faultForGlobalID return a null?!? 
When would that happen?

Thanks,
OC


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to