Hi - 

I'm using WO 4.0 on Windows NT 4.0 (using Java).

I have a simple EOModel:

Class 1: No parent, To-one relation to Class2, One String attribute
Class 2: No parent, ABSTRACT, One String attribute
Class 2A: Parent is Class2, One String attribute
Class 2B: Parent is Class2, One String attribute

If I try displaying all of the Class1 instances in a repetition, I get:

NSInternalInconsistencyException: Exception occured while evaluating
'class1list', on target:<Main 0xa95970>:
A fault was fired while another fetch was in progress and no other channels
were available to process the fault.  Either make sure not to touch faults
while fetching, or register more channels with the EODatabaseContext
(perhaps in response to the EODatabaseChannelNeededNotification). Original
Exception: _obtainOpenChannel -- EODatabaseContext 0xa83ed0: no database
channel is available

So, I register new Database channels in response to the
EODatabaseChannelNeededNotification with:

    public void databaseChannelNeededNotification(NSNotification
notification) {
        EODatabaseContext dbcontext = (EODatabaseContext)
notification.object();
        EODatabaseChannel channel = new EODatabaseChannel(dbcontext);
        if (channel != null) {
            dbcontext.registerChannel(channel);
        }

Now the application crashes (Windows exception), with this:

NSInternalInconsistencyException: Exception occured while evaluating
'class1list', on target:<Main 0xa93fb0>:
Init return a different object <Class2B: 0xaba360>

When Zombies are enabled, it turns out the crash is caused by:
*** *** Selector 'release' sent to dealloced instance 0xad2350 of class
Class2B.

Any ideas what the next step would be?

Darius Ladia
Electronic Data Systems
[EMAIL PROTECTED]

Reply via email to