Re: Entity Modeler SQL generation trouble

From: Mike Schrag (mschra..dimension.com)
Date: Tue Nov 13 2007 - 16:30:54 EST

  • Next message: Chuck Hill: "Re: Entity Modeler SQL generation trouble"

    > I can only assume his java files are doing something funky in a
    > static block or something?
    Oh right .. looking at that stack trace for 5 seconds:

    at edu.dartmouth.dltg.pns.eos.SourceDnd.sourceDndById(SourceDnd.java:45)
    at edu.dartmouth.dltg.pns.eos.SourceDnd.<clinit>(SourceDnd.java:20)

    You're doing EOF stuff in a static initializer. This is just a bad
    idea. You should really do this kind of initialization after your app
    loads .. NSBundle touches your classes, and it's very possible (case
    in point) that you class is touched and initialized prior to EOF being
    setup properly.

    ms



    This archive was generated by hypermail 2.0.0 : Tue Nov 13 2007 - 16:32:10 EST