• 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: EOClassDescription not found
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOClassDescription not found


  • Subject: Re: EOClassDescription not found
  • From: david <email@hidden>
  • Date: Sat, 13 Dec 2003 02:01:31 +0100

Hi,

Error:     java.lang.IllegalStateException: Unabled to find an
EOClassDescription for objects of class Customers
Reason:     Unabled to find an EOClassDescription for objects of class
Customers

check if you have static parts that use EOF. If so remove the code and replace it for example with lazy initialization. Things like

public myclass extends whatever {

public static EOEditingContext ec = new EOEditingContext();

...
}

is not recommended: it forces EOF to initialize maybe even before all bundles are loaded and this may produce errors which are very hard to find. Also please check is you are using jikes and if so please use version 1.15, afaik all others make problems, too.

cheers David
_______________________________________________
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.

  • Follow-Ups:
    • Re: EOClassDescription not found
      • From: David Griffith <email@hidden>
References: 
 >EOClassDescription not found (From: David Griffith <email@hidden>)

  • Prev by Date: Re: JDBC install and config on Windows 2000
  • Next by Date: What's component unroll?
  • Previous by thread: EOClassDescription not found
  • Next by thread: Re: EOClassDescription not found
  • Index(es):
    • Date
    • Thread