• 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
Strange EOF exception
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange EOF exception


  • Subject: Strange EOF exception
  • From: Ben Ketteridge <email@hidden>
  • Date: Thu, 22 Jan 2004 15:37:35 +0000

How many times have we had that subject :(

Using WO5.2.2, JDK 1.4.1 on Win2K/XP we are getting this exception:

java.lang.NullPointerException
at com.webobjects.eocontrol.EOEditingContext._setRecordIsInitialized(EOEditingContext.java:2592)
at com.webobjects.eocontrol.EOEditingContext._clearOriginalSnapshotAndInitializeRec(EOEditingContext.java:2584)
at com.webobjects.eocontrol.EOEditingContext.didSaveChanges(EOEditingContext.java:3000)
at com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3156)
at SCMiEditingContext.saveChanges(SCMiEditingContext.java:23)
at Message.commit(Message.java:466)



Does anyone have any idea how this might be caused?


In case it's relevant, SCMiEditingContext inherits from EOEditingContext and does nothing more than override saveChanges, thus:


public void saveChanges( ) {
try {
super.saveChanges( );
} catch ( EOGeneralAdaptorException egae ) {
CoreLogger.println( "++++ SCMiEditingContext.saveChanges( ): caught EOGeneralAdaptorException " + egae );
egae.printStackTrace( );


        TransactionManagement.checkForContention( egae );

        // We don't know what caused this exception, propagate up to client.
        throw egae;
    }
}

--
Kind Regards
Ben.

Dr Ben Ketteridge
email@hidden

Team Leader,
ProAct International,
PO Box 100, Denbigh, UK.
Tel: 01745 817161 ext. 322
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Is the digest working?
  • Next by Date: RE: Strange EOF exception
  • Previous by thread: Is the digest working?
  • Next by thread: RE: Strange EOF exception
  • Index(es):
    • Date
    • Thread